<div dir="ltr"><div style="word-wrap:break-word" dir="auto">Hello everyone,<div><br></div><div>I am new to ITK and VTK. I have been trying to install ITK and VTK on the iOS for the last three days. I have some problem in getting executable output from <b>QuickViewDemo</b>.</div><div><br></div><div>Here are the steps I have gone through from the beginning:</div><div><ul><li>Installing CMake-3.4.1.</li><li>Installing VTK:</li><ul><li>Download VTK-6.3.0 and store all files in <b>VTKSource</b> directory</li><li>Create another folder as <b>VTKBin</b></li><li>Open CMake gui</li><li>Set source path to VTKSource and build path to VTKBin</li><li>Configure!</li><li>Generate!</li><li>Open terminal and go to VTKBin directory</li><li>run “make” in the terminal</li><li>run “sudo make install” in the terminal</li><ul><li>After this step, a folder named <b>vtk-6.3</b> is created in <b>/usr/local/lib/cmake/</b></li></ul></ul><li>Installing ITK</li><ul><li>Download ITK-4.8.2 and store all files in <b>ITKSource</b> directory</li><li>Create another folder as <b>ITKBin</b></li><li>Open CMake gui</li><li>Set source path to ITKSource and build path to ITKBin</li><li>Configure!</li><li>Set <b>Module_ITKVtkGlue </b>:<b> ON.</b></li><li><b><span style="font-weight:normal">Configure!</span></b></li><ul><li><b><span style="font-weight:normal">After this step, the VTK_DIR is added to the options and it is automatically set to: </span></b><b>/usr/local/lib/cmake/</b><b>vtk-6.3</b></li></ul><li>Generate!</li><li>Open terminal and go to ITKBin directory</li><li>run “make” in the terminal</li><li>run “sudo make install” in the terminal</li><div><ul><li>After this step a folder named <b>ITK-4.8</b> is created in <b>/usr/local/lib/cmake/</b></li><ul><li>There is a folder named "Modules" in this path which contains some files with the format of *.cmake (including ITKVtkGlue.cmake and ITKVTK.cmake).</li></ul></ul><div> </div></div></ul></ul><div>All of these steps are done successfully without any error.</div><div><br></div><div>Now, if I build and make the <b><a href="http://itk.org/Wiki/ITK/Examples/SimpleOperations/RequestedRegion#ITK_.3E.3D_4">RequestedRegion</a> </b>example which is only based on ITK, the output object (RequestedRegion.exe) will be generated successfully.</div></div><div><br></div><div>Also, if I build and make the <b><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Rendering/Cylinder">Cylinder</a></b> example which is only based on VTK, the output object (Cylinder.exe) will be generated successfully. </div><div><br></div><div>So, I assume that ITK and VTK are successfully installed on my Mac.</div><div>However, when I run the <b><a href="http://www.vtk.org/Wiki/ITK/Examples/Visualization/QuickView">QuickViewDemo</a></b>, the executable output is not created! Here are the steps:</div><div><ul><li>Create a folder named <u>QuickSource</u> containing <b>QuickViewDemo.cxx</b> and <b>CMakeLists.txt</b>.</li><li>Create another folder named <u>QuickBin</u> </li><li>Open CMake gui</li><li>Set source path to QuickSource and build path to QuickBin</li><li>Configure!</li><ul><li><b>ITK_DIR</b> is automatically set to <b>/usr/local/lib/cmake/ITK-4.8</b></li><li>No options exist with the names of VTK or Vtkglue</li></ul><li>Generate!</li><li>Open terminal and go to <u>QuickBin</u> directory</li><li>run “make” in the terminal</li><ul><li><b>Scanning dependencies of target QuickViewDemo</b></li><li><span class="">[ 50%] </span><span class="">Building CXX object CMakeFiles/QuickViewDemo.dir/QuickViewDemo.cxx.o</span></li><li><span class="">[100%] </span><span class=""><b>Linking CXX executable QuickViewDemo.app/Contents/MacOS/QuickViewDemo</b></span></li><li>[100%] Built target QuickViewDemo</li></ul></ul><div>All of the above steps complete without any errors; However, there is no <u>exe</u> file in the QucikBin folder. Instead, there is a file named <b>QuickViewDemo.app.</b></div><div><br></div><div>Does anyone know what is the problem that I have no QuickViewDemo.exe file?</div><div><br></div><div>I read in the documents that if I am using ITK>=4 then I just need to <span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.7px;line-height:19.05px">build ITK with Module_ITKVtkGlue=ON. Is there any other thing that I have forgotten to install?</span></div><div><br></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.7px;line-height:19.05px">Sorry for my long email! </span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.7px;line-height:19.05px">I would appreciate any help :)</span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.7px;line-height:19.05px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.7px;line-height:19.05px">Best regards,</span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.7px;line-height:19.05px">Sara Gh</span></div><div><br></div></div></div></div>