Building wxWidgets 3.0.0 for Mac OS 10.4

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Building wxWidgets 3.0.0 for Mac OS 10.4

Andreas Falkenhahn
Hi,

I'm having problems building wxWidgets 3.0.0 (Carbon) for Mac OS 10.4.
wxPython uses a 10.4 based build too[1] 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.

So here is what I tried to build for 10.4:

../configure --with-carbon --enable-monolithic --enable-unicode --disable-shared --enable-macosx_arch=i386 --with-macosx-sdk=/Developer/SDKs/MacOSX10.4u.sdk --with-macosx-version-min=10.4  CC=/Developer/usr/bin/gcc-4.2 CXX=/Developer/usr/bin/g++-4.2 LD=/Developer/usr/bin/ld

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....

Thanks!

[1] http://wxpython.org/download.php#osx 

--
Best regards,
 Andreas Falkenhahn                          mailto:[hidden email]

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: Building wxWidgets 3.0.0 for Mac OS 10.4

Fulvio Senore

Il 04/01/2014 22:20, Andreas Falkenhahn ha scritto:
> Hi,
>
> I'm having problems building wxWidgets 3.0.0 (Carbon) for Mac OS 10.4.
> wxPython uses a 10.4 based build too[1] 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.

Fulvio Senore



Message Copied:

"Hi Robin

 > 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

Best,

Stefan"

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: Building wxWidgets 3.0.0 for Mac OS 10.4

Stefan Csomor
In reply to this post by Andreas Falkenhahn
Hi

>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

Best,

Stefan

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: Building wxWidgets 3.0.0 for Mac OS 10.4

Andreas Falkenhahn
On 04.01.2014 at 23:06 Stefan Csomor wrote:

> Hi

>>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.

--
Best regards,
 Andreas Falkenhahn                            mailto:[hidden email]

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: Building wxWidgets 3.0.0 for Mac OS 10.4

Robin Dunn
Andreas Falkenhahn wrote:

> On 04.01.2014 at 23:06 Stefan Csomor wrote:
>
>> Hi
>
>>> 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
supported. ;-)


--
Robin Dunn
Software Craftsman
http://wxPython.org

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users