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't know if a solution has been found yet.<br><br><div class="gmail_quote">2010/9/2 Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>></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'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 <<a href="mailto:neuner.markus@gmx.net">neuner.markus@gmx.net</a>> wrote:<br>
> Hi,<br>
><br>
> i get a linker error when building gdcm 2.0.15 or greater with itk 3.20 with mingw under windows xp:<br>
><br>
> ---- SNIP ----<br>
> Scanning dependencies of target itkTestDriver<br>
> [ 96%] Building CXX object Code/IO/CMakeFiles/itkTestDriver.dir/itkTestDriver.obj<br>
> Linking CXX executable ..\..\bin\itkTestDriver.exe<br>
> c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lgdcmMSFF<br>
> collect2: ld gab 1 als Ende-Status zurück<br>
> mingw32-make[2]: *** [bin/itkTestDriver.exe] Error 1<br>
> mingw32-make[1]: *** [Code/IO/CMakeFiles/itkTestDriver.dir/all] Error 2<br>
> mingw32-make: *** [all] Error 2<br>
> ---- SNAP ----<br>
><br>
> Bilding with gdcm 2.0.14 works fine without any issues.<br>
><br>
> 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>
><br>
> To put the gscm-build/bin on the path does not solve the problem.<br>
><br>
> Greetings,<br>
> Markus<br>
><br>
> Additional informations:<br>
> MinGW versions used:<br>
> binutils-2.20.51-1-mingw32-bin.tar.lzma<br>
> gcc-c++-4.4.0-mingw32-bin.tar.gz<br>
> gcc-c++-4.4.0-mingw32-dll.tar.gz<br>
> gcc-core-4.4.0-mingw32-bin.tar.gz<br>
> gcc-core-4.4.0-mingw32-dll.tar.gz<br>
> gdb-7.1-2-mingw32-bin.tar.gz<br>
> gmp-5.0.1-1-mingw32-dev.tar.lzma<br>
> libexpat-2.0.1-1-mingw32-dll-1.tar.gz<br>
> libgmp-5.0.1-1-mingw32-dll-10.tar.lzma<br>
> libgomp-4.5.0-1-mingw32-dll-1.tar.lzma<br>
> libmpc-0.8.1-1-mingw32-dll-2.tar.lzma<br>
> libmpfr-2.4.1-1-mingw32-dll-1.tar.lzma<br>
> libpthread-2.8.0-3-mingw32-dll-2.tar.lzma<br>
> libssp-4.5.0-1-mingw32-dll-0.tar.lzma<br>
> libstdc++-4.5.0-1-mingw32-dll-6.tar.lzma<br>
> mingw-utils-0.4-1-mingw32-bin.tar.lzma<br>
> mingw32-make-3.81-20090910.tar.gz<br>
> mingwrt-3.18-mingw32-dev.tar.gz<br>
> mingwrt-3.18-mingw32-dll.tar.gz<br>
> mpc-0.8.1-1-mingw32-dev.tar.lzma<br>
> mpfr-2.4.1-1-mingw32-dev.tar.lzma<br>
> pthreads-w32-2.8.0-3-mingw32-dev.tar.lzma<br>
> w32api-3.15-1-mingw32-dev.tar.lzma<br>
> --<br>
> GMX DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 für nur 19,99 &euro;/mtl.!*<br>
> <a href="http://portal.gmx.net/de/go/dsl" target="_blank">http://portal.gmx.net/de/go/dsl</a><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>
><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>