Build problems (SVN HEAD / wxMac)

Stefan Csomor csomor at advancedconcepts.ch
Wed Apr 23 07:48:46 PDT 2008


Hi

On 22.04.08 23:41, "Thomas Hauk" <thauk at novuscom.net> wrote:

> I have an Xcode project that compiles against the 10.4 SDK, with wx
> 2.8.7, and my client has not had any problems launching the
> application under 10.4.
> 
> Can you elaborate more?
> 
> Also, can you define exactly what should be done to get a project to
> compile, if not link against libiconv?

if you compile against 10.4.SDK then there is not problem, since the
libiconv there is upwards compatible to 10.5

if you use HEAD against 10.5.SDK then there is no problem for xcode builds
because in include/mac/config_xcode.h I've undefined HAVE_ICONV

if you want to build wx configure based against a 10.5.SDK and want to use
the resulting binary on 10.4 then you must add a -with-iconv=no to configure

if you really want to build 2.8 xcode against 10.5.SDK and want to use the
resulting binary on 10.4 then you must modify
include/mac/carbon/config_xcode.h (different path!) and change

#define HAVE_ICONV 1

to

/* #undef HAVE_ICONV */

I hope this has cleared things up ...

Best,

Stefan






More information about the wx-users mailing list