Hi Peter, As Paul mentions, as you've found out the hard way, right now you have to set the flags all manually to disable/enable the appropriate parts of the OSG to build against the different GL targets.
My plan has been to test out the ports as flexible as possible - trying out GLES paths on standard GL for instance, and this phase of development is now near completion as the ports are now near complete. Then in the completion phase move generating all the settings for each for the targets automatically - i.e. the default selection of options is done by Cmake for you once you decide which GL target you want to use. This week I should be able to get to tackling these CMake changes, and they should make it in for the next 2.9.7 dev release. Cheers, Robert. On Sat, Dec 12, 2009 at 10:45 PM, Peter Bear <th3fly...@gmail.com> wrote: > Just for the search function :) > > If you get errors like this: > > error C2039: 'glBegin' : is not a member of '`global namespace'' > error C3861: 'glBegin': identifier not found > error C2039: 'glEnd' : is not a member of '`global namespace'' > error C3861: 'glEnd': identifier not found > > turn off everything but GL3 with the gl available options to fix it. > > > Cheers, > Peter > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=21376#21376 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org