i just checked out the new 0.03 release. when i try to compile it i get an error ‘ofGraphics.cpp’. after some fiddling around i found out that it seems to be not necessary to write the extra code for OS X in the ‘gluTessCallback’ section. by removing the ‘#ifdef’ stuff and the OS X specific code block, i got it running again.
change
#if defined( TARGET_WIN32) || defined( TARGET_LINUX )
gluTessCallback( tobj, GLU_TESS_BEGIN, (void(CALLBACK*)())&glBegin);
gluTessCallback( tobj, GLU_TESS_VERTEX, (void(CALLBACK*)())&tessVertex);
gluTessCallback( tobj, GLU_TESS_COMBINE, (void(CALLBACK*)())&tessCombine);
gluTessCallback( tobj, GLU_TESS_END, (void(CALLBACK*)())&glEnd);
gluTessCallback( tobj, GLU_TESS_ERROR, (void(CALLBACK*)())&tessError);
#else
// xcode / osx complained, so we write it the way that makes it happy:
gluTessCallback( tobj, GLU_TESS_BEGIN, (void(CALLBACK*)(...))&glBegin);
gluTessCallback( tobj, GLU_TESS_VERTEX, (void(CALLBACK*)(...))&tessVertex);
gluTessCallback( tobj, GLU_TESS_COMBINE, (void(CALLBACK*)(...))&tessCombine);
gluTessCallback( tobj, GLU_TESS_END, (void(CALLBACK*)(...))&glEnd);
gluTessCallback( tobj, GLU_TESS_ERROR, (void(CALLBACK*)(...))&tessError);
#endif
Hmm it now looks like it is more to do with the GCC version installed.
It also doesn’t like the callback code on 10.4.10 which I think is when apple switched to GCC 4.3.
Looking for a solution but if you are getting errors in this point and you are on 10.4.10 just make sure you use the 10.5 way (first block of code) and not the 10.4 way.