<div dir="ltr">Hi Matt,<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 28, 2014 at 7:30 PM, Matt McCormick <span dir="ltr"><<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Rashad,<br>
<br>
Cross compiling Linux for Windows via MXE and handling the HDF5 issue<br>
is described here [1].<br></blockquote><div><br></div><div>I was able to cross compile ITK4.6 from Fedora 20. via standard mignw64-* packages available in fedora repository. I followed the workaround for HDF5 mentioned in the wiki page you had given. Build was just fine! </div>
<div><br></div><div>Thanks.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Please let us know if you have any questions.<br></blockquote><div><br></div><div>Though avoid switching to windows machine for every build would be cool. Even if that means ITK is built without HDF5</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
Matt<br>
<br>
[1] <a href="http://www.itk.org/Wiki/ITK/Cross_Compiling#In_Linux_Host_for_Windows_Target" target="_blank">http://www.itk.org/Wiki/ITK/Cross_Compiling#In_Linux_Host_for_Windows_Target</a><br>
<div><div class="h5"><br>
On Fri, Apr 25, 2014 at 3:36 AM, Rashad M <<a href="mailto:mohammedrashadkm@gmail.com">mohammedrashadkm@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I am building ITK4 trunk version with default configuration for MinGW64 via<br>
> MXE. MinGW and related packages are installed from fedora 20 repository. I<br>
> had been sucessful building some other libraries but ITK4. The problem is<br>
> coming from HDF5 which runs an executable during building, which by the way<br>
> is not possible on a cross compile environment. I dont want to use wine<br>
> emulator here. So disabling HDF5 and related modules in ITK seems to be a<br>
> solution.<br>
><br>
> I had seen other discussion about HDF5 and ITK on this list but none of them<br>
> works for me. Is there a way to disable only HDF5 in other than turn off<br>
> ITK_BUILD_DEFAULT_MODULES. I tried to cmake -DModule_ITKIOHDF5=OFF and didnt<br>
> work.<br>
><br>
> I had also checked the kitware blog about building ITK for raspberry Pi. and<br>
> it helped to get over the configure stage. But I am now stuck with HDF5<br>
><br>
> Any help is much appreciated<br>
><br>
> --<br>
> Regards,<br>
> Rashad<br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://kitware.com/products/protraining.php" target="_blank">http://kitware.com/products/protraining.php</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.itk.org/mailman/listinfo/insight-developers" target="_blank">http://www.itk.org/mailman/listinfo/insight-developers</a><br>
><br>
> _______________________________________________<br>
> Community mailing list<br>
> <a href="mailto:Community@itk.org">Community@itk.org</a><br>
> <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font face="arial, helvetica, sans-serif">Regards,<br> Rashad</font></div>
</div></div>