You might want to look at previous thread such as : <a href="http://old.nabble.com/Error-during-build-of-ITK-3.20.0-with-GDCM-2.0.15-td29315187.html">http://old.nabble.com/Error-during-build-of-ITK-3.20.0-with-GDCM-2.0.15-td29315187.html</a><br>
<br>Several persons were experiencing the same problem few weeks ago. Don&#39;t know if a solution has been found yet.<br><br><div class="gmail_quote">2010/9/2 Bill Lorensen <span dir="ltr">&lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I was getting the same error a while back. Since then I have upgraded<br>
to cmake 2.8.2 and I&#39;m building against the current itk head.<br>
<br>
What version of cmake are you using?<br>
<br>
Mathieu, Has something changed since 3.20 that would fix this issue.<br>
Other than the move of gdcm 2 into the itk tree.<br>
<font color="#888888"><br>
Bill<br>
</font><div><div></div><div class="h5"><br>
On Thu, Sep 2, 2010 at 8:10 AM, Markus Neuner &lt;<a href="mailto:neuner.markus@gmx.net">neuner.markus@gmx.net</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; i get a linker error when building gdcm 2.0.15 or greater with itk 3.20 with mingw under windows xp:<br>
&gt;<br>
&gt; ---- SNIP ----<br>
&gt; Scanning dependencies of target itkTestDriver<br>
&gt; [ 96%] Building CXX object Code/IO/CMakeFiles/itkTestDriver.dir/itkTestDriver.obj<br>
&gt; Linking CXX executable ..\..\bin\itkTestDriver.exe<br>
&gt; c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lgdcmMSFF<br>
&gt; collect2: ld gab 1 als Ende-Status zurück<br>
&gt; mingw32-make[2]: *** [bin/itkTestDriver.exe] Error 1<br>
&gt; mingw32-make[1]: *** [Code/IO/CMakeFiles/itkTestDriver.dir/all] Error 2<br>
&gt; mingw32-make: *** [all] Error 2<br>
&gt; ---- SNAP ----<br>
&gt;<br>
&gt; Bilding with gdcm 2.0.14 works fine without any issues.<br>
&gt;<br>
&gt; gdcm and itk are configured without any changes to teh standard cmake configurations insted of: ITK_USE_SYSTEM_GDCM=ON and the correct GDCM_DIR.<br>
&gt;<br>
&gt; To put the gscm-build/bin on the path does not solve the problem.<br>
&gt;<br>
&gt; Greetings,<br>
&gt; Markus<br>
&gt;<br>
&gt; Additional informations:<br>
&gt; MinGW versions used:<br>
&gt; binutils-2.20.51-1-mingw32-bin.tar.lzma<br>
&gt; gcc-c++-4.4.0-mingw32-bin.tar.gz<br>
&gt; gcc-c++-4.4.0-mingw32-dll.tar.gz<br>
&gt; gcc-core-4.4.0-mingw32-bin.tar.gz<br>
&gt; gcc-core-4.4.0-mingw32-dll.tar.gz<br>
&gt; gdb-7.1-2-mingw32-bin.tar.gz<br>
&gt; gmp-5.0.1-1-mingw32-dev.tar.lzma<br>
&gt; libexpat-2.0.1-1-mingw32-dll-1.tar.gz<br>
&gt; libgmp-5.0.1-1-mingw32-dll-10.tar.lzma<br>
&gt; libgomp-4.5.0-1-mingw32-dll-1.tar.lzma<br>
&gt; libmpc-0.8.1-1-mingw32-dll-2.tar.lzma<br>
&gt; libmpfr-2.4.1-1-mingw32-dll-1.tar.lzma<br>
&gt; libpthread-2.8.0-3-mingw32-dll-2.tar.lzma<br>
&gt; libssp-4.5.0-1-mingw32-dll-0.tar.lzma<br>
&gt; libstdc++-4.5.0-1-mingw32-dll-6.tar.lzma<br>
&gt; mingw-utils-0.4-1-mingw32-bin.tar.lzma<br>
&gt; mingw32-make-3.81-20090910.tar.gz<br>
&gt; mingwrt-3.18-mingw32-dev.tar.gz<br>
&gt; mingwrt-3.18-mingw32-dll.tar.gz<br>
&gt; mpc-0.8.1-1-mingw32-dev.tar.lzma<br>
&gt; mpfr-2.4.1-1-mingw32-dev.tar.lzma<br>
&gt; pthreads-w32-2.8.0-3-mingw32-dev.tar.lzma<br>
&gt; w32api-3.15-1-mingw32-dev.tar.lzma<br>
&gt; --<br>
&gt; GMX DSL SOMMER-SPECIAL: Surf &amp; Phone Flat 16.000 für nur 19,99 &amp;euro;/mtl.!*<br>
&gt; <a href="http://portal.gmx.net/de/go/dsl" target="_blank">http://portal.gmx.net/de/go/dsl</a><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>