<p class="MsoNormal">Hello,<br></p><p class="MsoNormal"><br></p><p class="MsoNormal">We are trying to build ITK v3.20.1 for Windows Embedded
Compact 7 (WEC7 aka WinCE 7.0) for a Freescale i.MX53 ARM processor.
Utilizing the parogas-cmake port of CMake v2.8 on gitorious with minor
modifications for 64-bit Windows, we have been slowly porting ITK to
WEC7. <br></p><p class="MsoNormal">We’ve been able to work through most of the issues (e.g. No POSIX
support), but one of the issues has us blocked. To build ITK, we are
using Visual Studio 2008 (required for WEC7) and a custom SDK built for our
target ARM hardware. This runs on an x64 Windows 7 computer. When
building with the SDK, it cross-compiles for ARMv4I.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">But when building the itksys project in ITK, it fails
because it is trying to build <b>ProcessFwd9x.c</b> for ARM, then it tries to execute
the result of this build as part of the build process. But it can’t
because this is an x64 system and not ARM. <br></p><p class="MsoNormal"><br></p><p class="MsoNormal"> I’ve tried following the
instructions available for configuring CMake for cross-compiling, but it seems
to be very Linux focused and not applicable when building in Visual Studio with
a Smart Device SDK. We’ve considered removing this from the ITK build as
we don’t believe we require it for our usage of the library, but it is proving
difficult to remove due to interdependencies.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Can anyone help with either of the below questions?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">1. How do we configure the ITK build or CMake for
cross-compiling using a Visual Studio 2008 SDK build so that itksys builds
correctly?<br></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">or</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">2. How do we remove itksys from the build
completely? And what are the ramifications of doing so?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Many Thanks.</p>
<p class="MsoNormal"> </p>