Hi Robert,

It does not work like that on windows. Windows by default does not come with 
gl3.h or GLcorearb.h and neither does Visual Studio, so you need to install 
extra dependencies to make the OSG GL3 or GLCORE profiles to work. Otherwise 
you get errors when you select them as an option and try to build.
This prevents people from using the GL3 profile and GL3 graphics context 
because OSG will create and report a lower context version. Also if they want 
to have no older functions and turn off the fixed function pipeline they now 
have to do it manually through multiple cmake options instead of just defining 
OPENGL_PROFILE to GL3.
So the fix I can make is change the CMake script to use the modern default 
windows GL headers which will enable people to use the GL3 profile option, and 
configure cmake to disable everything that needs to be turned off in that case. 
I can make a PR if that makes sense.

------------------------
Thank you,
--Maxim

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to