HOWTO compile examples from "Essential Math for Games and Interactive Applications" on OS X 10.6

I just spent a hour and a half trying to figure out how you compile the example projects from the book Essential Math for Games and Interactive Applications (second edition) on Mac OS X 10.6. It seems that the new version of GCC included with 10.6 is stricter when it comes to following the C++ standard. For the posterity, here is how you compile them now:

Step 1

On line 204 of /common/IVGraphics/OGL/IvRenderOGL.cpp, change GLvoid to void.

Step 2

When compiling, use the following command instead of the one provided in README_MAXOS.txt:

make CFLAGS_EXT='-fvisibility-inlines-hidden -ffriend-injection' PLATFORM=OSX


Anonymous Anonyymi totesi...

Are you still looking for the book 2001 kanji by De Roo? Mail me: pacasals (at) telenet.be Sorry, I couldn't find your contact information otherwise.

4:46 ip.  

Lähetä kommentti

<< Etusivulle