[vtkusers] VTK build error in Xcode

Ken Martin ken.martin at kitware.com
Tue May 3 09:42:31 EDT 2016


You have to build the VTK framework using make or ninja, the XCode
generator is not currently tested.

Thanks
Ken

On Tue, May 3, 2016 at 3:36 AM, Import EV 重富 <info at import-ev.com> wrote:

> 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
> ---------
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971

This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160503/e0f575f8/attachment.html>


More information about the vtkusers mailing list