<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 24, 2015 at 12:09 AM, Christian Kehl <span dir="ltr"><<a href="mailto:Christian.Kehl@uni.no" target="_blank">Christian.Kehl@uni.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":29a" class="a3s" style="overflow:hidden">just switching the -DOPENGL_PROFILE flag to GLES2 did have no effect<br>
on the error. So, I added the old flags to enforce GLES2 built.<br>
successfully.</div></blockquote></div><br><br></div><div class="gmail_extra">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. <br><br></div><div class="gmail_extra">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.<br><br></div><div class="gmail_extra">J.<br></div><div class="gmail_extra"><br><br><br></div></div>