PDA

View Full Version : wxWidgets2.6.3 & MacOsX10.5.5




haslan
Sep 24, 2008, 11:16 AM
I'm building an application that uses wxWidgets 2.6.3 with my MacOsX 10.5.5 .
When I compile the code using GNU make I get this failure:

../src/mac/carbon/thread.cpp: In static member function ‘static OSStatus wxThreadInternal::MacThreadStart(void*)’:

../src/mac/carbon/thread.cpp:1022: error: invalid conversion from ‘long int’ to ‘void*’

../src/mac/carbon/thread.cpp:1022: error: initializing argument 2 of ‘OSStatus MPSetTaskStorageValue(TaskStorageIndex, void*)’


If someone could provide a little help .. I would be glad :-)
cheers
A



wrldwzrd89
Sep 24, 2008, 11:47 AM
What exactly are you compiling? If you're compiling the wxWidgets source code and getting that error, let the wxWidgets team know about it. It could be a bug in wxWidgets.

kainjow
Sep 24, 2008, 08:22 PM
The latest version is 2.8.9. Why not give that a try?

haslan
Sep 25, 2008, 05:21 AM
The latest version is 2.8.9. Why not give that a try?

Hi again
I'm trying to compile this library (wxWidgets2.6.3) because this version is needed by a bigger project that would not accept nothing but this :(
Maybe the fault is due to a different way in handling threads in the last MacOsX Version... does anyone knows something about that?
A.