<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi itk user,<br><br>I'm trying to build Itk 3.20.0 with gdcm 2.0.15 under Windows/MinGw.<br><br>Unfortunately, I'm getting error during the build regarding gdcmMSFF :<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
d:/mingw/bin/../lib/gcc/<wbr>mingw32/4.4.0/../../../../<wbr>mingw32/bin/ld.exe: cannot find -lgdcmMSFF<br>collect2: ld returned 1 exit status<br>mingw32-make[2]: Leaving directory `D:/itk/3.20.0/MinGw/binaries/<wbr>Debug'<br>mingw32-make[2]: *** [bin/itkTestDriver.exe] Error 1<br>
mingw32-make[1]: *** [Code/IO/CMakeFiles/<wbr>itkTestDriver.dir/all] Error 2<br></blockquote><br><br>I don't know what's wrong. I have been able to build GDCM 2.0.15 successfully. The installation procedure works.<br>
During the configuration of ITK, I set "USE_GDCM_SYSTEM" to "ON" and set
 the "GDCM_DIR" to the directory with gdcm binaries. I might be wrong in
 the directory I need to provide to ITK for GDCM. But I can't specify 
anything else than a directory with gdcm binaries.<br>
<br>I read threads with similar issue such as : <a href="http://www.itk.org/pipermail/insight-users/2010-June/037360.html" target="_blank">http://www.itk.org/pipermail/<wbr>insight-users/2010-June/<wbr>037360.html</a> ; <a href="http://www.itk.org/pipermail/insight-users/2010-July/037404.html" target="_blank">http://www.itk.org/pipermail/<wbr>insight-users/2010-July/<wbr>037404.html</a> I didn't find any relevant solution and they were all trying to build GDCM with the flag "GDCM_USE_VTK" to 
ON. When I set it to ON (I'm not sure, I have to do that), I'm getting 
build errors for GDCM about "sysconf", ...<br><br>I hope someone can help me with this issue.<br><br>Best<br>James<br></td></tr></table><br>