[Insight-users] Error during build of ITK 3.20.0 with GDCM 2.0.15

Malsoaz James jmalsoaz at yahoo.fr
Sat Jul 31 17:25:01 EDT 2010


Hi itk user,

I'm trying to build Itk 3.20.0 with gdcm 2.0.15 under Windows/MinGw.

Unfortunately, I'm getting error during the build regarding gdcmMSFF :


d:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lgdcmMSFF
collect2: ld returned 1 exit status
mingw32-make[2]: Leaving directory `D:/itk/3.20.0/MinGw/binaries/Debug'
mingw32-make[2]: *** [bin/itkTestDriver.exe] Error 1

mingw32-make[1]: *** [Code/IO/CMakeFiles/itkTestDriver.dir/all] Error 2


I don't know what's wrong. I have been able to build GDCM 2.0.15 successfully. The installation procedure works.

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.


I read threads with similar issue such as : http://www.itk.org/pipermail/insight-users/2010-June/037360.html ; http://www.itk.org/pipermail/insight-users/2010-July/037404.html 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", ...

I hope someone can help me with this issue.

Best
James



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100731/3240e6b5/attachment.htm>


More information about the Insight-users mailing list