[osg-users] Android osgPlugins

Jan Ciger jan.ciger at gmail.com
Fri Apr 24 01:00:36 PDT 2015

On Fri, Apr 24, 2015 at 12:09 AM, Christian Kehl <Christian.Kehl at uni.no>

> just switching the -DOPENGL_PROFILE flag to GLES2 did have no effect
> on the error. So, I added the old flags to enforce GLES2 built.
> successfully.

Um, if you force the OSG build to be done using GLES2 I think the
osgAndroid code will not work correctly (different way of handling
shaders). That warning in the README is not there for fun.

The real question is why you are getting those compilation errors with
GLES1. I have checked my old NDK r8d and I don't have those declarations
(glDouble, the matrix functions using doubles) neither. That looks like an
error in the OSG headers, because those things are not supported in OpenGL
ES 1 so the code shouldn't be trying to compile them. Alternatively it
should typedef GLfloat to GLdouble.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150424/dd945aa0/attachment-0002.htm>

More information about the osg-users mailing list