Thanks for your reply, Luis.<br><br>Glad to see that this is solved in the upcoming 3.18 version.<br>We'll wait for the official 3.18 release and play with MinGW64 then<br><br>Thanks<br><br><div class="gmail_quote">On Fri, Apr 16, 2010 at 2:09 PM, Luis Ibanez <span dir="ltr"><<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>Hi Sergio,<br><br>Thanks for your detailed post.<br><br>Yes, these lines that are giving you trouble were <br>
removed from ITK on November 17th 2009.<br><br>Here is the replacement:<br><br><a href="http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/Common/itkNumericTraits.cxx?root=Insight&r1=1.11&r2=1.12" target="_blank">http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/Common/itkNumericTraits.cxx?root=Insight&r1=1.11&r2=1.12</a><br>
<div class="gmail_quote"><br><br>You may want to give it a try at the CVS version<br>of ITK, or if you can wait until this afternoon you <br>could check out ITK 3.18 :-)<br><br><br> Regards,<br><br><br> Luis<br>
<br><br>--------------------------------------------------------------------------------<div><div></div><div class="h5"><br>On Thu, Apr 15, 2010 at 4:04 AM, Sergio Vera <span dir="ltr"><<a href="mailto:sergio.vera@alma3d.com" target="_blank">sergio.vera@alma3d.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">Hi folks.<br><br>I've been using ITK (3.16.0) with MinGW32 (gcc 3.4.5) and Visual studio 9 so far without any noticeable problems.<br clear="all">
<br>I want to try MinGW 64 to build 64 bit binaries with GCC but I've encountered some compilation problems. After googling around for a while I have not found any similar case.<br>
<br>C:/work/src/InsightToolkit-3.16.0/Code/Common/itkNumericTraits.cxx:63:17: error: specializing member 'itk::NumericTraits<long long unsigned int>::Zero' requires 'template<>' syntax<br>C:/work/src/InsightToolkit-3.16.0/Code/Common/itkNumericTraits.cxx:64:17: error: specializing member 'itk::NumericTraits<long long unsigned int>::One' requires 'template<>' syntax<br>
<br>the referenced lines in the error are those lines (itkNumericTraits.cxx):<br><br>#ifdef _WIN64<br>typedef std::string::size_type size_type;<br>const size_type NumericTraits<size_type>::Zero = 0.0;<br>const size_type NumericTraits<size_type>::One = 1.0;<br>
#endif<br><br>does anyone has experienced similar problems with MinGW64?<br><br>Thanks<br><font color="#888888"><br>-- <br>Sergio Vera<br><br> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. (+34) 932 380 592<br>
<a href="http://www.alma3d.com" target="_blank">www.alma3d.com</a><br>
</font><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://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</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-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br>
</blockquote></div><br><br clear="all"><br>-- <br>Sergio Vera<br><br> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. (+34) 932 380 592<br> <a href="http://www.alma3d.com">www.alma3d.com</a><br>