[ITK-users] Compile ITK for iPhone
Matt McCormick
matt.mccormick at kitware.com
Wed Nov 18 17:13:58 EST 2015
Hi Yassmin,
> Recently i use Xcode 7 on OS X el captain and the latest release from ITK
> 4.8.2. i follow this tutorial
> http://www.cs.sfu.ca/~hamarneh/ecopy/ij2010a.pdf
>
> 1- build itk using cmake through Xcode command GXcode and the build was
> successfully.
> 2- build the Xcode project on OS X under "Release" option and it was
> successfully.
> 3- error appear in vl_math when built the project under "iOS architecture",
> add this line "#define finite(x) ــinlineـisfinited((double)x)" solve the
> problem, i didn't remove any dependance target as by remove them like the
> tutorial said i face some errors so i just left them.
It looks like this should be handled similarly to "isnan" in
vnl_math.cxx and in the VNL CMake configuration.
> 4- the library files didn't appear in this path "ITK BINARY
> DIR/bin/Release", i found them in /ITKBin/ITKBuild/lib/Debug.
>
>
> i now face the problem of add these paths to Header Search as they didn't
> exists,
> • ITK SOURCE DIR/Code/Common
> • ITK SOURCE DIR/Utilities/vxl/vcl
> • ITK SOURCE DIR/Utilities/vxl/core
> • ITK BINARY DIR/Utilities/vxl/vcl
> • ITK BINARY DIR/Utilities/vxl/core
> • ITK BINARY DIR
These are paths related to ITKv3. There are many more and different
paths for ITKv4. If you use CMake to configure your project, they
will automatically be populated.
HTH,
Matt
More information about the Insight-users
mailing list