<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></head><body
 style="font-family: Fira Mono; font-size: 12pt;" text="#000000" 
bgcolor="#FFFFFF">
<div style="font-size: 12pt;font-family: Fira Mono;">Just getting back 
into VTK after a long hiatus and I was wanting to compile the Qt 
examples inside of VTK 7.0.0. This is what I did:<br><br>Downloaded the 
VTK 7.0.0 sources and setup my build directories in the following 
location:<br><br>/Users/Shared/OpenSource/VTK-7.0.0<br>/Users/Shared/OpenSource/VTK-7.0.0-Build<br><br>I
 ran the following cmake command (CMake 3.5.1):<br>[XXX] $ cmake -G 
Ninja -DCMAKE_BUILD_TYPE=Release 
-DCMAKE_INSTALL_PREFIX=/Users/Shared/DREAM3D_SDK/VTK-7.0.0 
-DVTK_Group_Qt=ON -DVTK_USE_CXX11_FEATURES=ON -DModule_vtkRenderingQt=ON
 
-DQT_QMAKE_EXECUTABLE=/Users/Shared/DREAM3D_SDK/Qt5.6.0/5.6/clang_64/bin/qmake
 -DVTK_QT_VERSION:STRING=5 
-DCMAKE_PREFIX_PATH:PATH="/Users/Shared/DREAM3D_SDK/Qt5.6.0/5.6/clang_64/lib/cmake/Qt5;/Users/Shared/DREAM3D_SDK/hdf5-1.8.16-Release/share/cmake"
 -DBUILD_TESTING=ON ../VTK-7.0.0<br><br>
[XXX] $ ninja<br>
[XXX] $ ninja install<br><br>All of that worked great.<br><br>I then did
 the following:<br>
[XXX] $ cd /Users/Shared/OpenSource/VTK-7.0.0/Examples/GUI/Qt/<br>[XXX] $
 mkdir Build<br>[XXX] $ cd Build<br>[XXX] $ cmake 
-DCMAKE_BUILD_TYPE=Release 
-DCMAKE_PREFIX_PATH="/Users/Shared/DREAM3D_SDK/Qt5.6.0/5.6/clang_64/lib/cmake;/Users/Shared/DREAM3D_SDK/VTK-7.0.0/lib/cmake/vtk-7.0"
 ../<br><br>but I get the following CMake error:<br><br>CMake Error at 
/Users/Shared/DREAM3D_SDK/VTK-7.0.0/lib/cmake/vtk-7.0/vtkModuleAPI.cmake:120
 (message):<br>  Requested modules not available:<br><br>    
vtkRendering<br>Call Stack (most recent call first):<br>  
/Users/Shared/DREAM3D_SDK/VTK-7.0.0/lib/cmake/vtk-7.0/VTKConfig.cmake:88
 (vtk_module_config)<br>  ImageViewer/CMakeLists.txt:16 (find_package)<br><br>Hmm.
 I am pretty sure I ran through everything correctly. The install looks 
correct. A cursory glances shows dylibs for VtkRendering.dylib? <br><br>This
 is on OS X 10.10.5 with Xcode 7.2 and CMake 3.5.1<br><br>Thanks for any
 help or pointers<br>--<br>Mike Jackson<br><a 
href="https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach"><span
 style="color: rgb(51, 102, 153);"></span></a><div class="moz-signature">



</div></div>
</body>
</html>