[Insight-users] Build error - itk 3.20, gdcm 2.0.[15+] under mingw
Bill Lorensen
bill.lorensen at gmail.com
Thu Sep 2 10:57:56 EDT 2010
I was getting the same error a while back. Since then I have upgraded
to cmake 2.8.2 and I'm building against the current itk head.
What version of cmake are you using?
Mathieu, Has something changed since 3.20 that would fix this issue.
Other than the move of gdcm 2 into the itk tree.
Bill
On Thu, Sep 2, 2010 at 8:10 AM, Markus Neuner <neuner.markus at gmx.net> wrote:
> 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
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
More information about the Insight-users
mailing list