[ITK-users] Compile ITK for iPhone

Matt McCormick matt.mccormick at kitware.com
Mon Nov 16 10:11:11 EST 2015


Hi Yassin,

> The CMake warning about MacOSX10.10.sdk does not exist solved by,
>
> -First go to
> "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs"
> to find out if the SDK is there or not, i found elder version
> MacOSX10.9.sdk. So after run "cmake -GXcode ITK-Source_Dir" and generate the
> build files you have to change the CMakeCache.txt  "CMAKE_OSX_SYSROOT:PATH="
> to your current SDK version and then run "cmake -GXcode ITK-Source_Dir"
> again and the warning won't show.

This could be set by passing
-DCMAKE_OSX_SYSROOT=/your/current/sdk/path on the command line when
configuring with CMake.


> -The "vnl_math.cxx" generated in the build.

What is the issue here?


> -- But I face another problem with "vnl_math.cxx" when i added the "#define
> finite(x)   __inline_isfinited((double)x)" line as mention in the
> tutorial,  error with "Expected expression" found and i can't run the
> project.

Which tutorial are you referring to?


Thanks,
Matt


More information about the Insight-users mailing list