<!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>
&nbsp;&nbsp; commit 95134adf16da8e643f47912368e69d9dac6aacb6<br>
&nbsp;&nbsp; Date:&nbsp;&nbsp; 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">&lt;<a
 moz-do-not-send="true" href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;</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 &lt;<a
 moz-do-not-send="true" 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&uuml;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&uuml;r nur 19,99
&amp;euro;/mtl.!*<br>
&gt; <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>
&gt; _____________________________________<br>
&gt; Powered by <a moz-do-not-send="true" 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 moz-do-not-send="true"
 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 moz-do-not-send="true"
 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 moz-do-not-send="true" 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 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>
&gt;<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>