[osg-users] [build] OSG with OpenGL ES 2.0 and Angle

Andrea Pennarelli andrea.peretti at edu.unito.it
Mon Jan 23 08:36:46 PST 2017


Hi,

I'm trying to build openscenegraph with OpenGL ES 2.0 and Angle on windows, using CMake GUI and Visual Studio 2015. I've setted the CMake variables like the page trac.openscenegraph dot org /projects/osg/wiki/Community/OpenGL-ES says. I've added the OPENGL_INCLUDE_DIR as explained in the page. I've not found the OPENGL_LIBRARY so I added it too. I've setted them to point to the Angle's include folder and Angle's libGLESv2.lib and libEGL.lib, but when I generate the project Cmake returns an error, and Visual Studio don't compile.
I receive this errors:
'glDepthRangef': identifier not found	
'GL_NUM_SHADER_BINARY_FORMATS': undeclared identifier
'GL_SHADER_BINARY_FORMATS': undeclared identifier
'glShaderBinary': identifier not found
'glClearDepthf': identifier not found

I've tried to search other guides to compile in OGL ES 2.0, but I wasn't so lucky so I decided to ask in the forum.

The final goal is to compile OSG with Angle to run it on Microsoft's HoloLens.

Thank you!

Cheers,
Andrea

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70032#70032








More information about the osg-users mailing list