[patch] Fix OS X Compilation

Olly Betts olly at survex.com
Fri Feb 27 08:03:35 GMT 2009


On Fri, Feb 27, 2009 at 01:02:15AM -0500, David A. Riggs wrote:
> Attached, please find an 'svn diff -u' patch that should fix
> compilation and build on Mac OS X (tested only with OS X 10.5.5, wxMac
> 2.8.9). The only significant code change is that it renames the Point
> class to SurvexPoint to avoid a naming conflict. Apply to the
> survex-1_1 svn branch.

Thanks for the patch.

But is there no way we can stop wx or OS X from polluting our namespace
here?

> I've also built an Aven.app on my local machine, but have not included
> it in this patch yet, as it's got a few more kinks to iron out - I'll
> have time to look at it again early next week, and will send another
> patch then.

There's code in "buildmacosx.sh" to construct an Aven.app.  I don't
have OS X, so I've no way of testing that it still works though.

Cheers,
    Olly



More information about the Survex mailing list