<div dir="ltr">
<p class=""><span class="">Matt,</span></p>
<p class=""><span class=""><br></span></p><p class=""><span class="">It solved the problem!</span></p>
<p class=""><span class="">Thank you very much!</span></p>
<p class=""><span class=""><br></span></p><p class=""><span class="">Best regards,</span></p><p class="">Sara</p></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 26, 2016 at 9:52 PM, Matt McCormick <span dir="ltr"><<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Sara,<br>
<br>
Welcome to ITK!<br>
<br>
It looks like you did everything correctly.<br>
<br>
Try removing "MACOSX_BUNDLE" from your CMakeLists.txt. Or, run the<br>
executable QuickViewDemo.app/Contents/MacOS/QuickViewDemo.<br>
<br>
HTH,<br>
Matt<br>
<div><div class="h5"><br>
On Tue, Jan 26, 2016 at 8:21 PM, Sara Gh <<a href="mailto:sg.ele.eng@gmail.com">sg.ele.eng@gmail.com</a>> wrote:<br>
> Hello everyone,<br>
><br>
> I am new to ITK and VTK. I have been trying to install ITK and VTK on the<br>
> iOS for the last three days. I have some problem in getting executable<br>
> output from QuickViewDemo.<br>
><br>
> Here are the steps I have gone through from the beginning:<br>
><br>
> Installing CMake-3.4.1.<br>
> Installing VTK:<br>
><br>
> Download VTK-6.3.0 and store all files in VTKSource directory<br>
> Create another folder as VTKBin<br>
> Open CMake gui<br>
> Set source path to VTKSource and build path to VTKBin<br>
> Configure!<br>
> Generate!<br>
> Open terminal and go to VTKBin directory<br>
> run “make” in the terminal<br>
> run “sudo make install” in the terminal<br>
><br>
> After this step, a folder named vtk-6.3 is created in /usr/local/lib/cmake/<br>
><br>
> Installing ITK<br>
><br>
> Download ITK-4.8.2 and store all files in ITKSource directory<br>
> Create another folder as ITKBin<br>
> Open CMake gui<br>
> Set source path to ITKSource and build path to ITKBin<br>
> Configure!<br>
> Set Module_ITKVtkGlue : ON.<br>
> Configure!<br>
><br>
> After this step, the VTK_DIR is added to the options and it is automatically<br>
> set to: /usr/local/lib/cmake/vtk-6.3<br>
><br>
> Generate!<br>
> Open terminal and go to ITKBin directory<br>
> run “make” in the terminal<br>
> run “sudo make install” in the terminal<br>
><br>
> After this step a folder named ITK-4.8 is created in /usr/local/lib/cmake/<br>
><br>
> There is a folder named "Modules" in this path which contains some files<br>
> with the format of *.cmake (including ITKVtkGlue.cmake and ITKVTK.cmake).<br>
><br>
><br>
><br>
> All of these steps are done successfully without any error.<br>
><br>
> Now, if I build and make the RequestedRegion example which is only based on<br>
> ITK, the output object (RequestedRegion.exe) will be generated successfully.<br>
><br>
> Also, if I build and make the Cylinder example which is only based on VTK,<br>
> the output object (Cylinder.exe) will be generated successfully.<br>
><br>
> So, I assume that ITK and VTK are successfully installed on my Mac.<br>
> However, when I run the QuickViewDemo, the executable output is not created!<br>
> Here are the steps:<br>
><br>
> Create a folder named QuickSource containing QuickViewDemo.cxx and<br>
> CMakeLists.txt.<br>
> Create another folder named QuickBin<br>
> Open CMake gui<br>
> Set source path to QuickSource and build path to QuickBin<br>
> Configure!<br>
><br>
> ITK_DIR is automatically set to /usr/local/lib/cmake/ITK-4.8<br>
> No options exist with the names of VTK or Vtkglue<br>
><br>
> Generate!<br>
> Open terminal and go to QuickBin directory<br>
> run “make” in the terminal<br>
><br>
> Scanning dependencies of target QuickViewDemo<br>
> [ 50%] Building CXX object CMakeFiles/QuickViewDemo.dir/QuickViewDemo.cxx.o<br>
> [100%] Linking CXX executable QuickViewDemo.app/Contents/MacOS/QuickViewDemo<br>
> [100%] Built target QuickViewDemo<br>
><br>
> All of the above steps complete without any errors; However, there is no exe<br>
> file in the QucikBin folder. Instead, there is a file named<br>
> QuickViewDemo.app.<br>
><br>
> Does anyone know what is the problem that I have no QuickViewDemo.exe file?<br>
><br>
> I read in the documents that if I am using ITK>=4 then I just need to build<br>
> ITK with Module_ITKVtkGlue=ON. Is there any other thing that I have<br>
> forgotten to install?<br>
><br>
> Sorry for my long email!<br>
> I would appreciate any help :)<br>
><br>
> Best regards,<br>
> Sara Gh<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Community mailing list<br>
> <a href="mailto:Community@itk.org">Community@itk.org</a><br>
> <a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
><br>
</blockquote></div><br></div>