[vtk-developers] VTK and QT5 Errors in Windows
Andrew Maclean
andrew.amaclean at gmail.com
Sun Jun 9 01:30:20 EDT 2013
Just letting you know there is a problem with the QT5 and VTK combination
in windows.
System: Windows 8
Compiler VS Express 2012 64-bit.
QT Version: 5.0.2
QTDIR=C:\Qt\Qt5.0.2\5.0.2\msvc2012_64\mkspecs
PATH contains: C:\Qt\Qt5.0.2\5.0.2\msvc2012_64\bin
When configuring VTK on an empty build directory, CMake is unable to find
mkspecs. Consequently it cannot find qtcore.lib.
So I manually select VTK_QT=5, specify qtcore.lib (debug/release) and then
generate fails with:
CMake Error at GUISupport/Qt/Testing/Cxx/CMakeLists.txt:21
(set_target_properties):
set_target_properties called with incorrect number of arguments.
Build fails with:
Error 141 error C2371: 'GLdouble' : redefinition; different basic
types C:\Program
Files (x86)\Windows Kits\8.0\Include\um\GL\gl.h 60 1 vtkGUISupportQtOpenGL
Regards
Andrew
--
___________________________________________
Andrew J. P. Maclean
___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130609/d939b9a9/attachment.html>
More information about the vtk-developers
mailing list