Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

haslan

macrumors newbie
Original poster
Sep 24, 2008
2
0
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

macrumors G5
Jun 6, 2003
12,110
77
Solon, OH
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.
 

haslan

macrumors newbie
Original poster
Sep 24, 2008
2
0
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.