[vtkusers] Cannot install Qt 5.6.2 with VTK 7.0 on Windows 8.1, Microsoft Visual Studio Community 2015

MarWas18 marcinwas94 at interia.pl
Tue May 16 09:15:48 EDT 2017


Ok, now my configuration is as follows:

Software:
Windows 8.1 64 bit
Visual Studio Community 2015 (seems to be 32 bit, only Win32 possible when
builiding in Release, Debug or any other)
CMake 3.6.3
VTK 7.0
Qt 5.6.2 (32 bit from 
https://download.qt.io/archive/qt/5.6/5.6.2/qt-opensource-windows-x86-msvc2015-5.6.2.exe
<https://download.qt.io/archive/qt/5.6/5.6.2/qt-opensource-windows-x86-msvc2015-5.6.2.exe> 
)

CMake settings:
BUILD_TESTING= ON
BUILD_SHARED_LIBS= ON
Module_vtkGUISupportQt= ON
Module_vtkGUISupportQtOpenGL= ON
Module_vtkTestingCore= ON
Module_vtkTestingRendering= ON
QT_VERSION=5
VTK_Group_Qt=ON 
VTK_Group_Rendering= ON
VTK_Group_StandAlone= ON
CMAKE_PREFIX_PATH= C:\Qt\Qt5.6.2\5.6\msvc2015
QT_DIR= C:/Qt/Qt5.6.2/5.6/msvc2015/lib/cmake/Qt5

I get errors when builiding VTK ALL_BUILD in Visual Studio:  "conditional
expression is constant" and code C4127, C4275. There are 11 such errors.

Maybe I have to add something more to Visual Studio? I remember adding
variables to it when installing VTK, but I did not change it- it should
work.

Thank you,
Marcin



--
View this message in context: http://vtk.1045678.n5.nabble.com/Cannot-install-Qt-5-6-2-with-VTK-7-0-on-Windows-8-1-Microsoft-Visual-Studio-Community-2015-tp5743206p5743247.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list