[vtkusers] VTK build error in Xcode

Import EV 重富 info at import-ev.com
Tue May 3 03:36:48 EDT 2016


I would like to use VTK library for iOS app.
I use CMake to create VTK Xcode project and build it.
I got the following error.

---
... 
-- Configuring done
-- Generating done
-- Build files have been written to:
/Users/MyMac/Desktop/VTK700bin/CMakeExternals/Build/vtk-compile-tools
cd /Users/MyMac/Desktop/VTK700bin/CMakeExternals/Build/vtk-compile-tools &&
/Applications/CMake.app/Contents/bin/cmake -E touch
/Users/MyMac/Desktop/VTK700bin/CMakeExternals/Prefix/vtk-compile-tools/src/v
tk-compile-tools-stamp/Release/vtk-compile-tools-configure
echo "Performing build step for 'vtk-compile-tools'"
Performing build step for 'vtk-compile-tools'
cd /Users/MyMac/Desktop/VTK700bin/CMakeExternals/Build/vtk-compile-tools &&
make vtkCompileTools
make[1]: *** No rule to make target `vtkCompileTools'. Stop.
make: ***
[/Users/TetsuMacBookAir/Desktop/DICOM/VTK700bin/CMakeExternals/Prefix/vtk-co
mpile-tools/src/vtk-compile-tools-stamp/Release/vtk-compile-tools-build]
Error 2 
Command /bin/sh failed with exit code 2
---

I set VTK_IOS_BUILD = ON in CMake and other settings stay default.

The version for each;
VTK 7.0.0
CMake 3.5.2
Xcode 7.2.1
OS X 10.10.5

I have no idea why this error occurs.
Anyone who is familiar with this, please help me.

---------
Import EV
---------




More information about the vtkusers mailing list