[osg-users] Compile error with svn head
robert.osfield at gmail.com
Fri Sep 7 05:55:52 PDT 2007
Your suggestion of moving the define to entirely with
include/osg/Texture should work fine, I've just applied this change am
waiting on a rebuild before submitting them.
On 9/7/07, Ulrich Hertlein <u.hertlein at sandbox.de> wrote:
> Hi all,
> I'm getting the following error:
> /home/uli/projects/osg/OpenSceneGraph/src/osg/Image.cpp: In member
> function 'void osg::Image::readImageFromCurrentTexture(unsigned int,
> bool, GLenum)':
> /home/uli/projects/osg/OpenSceneGraph/src/osg/Image.cpp:537: error:
> 'GL_TEXTURE_BINDING_2D_ARRAY_EXT' was not declared in this scope
> make: *** [src/osg/CMakeFiles/osg.dir/Image.o] Error 1
> It is defined (along with other enums) in the Texture2DArray header file
> if GL_TEXTURE_2D_ARRAY_EXT is not defined. The problem is that
> GL_TEXTURE_2D_ARRAY_EXT (without the other enums) is already in the
> Texture header file.
> The defines are not in my OpenGL header files (nvidia 100.14.11) so
> maybe this is why it bites me?!?
> I'd propose to move the defines from the Texture2DArray header file to
> the Texture header file.
> osg-users mailing list
> osg-users at lists.openscenegraph.org
More information about the osg-users