[vtkusers] VTK build error in Xcode

Mathieu Westphal mathieu.westphal at kitware.com
Tue May 3 10:11:17 EDT 2016


Hello

I don't know much about osx, but generally speaking, do not forget to check
the wiki for info :
http://www.vtk.org/Wiki/VTK/Building/MacOSX

is is not ninja specific though.

Mathieu Westphal

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

> Hi Ken,
> Thank you for your response.
>
> I did not know that.
> As far as I searched on the web, I found that someone used Xcode to
> generate "vtk.framework". So, I thought I can do the same thing.
>
> I am not familiar with VTK as well as Cmake.
> Could you kindly advise me how to use make or ninja to generate
> "vtk.framework".
>
> I guess I should use "vtk-compile-tools" somehow, as there is a
> description "-- Build files have been written
> to:/Users/MyMac/Desktop/VTK700bin/CMakeExternals/Build/vtk-compile-tools".
>
> Thanks for your additional help in this regards.
>
> -----
> Import EV Corp.
> -----
>
> From: Ken Martin [mailto:ken.martin at kitware.com]
> Sent: Tuesday, May 03, 2016 10:43 PM
> To: Import EV 重富
> Cc: vtk
> Subject: Re: [vtkusers] VTK build error in Xcode
>
> 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.
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160503/f6f9f05e/attachment.html>


More information about the vtkusers mailing list