Hi Robert and Stephan --

I'm building svn head (r10677) with VS 2005 on WinXP, and I see GL_TEXTURE0 come up as an undefined symbol on line 80 of GLBeginEndAdapter, every time that file is included (which seems to be just about everywhere).

Thinking the issue might be related to this change, I backed out to r10675, but I still get the same errors.

On Windows, GL_TEXTURE0 is #defined in osg/State, but explicitly including that header does not resolve the issue. Odd.

Paul Martz
Skew Matrix Software LLC
_http://www.skew-matrix.com_ <http://www.skew-matrix.com/>
+1 303 859 9466



Robert Osfield wrote:
Hi Stephan,

See the attached file for a working fix -- but I am not sure if this is
a correct fix.

This fix is indeed correct, now merged and submitted to svn/trunk.

FYI, I'm just been making changes OpenSceneGraph/CMakeList.txt and
src/osg/Config.in that result in changes to the auto generated
include/osg/Config (these changes are now checked into svn/trunk).
These changes will effect the build under your XCode projects, as the
additional #defines to Config will enable/disable various OpenGL
features relevant to each OpenGL target, and without any of the
appropriate defines you'll find much of the OSG's OpenGL code a non
op...  So you'll need to provide a default Config file that has the
appropriate #define's in place.    I've attached the Config file that
will be appropriate to OpenGL 1.x and 2.x targets and would probably
be a reasonable default for the XCode side.

Cheers,
Robert.


------------------------------------------------------------------------

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to