Hi, Shouldn't line 643 and 317 in osgTerrain/GeometryPool.cpp be "GL_LINES_ADJACENCY_EXT" instead of "GL_LINES_ADJACENCT"? That's how it's defined in GLDefines.
Regards, Sverre A: On Sun, Jan 25, 2015 at 12:45 PM, Alexey Pavlov <alex...@gmail.com> wrote: > > > 2015-01-23 20:21 GMT+03:00 Mattias Helsing <helsin...@gmail.com>: > >> Hi, >> I have been seeing these errors for a while when building OSG using an >> old android NDK. I don't use it but just tried to build OSG using a >> new Toolchain file provided a few months ago. I discarded it thinking >> it was due to me using an old NDK, but if anyone is interested i post >> nightly builds once in a while to: >> http://cdash.openscenegraph.org >> >> Matters maybe you know Ray Donnelly he works on Android NDK some time > ago. We work with him on MSYS2 project now. > > I'm fix building OSG using next patch for including extra GL header: > > --- OpenSceneGraph/CMakeLists.txt.orig 2015-01-25 14:09:28.105400000 +0300 > +++ OpenSceneGraph/CMakeLists.txt 2015-01-25 14:09:37.496600000 +0300 > @@ -508,7 +508,7 @@ > SET(OPENGL_HEADER2 "" CACHE STRING "#include<> line for > additional OpenGL Headers if required") > ELSE() > SET(OPENGL_HEADER1 "#include <GL/gl.h>" CACHE STRING "#include<> > line for OpenGL Header") > - SET(OPENGL_HEADER2 "" CACHE STRING "#include<> line for > additional OpenGL Headers if required") > + SET(OPENGL_HEADER2 "#include <GL/glext.h>" CACHE STRING > "#include<> line for additional OpenGL Headers if required") > ENDIF() > ENDIF() > > > > Regards, > Alexey. > > > > > >> cheers >> Mattias >> >> On Fri, Jan 23, 2015 at 9:25 AM, Alexpux <alex...@gmail.com> wrote: >> > >> > 23 янв. 2015 г., в 10:59, Robert Osfield <robert.osfi...@gmail.com> >> > написал(а): >> > >> > Hi Alexey, >> > >> > On 22 January 2015 at 21:02, Alexey Pavlov <alex...@gmail.com> wrote: >> >> >> >> All defines are present in glext.h for mingw-w64. Wonder why they not >> >> defined. See: >> >> >> >> >> >> >> https://github.com/Alexpux/mingw-w64/blob/master/mingw-w64-headers/include/GL/glext.h >> >> >> > >> > >> > Perhaps CMake is using the Windows gl.h rather than the mingw one. >> Have a >> > look to see what CMake has selected for the path to the OpenGL headers >> - the >> > variable is OPENGL_INCLUDE_DIR:PATH. >> > >> > Here: >> > >> https://github.com/Alexpux/mingw-w64/tree/master/mingw-w64-headers/include/GL >> > You can see that «gl.h» is also present. So maybe need include not only >> this >> > header? >> > >> > Alexey. >> > >> > Robert. >> > _______________________________________________ >> > 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 >> > >> _______________________________________________ >> 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 > >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org