Hi All,
<div><br></div><div>I have seen in the archives that others have tried to cross-compile ITK for the iPhone but haven&#39;t seen that anyone has been able to. I have successfully been able to install it on OSX 10.6 and  I am currently trying the iPhone using cmake and toolchains obtained from <a href="http://sites.google.com/site/michaelsafyan/coding/resources/how-to-guides/cross-compile-for-the-iphone/how-to-cross-compile-for-the-iphone-using-cmake">here.</a></div>
<div><br></div><div>I am fairly close and get through the configure and generate stages in cmake, but get the following warning:</div><div><br></div><div>Could not find the UUID dev library files on your system (uuid/uuid.h missing). Using the default internal implementation (it is known to be weak)</div>
<div><br></div><div>even though the header file is in the input directory.</div><div><br></div><div>When I try the make command in the build directory, I get a bunch of errors starting with </div><div><br></div><div>iPhone:</div>
<div><div>Scanning dependencies of target itksysEncodeExecutable</div><div>[  0%] Building C object Utilities/kwsys/CMakeFiles/itksysEncodeExecutable.dir/EncodeExecutable.obj</div><div>Linking C executable ../../bin/itksysEncodeExecutable</div>
<div>[  0%] Built target itksysEncodeExecutable</div><div>Scanning dependencies of target itksysProcessFwd9x</div><div>[  0%] Building C object Utilities/kwsys/CMakeFiles/itksysProcessFwd9x.dir/ProcessFwd9x.obj</div><div>
/Developer/usr/InsightToolkit-3.16.0/Utilities/kwsys/ProcessFwd9x.c:33:21: error: windows.h: No such file or directory</div><div><br></div><div>for OSX 10.6 (which compiles successfully) I get:</div><div><br></div><div><div>
Scanning dependencies of target itksys</div><div>[  0%] Building C object Utilities/kwsys/CMakeFiles/itksys.dir/ProcessUNIX.o</div><div>[  0%] Building C object Utilities/kwsys/CMakeFiles/itksys.dir/Base64.o</div><div>[  0%] Building C object Utilities/kwsys/CMakeFiles/itksys.dir/System.o</div>
<div>[  0%] Building CXX object Utilities/kwsys/CMakeFiles/itksys.dir/Directory.o</div><div>[  1%] Building CXX object Utilities/kwsys/CMakeFiles/itksys.dir/DynamicLoader.o</div><div>[  1%] Building CXX object Utilities/kwsys/CMakeFiles/itksys.dir/Glob.o</div>
<div>[  1%] Building CXX object Utilities/kwsys/CMakeFiles/itksys.dir/RegularExpression.o</div><div>[  1%] Building CXX object Utilities/kwsys/CMakeFiles/itksys.dir/SystemTools.o</div><div>[  1%] Building CXX object Utilities/kwsys/CMakeFiles/itksys.dir/CommandLineArguments.o</div>
<div>[  1%] Building CXX object Utilities/kwsys/CMakeFiles/itksys.dir/Registry.o</div><div>[  1%] Building CXX object Utilities/kwsys/CMakeFiles/itksys.dir/SystemInformation.o</div><div>Linking CXX static library ../../bin/libitksys.a</div>
<div>[  1%] Built target itksys</div><div>Scanning dependencies of target itkjpeg8</div><div>[  1%] Building C object Utilities/itkjpeg/8/CMakeFiles/itkjpeg8.dir/__/jmemnobs.o</div><div><br></div><div><br></div><div>I was wondering if the difference is due to the uuid.h issue that I haven&#39;t resolved, or if it is the fact that the CMAKE_SYSTEM_NAME variable is set to Generic, or if it is something else that I am doing wrong.</div>
<div><br></div><div>Any clue would be greatly appreciated!</div><div><br></div><div>Kurt</div></div></div>