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

Reply via email to