[osg-users] undeclared identifier for Glenum's in OSX

Bruno Oliveira bruno.manata.oliveira at gmail.com
Thu Jul 28 14:05:14 PDT 2016


Hello,

with OSG 3.4.0 from git, under OSX El Capitan, I am getting the following
undeclared OpenGL identifiers (GLEnums actually). This does not happen
under Linux Ubuntu nor Windows:

 error: use of undeclared identifier 'GL_RGBA8UI'

                        return GL_RGBA8UI;

                               ^

 error: use of undeclared identifier 'GL_RGBA16UI'

                        return GL_RGBA16UI;

                               ^

 error: use of undeclared identifier 'GL_RGBA32F'

                        return GL_RGBA32F;

                               ^

 error: use of undeclared identifier 'GL_RGB8UI'

                        return GL_RGB8UI;

                               ^

 error: use of undeclared identifier 'GL_RGB16UI'

                        return GL_RGB16UI;

                               ^

 error: use of undeclared identifier 'GL_RGB32F'

                        return GL_RGB32F;




These are the headers I include in this .cpp:


  #include <osg/Texture2D>


  #include <osg/Geometry>


  #include <osg/Shape>



  #include <osgViewer/ViewerEventHandlers>


  #include <osgGA/TrackballManipulator>



  #include <osgUtil/Optimizer>


  #include <osgDB/ReadFile>


  #include <osg/BlendFunc>


  #include <osg/Texture1D>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160728/1244c6a1/attachment-0001.htm>


More information about the osg-users mailing list