[ITK] [ITK-users] Compile ITK for iPhone

Matt McCormick matt.mccormick at kitware.com
Fri Nov 6 14:15:03 EST 2015


Hi Yassim,

It sounds like those changes are for ITKv3, and they were not merged
into ITK.  There also is not an iOS submission yet to the Nightly
Dashboard [1]. Following the principle "if it is not tested, it is
broken", other fixes are likely required.

On the plus side, recent ITKv4 has very good support for
cross-compiling.  See these post for cross-compiling instructions with
other tool chains:

  http://www.kitware.com/blog/home/post/912

Essentially,

1) Use the latest CMake.

2) Pass in a toolchain file with CMAKE_TOOLCHAIN_FILE.  Maybe this
project will work: [2]

3) Pass in a path to an emulator with CMAKE_CROSSCOMPILING_EMULATOR.
Maybe this project will work: [3]

Then, considering contributing any fixes upstream [4], and starting a
Nightly dashboard submission [5].

Please let use know how it goes.

Thanks,
Matt

[1] https://open.cdash.org/index.php?project=Insight#

[2] https://github.com/cristeab/ios-cmake

[3] https://github.com/phonegap/ios-sim

[4] https://cmake.org/Wiki/ITK/Git

[5] https://cmake.org/Wiki/ITK/Git/Dashboard

On Fri, Nov 6, 2015 at 9:15 AM, Yassmin <yassminabdallah at gmail.com> wrote:
> any recommendation please?
>
>
>
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Compile-ITK-for-iPhone-tp7588136p7588145.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list