I'm having problems building wxWidgets 3.0.0 (Carbon) for Mac OS 10.4.
wxPython uses a 10.4 based build too so it must be possible to
get this done.
I'm on Mac OS 10.6 using the 10.6 SDK. I deliberately didn't update
to a newer Mac OS version because Apple is notorious for removing
APIs from their newer SDKs and I think 10.6 is the last SDK that
still has everything in it, even from the old QuickDraw days, etc.
But this leads to the following error from 'configure':
checking for std::wstring in <string>... no
checking if std::basic_string<wchar_t> works... no
configure: error: Can't use --enable-std_string without std::wstring or std::basic_string<wchar_t>
Adding --disable-std_string to the 'configure' line then successfully generates
makefiles but on saying 'make' I immediately get the following error:
../include/wx/defs.h:1209: error: conflicting types for "ssize_t"
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/string.h:70: error: previous declaration of "ssize_t" was here
In file included from ../src/regex/regcomp.c:2179:
../src/regex/regc_locale.c: In function "element":
../src/regex/regc_locale.c:707: warning: implicit declaration of function "wcslen"
../src/regex/regc_locale.c:707: warning: implicit declaration of function "wcsncmp"
So is there any guide on how to build wxWidgets 3.0.0 for 10.4? It must
be possible as wxPython also uses a 10.4 targetted build....
Il 04/01/2014 22:20, Andreas Falkenhahn ha scritto:
> I'm having problems building wxWidgets 3.0.0 (Carbon) for Mac OS 10.4.
> wxPython uses a 10.4 based build too so it must be possible to
> get this done.
In wx-dev there are messages dated 2012-05-18 saying that the minimum
requirement for OS X is 10.5. Below I copied one of the messages.
> Are we still targeting 10.4 compatibility for the wxOSX-Carbon port or
> has it been bumped up to 10.5 too? I ran into some compilation errors
> the other day when using the 10.4 SDK, some unknown k constant values
> IIRC. (I thought I saved the errors but I can't find them now...)
10.5 is the minimum requirement for both osx variants
> On 04.01.2014 at 23:06 Stefan Csomor wrote:
>>> So is there any guide on how to build wxWidgets 3.0.0 for 10.4? It must
>>> be possible as wxPython also uses a 10.4 targetted build....
>> I'm only supporting 10.5+ for 3.0
> Ok, then it's maybe a typo that wxPython runs on 10.4 as well.
Not a typo, the paragraph just hasn't been updated since 10.4 was