Frederic Bouvier wrote: > It looks like the APIENTRY symbol is not defined or has been #undef'ed > somewhere. > The second guess seems the most probable, as osg/GL defines APIENTRY for non > Win32 environments, and osg/BufferObject includes osg/GL. On MSVC, I > discovered > that glut.h included by plib/pu.h #undef it. I am clueless why it is a problem > on Un*x systems.
Hmmm - near the top of glut.h I have: /* define APIENTRY and CALLBACK to null string if we aren't on Win32 */ #if !defined(_WIN32) #define APIENTRY #define GLUT_APIENTRY_DEFINED #define CALLBACK #endif And near the bottom, there is: #ifdef GLUT_APIENTRY_DEFINED # undef GLUT_APIENTRY_DEFINED # undef APIENTRY #endif So it appears to do the right thing, and then blow it away later in the file. -- Jon Stockill [EMAIL PROTECTED] ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel