Gib,<br><br>I have no 64 bit machines. When I was building itk 3.x, my mingw builds were fine. Now I only buiild itkv4 on my mingw system and it builds fine although it is 32 bit.<br><br>Bill<br><br><br><div class="gmail_quote">
On Thu, Sep 8, 2011 at 8:20 AM, Alexandre GOUAILLARD <span dir="ltr">&lt;<a href="mailto:agouaillard@gmail.com">agouaillard@gmail.com</a>&gt;</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;">
Dear gib,<br>
<br>
the errors you are pointing out are in gcc&#39;s include so its very<br>
likely that your problem comes from there.<br>
<br>
Also note that the support for 64bits is much better in ITK v4 than in<br>
itk 3.x. You can look there to get info on how to get it:<br>
<a href="http://www.itk.org/Wiki/ITK/Git" target="_blank">http://www.itk.org/Wiki/ITK/Git</a><br>
<br>
There is one host that builds ITK v4 against mingw every night, but It<br>
looks like it is 32bits only.<br>
<a href="http://public.kitware.com/dashboard.php?name=itk" target="_blank">http://public.kitware.com/dashboard.php?name=itk</a><br>
<br>
Maybe Bill Lorensen and/or some kitware guys can help you there. They<br>
are the usual suspects for minGW questions.<br>
<br>
regards,<br>
<br>
alex.<br>
<div><div></div><div class="h5"><br>
<br>
On Thu, Sep 8, 2011 at 12:59 PM, Gib Bogle &lt;<a href="mailto:g.bogle@auckland.ac.nz">g.bogle@auckland.ac.nz</a>&gt; wrote:<br>
&gt; I hadn&#39;t cleaned properly after first trying to build with BUILD_SHARED_LIBS<br>
&gt; selected (this fails earlier), then deselecting this and trying again.<br>
&gt;<br>
&gt; After a complete restart in an empty directory, the build fails at the same<br>
&gt; place but with different errors, all like this:<br>
&gt;<br>
&gt; :\users\mbog002\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.4.5/include/emmintrin.h:960:<br>
&gt; error: previous declaration of &#39;long long int __vector__<br>
&gt; _mm_unpackhi_epi64(long long int __vector__, long long int __vector__)&#39; with<br>
&gt; &#39;C++&#39; linkage<br>
&gt; c:\users\mbog002\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.4.5/../../../../x86_64-w64-mingw32/include/intrin.h:817:<br>
&gt; error: conflicts with new declaration with &#39;C&#39; linkage<br>
&gt;<br>
&gt;<br>
&gt; On 8/09/2011 4:18 p.m., Gib Bogle wrote:<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m building itk-3.20.0 on Windows 7 with Mingw64 (gcc version 4.4.5), and<br>
&gt;&gt; I&#39;m running into errors.  The build progresses about 80%, then while<br>
&gt;&gt; building libitkvnl_inst.a I get a large number of error messages that all<br>
&gt;&gt; seem to be like:<br>
&gt;&gt;<br>
&gt;&gt; undefined reference to `vnl_v_vector&lt;unsigned long long&gt;::allocate_T(int)&#39;<br>
&gt;&gt;<br>
&gt;&gt; (with variations on vector and matrix, and allocate and deallocate).<br>
&gt;&gt;<br>
&gt;&gt; The only configuring I did on cmake was to choose the release build.<br>
&gt;&gt;<br>
&gt;&gt; Any suggestions?<br>
&gt;&gt;<br>
&gt;&gt; Thanks<br>
&gt;&gt; Gib<br>
&gt;&gt; _____________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt;&gt; <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt;&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Dr. Gib Bogle<br>
&gt; Senior Research Fellow<br>
&gt; Auckland Bioengineering Institute<br>
&gt; University of Auckland<br>
&gt; New Zealand<br>
&gt;<br>
&gt; <a href="http://www.bioeng.auckland.ac.nz" target="_blank">http://www.bioeng.auckland.ac.nz</a><br>
&gt;<br>
&gt; <a href="mailto:g.bogle@auckland.ac.nz">g.bogle@auckland.ac.nz</a><br>
&gt; (64-9) 373-7599 Ext. 87030<br>
&gt;<br>
&gt; _____________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt; <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;<br>
_____________________________________<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>
</div></div></blockquote></div><br>