[Insight-users] Build error - itk 3.20, gdcm 2.0.[15+] under mingw
Markus Neuner
neuner.markus at gmx.net
Thu Sep 2 08:10:42 EDT 2010
Hi,
i get a linker error when building gdcm 2.0.15 or greater with itk 3.20 with mingw under windows xp:
---- SNIP ----
Scanning dependencies of target itkTestDriver
[ 96%] Building CXX object Code/IO/CMakeFiles/itkTestDriver.dir/itkTestDriver.obj
Linking CXX executable ..\..\bin\itkTestDriver.exe
c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lgdcmMSFF
collect2: ld gab 1 als Ende-Status zurück
mingw32-make[2]: *** [bin/itkTestDriver.exe] Error 1
mingw32-make[1]: *** [Code/IO/CMakeFiles/itkTestDriver.dir/all] Error 2
mingw32-make: *** [all] Error 2
---- SNAP ----
Bilding with gdcm 2.0.14 works fine without any issues.
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.
To put the gscm-build/bin on the path does not solve the problem.
Greetings,
Markus
Additional informations:
MinGW versions used:
binutils-2.20.51-1-mingw32-bin.tar.lzma
gcc-c++-4.4.0-mingw32-bin.tar.gz
gcc-c++-4.4.0-mingw32-dll.tar.gz
gcc-core-4.4.0-mingw32-bin.tar.gz
gcc-core-4.4.0-mingw32-dll.tar.gz
gdb-7.1-2-mingw32-bin.tar.gz
gmp-5.0.1-1-mingw32-dev.tar.lzma
libexpat-2.0.1-1-mingw32-dll-1.tar.gz
libgmp-5.0.1-1-mingw32-dll-10.tar.lzma
libgomp-4.5.0-1-mingw32-dll-1.tar.lzma
libmpc-0.8.1-1-mingw32-dll-2.tar.lzma
libmpfr-2.4.1-1-mingw32-dll-1.tar.lzma
libpthread-2.8.0-3-mingw32-dll-2.tar.lzma
libssp-4.5.0-1-mingw32-dll-0.tar.lzma
libstdc++-4.5.0-1-mingw32-dll-6.tar.lzma
mingw-utils-0.4-1-mingw32-bin.tar.lzma
mingw32-make-3.81-20090910.tar.gz
mingwrt-3.18-mingw32-dev.tar.gz
mingwrt-3.18-mingw32-dll.tar.gz
mpc-0.8.1-1-mingw32-dev.tar.lzma
mpfr-2.4.1-1-mingw32-dev.tar.lzma
pthreads-w32-2.8.0-3-mingw32-dev.tar.lzma
w32api-3.15-1-mingw32-dev.tar.lzma
--
GMX DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 für nur 19,99 €/mtl.!*
http://portal.gmx.net/de/go/dsl
More information about the Insight-users
mailing list