Hi Chistian, Could you post any modified files to osg-submissions so I can review and merge the changes.
Cheers, Robert. On 24 April 2015 at 14:18, Christian Kehl <[email protected]> wrote: > Jan Ciger <jan.ciger@...> writes: > >> >> >> >> On Fri, Apr 24, 2015 at 12:09 AM, Christian Kehl <Christian.Kehl <at> > uni.no> wrote: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. >> >> J. >> > > Hi Jan, > > so, yeah, I added in line 35 of OpenSceneGraph/include/osg/GLDefines the line: > > typedef GLfloat GLdouble; > > Now GLES1 compiles. I get back to you with news after that is done. > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

