[osg-users] fails compilation on linux (Ubuntu Feisty Fawn)
stud_info2 at yahoo.de
Tue Sep 11 07:13:01 PDT 2007
yes you are right.
I attached a patch which should correct this.
Robert, could you please merge it.
Rafa you could just use this file, until it is merged
--- Rafa Gaitan <rafa.gaitan at gmail.com> schrieb:
> Hi Robert,
> I'm really curious in the error I'm getting trying
> to compile
> svn version:
> 'GL_SAMPLER_1D_ARRAY_EXT' was not declared in this
> 'GL_SAMPLER_2D_ARRAY_EXT' was not declared in this
> 'GL_SAMPLER_1D_ARRAY_SHADOW_EXT' was not declared in
> this scope
> 'GL_SAMPLER_2D_ARRAY_SHADOW_EXT' was not declared in
> this scope
> following the headers.. I found that
> and the others are defined inside GL2Extensions, but
> only if
> GL_VERSION_2_1 is not defined. Seeing in the GL
> headers of
> my system I have realized that GL_VERSION_2_1 is
> defined in
> /usr/include/GL/glext.h.. so, those defines are
> never created.
> I thought that if my system support 2.1 version of
> OpenGL the
> defines should be defined there.. but is not my
> case. Has anyone
> report similar problems?. Maybe is required to add
> checks before define this inside Uniform header, but
> I don't
> know how is the better way to solve it.
> Rafael Gaitán Linares
> Instituto de Automática e Informática Industrial
> Ciudad Politécnica de la Innovación
> Universidad Politécnica de Valencia
> > _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
Yahoo! Clever: Sie haben Fragen? Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 19000 bytes
More information about the osg-users