[vtkusers] 'GLdouble' : redefinition

Dženan Zukić dzenanz at gmail.com
Thu Jun 12 03:34:53 EDT 2014


When I try to compile VTK 6.1 with Qt 5.3.0 on Win7+VS2013, I get the
errors below. Can someone shed some light on this?

Regards

4>------ Build started: Project: vtkGUISupportQtOpenGL, Configuration:
Debug x64 ------
4>  QVTKGraphicsItem.cxx
4>C:\Program Files (x86)\Windows Kits\8.1\Include\um\GL/gl.h(60): error
C2371: 'GLdouble' : redefinition; different basic types
4>
 d:\sdk\qt-5.3.0\qtbase\include\qtgui\../../src/gui/opengl/qopengl.h(98) :
see declaration of 'GLdouble'
4>C:\Program Files (x86)\Windows Kits\8.1\Include\um\GL/gl.h(206): warning
C4005: 'GL_DOUBLE' : macro redefinition
4>
 d:\sdk\qt-5.3.0\qtbase\include\qtgui\../../src/gui/opengl/qopengl.h(95) :
see previous definition of 'GL_DOUBLE'
4>  QVTKWidget2.cxx
4>C:\Program Files (x86)\Windows Kits\8.1\Include\um\GL/gl.h(60): error
C2371: 'GLdouble' : redefinition; different basic types
4>
 d:\sdk\qt-5.3.0\qtbase\include\qtgui\../../src/gui/opengl/qopengl.h(98) :
see declaration of 'GLdouble'
4>C:\Program Files (x86)\Windows Kits\8.1\Include\um\GL/gl.h(206): warning
C4005: 'GL_DOUBLE' : macro redefinition
4>
 d:\sdk\qt-5.3.0\qtbase\include\qtgui\../../src/gui/opengl/qopengl.h(95) :
see previous definition of 'GL_DOUBLE'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140612/65643263/attachment.html>


More information about the vtkusers mailing list