Hi Philippe,

Could you try removing the #define GL_ARB_vertex_buffer_object line from
the include/osg/BufferObject header to see if that allows the Qt header to
compile fine.

Robert.

On 31 January 2015 at 20:44, philippe renon <philippe_re...@yahoo.fr> wrote:

> Hi,
>
> Compilation of osg 3.2.1 against Qt 5.4.0 (mingw) was working perfectly
> fine.
>
> After switching to 3.3.3 we are seeing this compilation error :
>
> In file included from
> d:/Projects/OpenPilotTools/qt-5.4.0/5.4/mingw491_32/include/QtGui/qopengl.h:123:0,
>                  from
> d:/Projects/OpenPilotTools/qt-5.4.0/5.4/mingw491_32/include/QtOpenGL/qgl.h:39,
>                  from
> d:/Projects/OpenPilotTools/qt-5.4.0/5.4/mingw491_32/include/QtOpenGL/QGLWidget:1,
>                  from
> d:/Projects/OpenPilot/3rdparty/osg/include/osgQt/GraphicsWindowQt:17,
>                  from
> d:\Projects\OpenPilot\3rdparty\osg\examples\osgviewerQt\osgviewerQt.cpp:12:
> d:/Projects/OpenPilotTools/qt-5.4.0/5.4/mingw491_32/include/QtGui/qopenglext.h:10653:130:
> error: 'GLintptrARB' has not been declared
>  typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint
> video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
>
> The issue comes from a conflict between
>    osg/include/osg/BufferObject
> and
>    qt-5.4.0/5.4/mingw491_32/include/QtGui/qopenglext.h
>
> within the section starting with:
>    #ifndef GL_ARB_vertex_buffer_object
>    #define GL_ARB_vertex_buffer_object
>
> I beleive that this issue was introduced by openscenegraph/osg
> <https://github.com/openscenegraph/osg/commit/2c9d3671404583e797e9fdd5cc7687985c1bdf3b#diff-9e6bea70325f4962c2d5c856e6e5001c>
>
>
> [image: image]
> <https://github.com/openscenegraph/osg/commit/2c9d3671404583e797e9fdd5cc7687985c1bdf3b#diff-9e6bea70325f4962c2d5c856e6e5001c>
>
>
>
>
>
> openscenegraph/osg
> <https://github.com/openscenegraph/osg/commit/2c9d3671404583e797e9fdd5cc7687985c1bdf3b#diff-9e6bea70325f4962c2d5c856e6e5001c>
> osg - OpenSceneGraph git mirror
> Afficher sur github.com
> <https://github.com/openscenegraph/osg/commit/2c9d3671404583e797e9fdd5cc7687985c1bdf3b#diff-9e6bea70325f4962c2d5c856e6e5001c>
> Aperçu par Yahoo
>
>
> Regards,
> Philippe.
>
>
> _______________________________________________
> 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