From: Joschka B. <jos...@am...> - 2008-03-26 13:04:04
|
Hey Markus, On Mar 25, 2008, at 5:42 AM, Markus Rollmann wrote: > Hi, > > Joschka Boedecker wrote: >> On Mar 24, 2008, at 3:19 PM, Yuan Xu wrote: > [...] >> * I had conflicting typedefs in /usr/local/include/ode/config.h and >> a system header (again, this was no problem in Tiger). I didn't >> know an elegant workaround for the problem right away, so I had to >> comment out the 'typedef unsigned short uint32' in the ODE config >> header; this way, the code compiles, but this hack is -- of course >> -- not satisfactory :-( Does anybody have a good idea how to >> prevent this conflict? > > If the problem is caused by #defines then updating the physicsserver/ > odewrapper.h for MacOS is the right place to put the fix. > > A typedef in the ode config file can not be modified directly via > the preprocessor. But you could rename the offending typedef via the > preprocessor like '#define uint32 dummy' in the odewrapper before > inlcuding ode.h (be sure to undefine uint32 after the include) Great, this worked, thanks :-) Good luck with the win32 stuff! Cheers, Joschka |