2015-01-22 19:02 GMT+03:00 Alexey Pavlov <[email protected]>:
>
>
> 2015-01-22 18:10 GMT+03:00 Robert Osfield <[email protected]>:
>
>> 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_ptr<osgTerrain::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_ptr<osg::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 <[email protected]> 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
>>> [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
>>
>>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org