<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
My cmake version is the latest (2.8.2).<br>
<br>
I checked out the latest version from git<br>
commit 95134adf16da8e643f47912368e69d9dac6aacb6<br>
Date: Sat Sep 4 02:10:51 2010 -0400<br>
and tried to build it against gdcm 2.0.15 but still the same error.<br>
(I know that the git version now ships with the latest gdcm but i
wanted to test if it can compile against the SYSTEM_GDCM).<br>
<br>
--- SNIP ---<br>
Scanning dependencies of target itkTestDriver<br>
[ 95%] Building CXX object
Code/IO/CMakeFiles/itkTestDriver.dir/itkTestDriver.cxx.obj<br>
Linking CXX executable ..\..\bin\itkTestDriver.exe<br>
c:/qt/2010.04/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:
cannot find -lgdcmMSFF<br>
collect2: ld returned 1 exit status<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>
The latest version of SYSTEM_GDCM hat can be used with ITK 3.20 is
2.0.14. <br>
<br>
<br>
On 02.09.2010 17:09, Vincent Simoes wrote:
<blockquote
cite="mid:AANLkTimevvNSH7WSyndTQ2PLRq4rMJ89CjLzMF3j=kOh@mail.gmail.com"
type="cite">You might want to look at previous thread such as : <a
moz-do-not-send="true"
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
moz-do-not-send="true" href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>></span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; 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 class="h5"><br>
On Thu, Sep 2, 2010 at 8:10 AM, Markus Neuner <<a
moz-do-not-send="true" 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 moz-do-not-send="true" href="http://portal.gmx.net/de/go/dsl"
target="_blank">http://portal.gmx.net/de/go/dsl</a><br>
> _____________________________________<br>
> Powered by <a moz-do-not-send="true" href="http://www.kitware.com"
target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true" 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 moz-do-not-send="true"
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 moz-do-not-send="true" href="http://www.kitware.com"
target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true" 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 moz-do-not-send="true"
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>
</blockquote>
</body>
</html>