Re: [osg-users] [Build error] GL_SEPARATE_ATTRIBS not declared

2015-01-27 Thread Robert Osfield
HI Sverre, On 27 January 2015 at 13:26, Sverre Aleksandersen sverre.aleksander...@gmail.com wrote: 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. Should really be the other way around,

Re: [osg-users] [Build error] GL_SEPARATE_ATTRIBS not declared

2015-01-27 Thread Sverre Aleksandersen
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

Re: [osg-users] [Build error] GL_SEPARATE_ATTRIBS not declared

2015-01-25 Thread Alexey Pavlov
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

Re: [osg-users] [Build error] GL_SEPARATE_ATTRIBS not declared

2015-01-23 Thread Mattias Helsing
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

Re: [osg-users] [Build error] GL_SEPARATE_ATTRIBS not declared

2015-01-23 Thread Robert Osfield
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

Re: [osg-users] [Build error] GL_SEPARATE_ATTRIBS not declared

2015-01-23 Thread Alexpux
23 янв. 2015 г., в 10:59, Robert Osfield robert.osfi...@gmail.com написал(а): Hi Alexey, On 22 January 2015 at 21:02, Alexey Pavlov alex...@gmail.com mailto:alex...@gmail.com wrote: All defines are present in glext.h for mingw-w64. Wonder why they not defined. See:

[osg-users] [Build error] GL_SEPARATE_ATTRIBS not declared

2015-01-22 Thread Alexey Pavlov
Trying build trunk with mingw-w64 get: [ 0%] Building CXX object src/osg/CMakeFiles/osg.dir/Program.obj C:/git/mingw/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osg/Program.cpp: In constructor 'osg::Program::Program()':

Re: [osg-users] [Build error] GL_SEPARATE_ATTRIBS not declared

2015-01-22 Thread Robert Osfield
Hi Alexey, I presume this is an issue with the Windows gl.h not being up to date. I have just added the missing #define to include/osg/GLDefines. Could you do an svn update and let me know if this is now fixed. Thanks, Robert. On 22 January 2015 at 14:08, Alexey Pavlov alex...@gmail.com wrote:

Re: [osg-users] [Build error] GL_SEPARATE_ATTRIBS not declared

2015-01-22 Thread Alexey Pavlov
2015-01-22 18:10 GMT+03:00 Robert Osfield robert.osfi...@gmail.com: Hi Alexey, I presume this is an issue with the Windows gl.h not being up to date. I have just added the missing #define to include/osg/GLDefines. Could you do an svn update and let me know if this is now fixed. You add

Re: [osg-users] [Build error] GL_SEPARATE_ATTRIBS not declared

2015-01-22 Thread Alexey Pavlov
2015-01-22 23:03 GMT+03:00 Alexey Pavlov alex...@gmail.com: 2015-01-22 19:02 GMT+03:00 Alexey Pavlov alex...@gmail.com: 2015-01-22 18:10 GMT+03:00 Robert Osfield robert.osfi...@gmail.com: Hi Alexey, I presume this is an issue with the Windows gl.h not being up to date. I have just

Re: [osg-users] [Build error] GL_SEPARATE_ATTRIBS not declared

2015-01-22 Thread Robert Osfield
On 22 January 2015 at 16:02, Alexey Pavlov alex...@gmail.com wrote: You add wrong define: Need - GL_SEPARATE_ATTRIBS Added - GL_INTERLEAVED_ATTRIBS Oopps... now added GL_SEPARATE_ATTRIBS as well. Now checked into svn/trunk. Robert. ___

Re: [osg-users] [Build error] GL_SEPARATE_ATTRIBS not declared

2015-01-22 Thread Alexey Pavlov
2015-01-22 19:02 GMT+03:00 Alexey Pavlov alex...@gmail.com: 2015-01-22 18:10 GMT+03:00 Robert Osfield robert.osfi...@gmail.com: Hi Alexey, I presume this is an issue with the Windows gl.h not being up to date. I have just added the missing #define to include/osg/GLDefines. Could you do