On 12/6/2011 8:48 AM, Chris 'Xenon' Hanson wrote: > Well, I think OPENGL_INCLUDE_DIR is provided by FIND_PACKAGE(OpenGL), but > even when it > is found (such as when I'm building with normal full-spec OpenGL) it doesn't > show up as a > settable parameter in CMake. Is this supposed to be a setting that's exposed > in the CMake > GUI? The recipe implies it is, since it is listed with other publicly-exposed > parameters > (like OSG_GL1_AVAILABLE).
Ok, manually adding OPENGL_INCLUDE_DIR works. We've configured for egl, but at link time, it still appears to be referring to wgl functions. I found this message from two years ago: http://forum.openscenegraph.org/viewtopic.php?t=4208&view=previous where you say > I've only written EGL support for GraphicsWindowX11.cpp, and don't > have any access to a Windows or OSX system so can't directly help > there. Members of the community will have to dive in and add EGL > support to src/osgViewer/GraphicsWindowWin32.cpp to enable OpenGL ES > under Windows. Can anyone confirm -- am I missing something, or in two years nobody has built GLES on Windows and written the egl stubs for GraphicsWindowWin32? I'm going to go dissect GraphicsWindowWin32 now and see what I can learn. -- Chris 'Xenon' Hanson, omo sanza lettere. [email protected] http://www.alphapixel.com/ Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. Contracting. "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

