HI Stephan,

You don't mention which version of the OSG you are using.  I would strongly
recommend using svn/trunk or latest 3.3.x developer release as this
contains various updates to help with building against GLES and other GL
targets.  In particular the cmake build system now has a new OPENGL_PROFILE
variable that you can set to the appropriate OpenGL type and it'll set up
the rest of the CMAKE variables associated with that target - so no long
winded settings like you published in your first post.  Instead you can do:

   cmake -DOPENGL_PROFILE=GLES2

You may still need to adjust the paths to the GLES libs if they aren't
found by default, but you should further along the way.

Another advantage of using svn/trunk is if you find a build issue on your
particular platform target we can get a fix checked in more readily.

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

Reply via email to