Hi Akhtar, On Thu, Jul 1, 2010 at 3:39 AM, Akhtar Shamim <[email protected]> wrote: > I am trying to compile OSG as a static library. I am using the latest > updates (as of 29th June, 2010) from SVN. I used CMAKE to create the Visual > Studio solution file. I think all the setups are fine. However, I am unable > to compile one file which is GLStaticLibrary.cpp. > > It can't find any of the function declarations, like glActiveTexture and the > rest. Did anyone else face this problem? If yes, how do I solve it?
GLStaticLibrary is a recent addition to aid the linking of the OSG against a static version of GLES2, so the gl functions get pulled in from OpenGL headers. If you are compiling the OSG static it doesn't mean you'll need to be compiling against a static GL lib so it shouldn't be any different than compiling the OSG for dynamic. Is there any chance you are enable a build against a static GL when you shouldn't be? Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

