[vtkusers] VTK6.1 + Qt5.2.1 + msvc2012 Build error
amundaa
amund.aasen at gmail.com
Thu Feb 27 05:00:42 EST 2014
I am trying to get VTK 6.1 to work with Qt5.2.1 in msvc2012 on my Windows 8.1
32-bit notebook with the qt add-in. I'm a noob when it comes to vtk and qt,
so don't be too hard on me please :)
I have generated the VTK solution and ALL_BUILD for visual studio to build
from cmake-gui, but I'm having some trouble getting the build in vs2012
without errors, so the INSTALL won't build either I suppose.
The picture below shows the error I keep getting:
<http://vtk.1045678.n5.nabble.com/file/n5726131/error_prnt_screen.jpg>
The error in text:*error C2371: 'GLdouble' : redefinition; different basic
types in file gl.h line 60 column 1 Project vktGUISupportQtOpenGL*
I have made sure windows 8.1 kits SDK is up to date, so I don't think I'm
missing anything significant.In the cmake configuration i selected
everything that has to do with Qt, I don't really know if that's correct.
Am I missing something? Something fundamentally wrong?
Btw, I'm doing this because I'm writing an application that visualises a
stress tensor with a critical plane - which I find from a history of
stresses after some calculation (coded in cpp), I want to use Qt for the GUI
part and VTK for the visualization and combine it all to a working
application.
Any thoughts, ideas?
--
View this message in context: http://vtk.1045678.n5.nabble.com/VTK6-1-Qt5-2-1-msvc2012-Build-error-tp5726131.html
Sent from the VTK - Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140227/6561178c/attachment.html>
More information about the vtkusers
mailing list