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, with GLDefines providing the
GL_LINES_ADJANCY, the EXT version pre-dates GL-3.2.  I have made changes to
my local GLDefines to address this, I'm currently waiting for a clean build
to see if this change is fine.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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 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.10540 +0300
 +++ OpenSceneGraph/CMakeLists.txt 2015-01-25 14:09:37.49660 +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


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 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.10540 +0300
+++ OpenSceneGraph/CMakeLists.txt 2015-01-25 14:09:37.49660 +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


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 once in a while to:
http://cdash.openscenegraph.org

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


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 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.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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:
 
 https://github.com/Alexpux/mingw-w64/blob/master/mingw-w64-headers/include/GL/glext.h
  
 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 
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] [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()':

C:/git/mingw/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osg/Program.cpp:140:67:
error: 'GL_SEPARATE_ATTRIBS' was not declared in this scope

 _numGroupsX(0), _numGroupsY(0), _numGroupsZ(0),
_feedbackmode(GL_SEPARATE_ATTRIBS)

   ^

src/osg/CMakeFiles/osg.dir/build.make:2354: recipe for target
'src/osg/CMakeFiles/osg.dir/Program.obj' failed

make[2]: *** [src/osg/CMakeFiles/osg.dir/Program.obj] Error 1

CMakeFiles/Makefile2:249: recipe for target
'src/osg/CMakeFiles/osg.dir/all' failed

make[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2

Makefile:117: recipe for target 'all' failed

make: *** [all] Error 2



Regards,
Alexey.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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:

 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()':

 C:/git/mingw/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osg/Program.cpp:140:67:
 error: 'GL_SEPARATE_ATTRIBS' was not declared in this scope

  _numGroupsX(0), _numGroupsY(0), _numGroupsZ(0),
 _feedbackmode(GL_SEPARATE_ATTRIBS)

^

 src/osg/CMakeFiles/osg.dir/build.make:2354: recipe for target
 'src/osg/CMakeFiles/osg.dir/Program.obj' failed

 make[2]: *** [src/osg/CMakeFiles/osg.dir/Program.obj] Error 1

 CMakeFiles/Makefile2:249: recipe for target
 'src/osg/CMakeFiles/osg.dir/all' failed

 make[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2

 Makefile:117: recipe for target 'all' failed

 make: *** [all] Error 2



 Regards,
 Alexey.

 ___
 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


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 wrong define:
Need  -  GL_SEPARATE_ATTRIBS
Added  -  GL_INTERLEAVED_ATTRIBS

Regards,
Alexey.


 Thanks,
 Robert.

 On 22 January 2015 at 14:08, Alexey Pavlov alex...@gmail.com wrote:

 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()':

 C:/git/mingw/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osg/Program.cpp:140:67:
 error: 'GL_SEPARATE_ATTRIBS' was not declared in this scope

  _numGroupsX(0), _numGroupsY(0), _numGroupsZ(0),
 _feedbackmode(GL_SEPARATE_ATTRIBS)

^

 src/osg/CMakeFiles/osg.dir/build.make:2354: recipe for target
 'src/osg/CMakeFiles/osg.dir/Program.obj' failed

 make[2]: *** [src/osg/CMakeFiles/osg.dir/Program.obj] Error 1

 CMakeFiles/Makefile2:249: recipe for target
 'src/osg/CMakeFiles/osg.dir/all' failed

 make[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2

 Makefile:117: recipe for target 'all' failed

 make: *** [all] Error 2



 Regards,
 Alexey.

 ___
 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


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 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 wrong define:
 Need  -  GL_SEPARATE_ATTRIBS
 Added  -  GL_INTERLEAVED_ATTRIBS


 Get now another similar errors:

 [ 21%] Building CXX object
 src/osgWrappers/serializers/osg/CMakeFiles/osgdb_serializers_osg.dir/AudioStream.obj

 Linking CXX shared library ../../bin/libosgSim.dll

 C:/git/mingw/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osgTerrain/GeometryPool.cpp:
 In member function 'virtual osg::ref_ptrosgTerrain::SharedGeometry
 osgTerrain::GeometryPool::getOrCreateGeometry(osgTerrain::TerrainTile*)':

 C:/git/mingw/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osgTerrain/GeometryPool.cpp:317:50:
 error: 'GL_LINES_ADJACENCY' was not declared in this scope

  GLenum primitiveTypes = _useGeometryShader ? GL_LINES_ADJACENCY :
 GL_QUADS;

   ^

 C:/git/mingw/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osgTerrain/GeometryPool.cpp:
 In member function 'virtual osg::ref_ptrosg::Program
 osgTerrain::GeometryPool::getOrCreateProgram(osgTerrain::GeometryPool::LayerTypes)':

 C:/git/mingw/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osgTerrain/GeometryPool.cpp:643:60:
 error: 'GL_LINES_ADJACENCY' was not declared in this scope

  program-setParameter( GL_GEOMETRY_INPUT_TYPE_EXT,
 GL_LINES_ADJACENCY );

 ^

 [ 21%] Building CXX object
 src/osgWrappers/serializers/osg/CMakeFiles/osgdb_serializers_osg.dir/AutoTransform.obj


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




 Regards,
 Alexey.


 Thanks,
 Robert.

 On 22 January 2015 at 14:08, Alexey Pavlov alex...@gmail.com wrote:

 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()':

 C:/git/mingw/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osg/Program.cpp:140:67:
 error: 'GL_SEPARATE_ATTRIBS' was not declared in this scope

  _numGroupsX(0), _numGroupsY(0), _numGroupsZ(0),
 _feedbackmode(GL_SEPARATE_ATTRIBS)

^

 src/osg/CMakeFiles/osg.dir/build.make:2354: recipe for target
 'src/osg/CMakeFiles/osg.dir/Program.obj' failed

 make[2]: *** [src/osg/CMakeFiles/osg.dir/Program.obj] Error 1

 CMakeFiles/Makefile2:249: recipe for target
 'src/osg/CMakeFiles/osg.dir/all' failed

 make[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2

 Makefile:117: recipe for target 'all' failed

 make: *** [all] Error 2



 Regards,
 Alexey.

 ___
 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


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.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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
 an svn update and let me know if this is now fixed.

 You add wrong define:
 Need  -  GL_SEPARATE_ATTRIBS
 Added  -  GL_INTERLEAVED_ATTRIBS


Get now another similar errors:

[ 21%] Building CXX object
src/osgWrappers/serializers/osg/CMakeFiles/osgdb_serializers_osg.dir/AudioStream.obj

Linking CXX shared library ../../bin/libosgSim.dll

C:/git/mingw/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osgTerrain/GeometryPool.cpp:
In member function 'virtual osg::ref_ptrosgTerrain::SharedGeometry
osgTerrain::GeometryPool::getOrCreateGeometry(osgTerrain::TerrainTile*)':

C:/git/mingw/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osgTerrain/GeometryPool.cpp:317:50:
error: 'GL_LINES_ADJACENCY' was not declared in this scope

 GLenum primitiveTypes = _useGeometryShader ? GL_LINES_ADJACENCY :
GL_QUADS;

  ^

C:/git/mingw/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osgTerrain/GeometryPool.cpp:
In member function 'virtual osg::ref_ptrosg::Program
osgTerrain::GeometryPool::getOrCreateProgram(osgTerrain::GeometryPool::LayerTypes)':

C:/git/mingw/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osgTerrain/GeometryPool.cpp:643:60:
error: 'GL_LINES_ADJACENCY' was not declared in this scope

 program-setParameter( GL_GEOMETRY_INPUT_TYPE_EXT,
GL_LINES_ADJACENCY );

^

[ 21%] Building CXX object
src/osgWrappers/serializers/osg/CMakeFiles/osgdb_serializers_osg.dir/AutoTransform.obj



 Regards,
 Alexey.


 Thanks,
 Robert.

 On 22 January 2015 at 14:08, Alexey Pavlov alex...@gmail.com wrote:

 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()':

 C:/git/mingw/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osg/Program.cpp:140:67:
 error: 'GL_SEPARATE_ATTRIBS' was not declared in this scope

  _numGroupsX(0), _numGroupsY(0), _numGroupsZ(0),
 _feedbackmode(GL_SEPARATE_ATTRIBS)

^

 src/osg/CMakeFiles/osg.dir/build.make:2354: recipe for target
 'src/osg/CMakeFiles/osg.dir/Program.obj' failed

 make[2]: *** [src/osg/CMakeFiles/osg.dir/Program.obj] Error 1

 CMakeFiles/Makefile2:249: recipe for target
 'src/osg/CMakeFiles/osg.dir/all' failed

 make[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2

 Makefile:117: recipe for target 'all' failed

 make: *** [all] Error 2



 Regards,
 Alexey.

 ___
 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