[Insight-users] Problem building ITK 3.12 with GDCM 2.x

poireau joelthelion at laposte.net
Fri Apr 3 06:17:59 EDT 2009


I've tried doing a clean build from a freshly uncompressed tarball, but to no avail.

Here is as requested the output of make VERBOSE=1:

Linking CXX executable ../../bin/itkTestDriver
cd /home/jschaerer/workspace/InsightToolkit-3.12.0/Code/IO && /usr/bin/cmake -E cmake_link_script CMakeFiles/itkTestDriver.dir/link.txt --verbose=1
/usr/bin/c++      -Wno-deprecated  -ftemplate-depth-50 -Wall -Wno-deprecated  -fPIC     CMakeFiles/itkTestDriver.dir/itkTestDriver.o  -o ../../bin/itkTestDriver -rdynamic -L. -L/home/jschaerer/workspace/gdcm-2-0_build/bin -L/usr/lib/vtk-5.3 ../../bin/libITKIO.so.3.12.0 ../../bin/libITKNrrdIO.so.3.12.0 -lgdcmMSFF -lgdcmDICT -lgdcmIOD -lgdcmDSED -lgdcmCommon -lgdcmzlib -lgdcmexpat -lgdcmjpeg8 -lgdcmjpeg12 -lgdcmjpeg16 -lgdcmopenjpeg -lgdcmuuid -lpng -ltiff ../../bin/libITKSpatialObject.so.3.12.0 ../../bin/libITKCommon.so.3.12.0 ../../bin/libitkvnl_inst.so.3.12.0 ../../bin/libitkvnl_algo.so.3.12.0 ../../bin/libitkv3p_netlib.so.3.12.0 ../../bin/libitkvnl.so.3.12.0 ../../bin/libitkvcl.so.3.12.0 -lm -lpthread ../../bin/libITKMetaIO.so.3.12.0 ../../bin/libitksys.so.3.12.0 -ldl ../../bin/libITKDICOMParser.so.3.12.0 ../../bin/libITKEXPAT.so.3.12.0 ../../bin/libITKniftiio.so.3.12.0 ../../bin/libITKznz.so.3.12.0 -lz -lm -Wl,-rpath,.:/home/jschaerer/workspace/gdcm-2-0_build/bin:/usr/lib/vtk-5.3:/home/jschaerer/workspace/InsightToolkit-3.12.0/bin
../../bin/libITKIO.so.3.12.0: undefined reference to `itk_jpeg8_jpeg_simple_progression'
../../bin/libITKIO.so.3.12.0: undefined reference to `itk_jpeg8_jpeg_start_compress'
../../bin/libITKIO.so.3.12.0: undefined reference to `itk_jpeg8_jpeg_CreateDecompress'
../../bin/libITKIO.so.3.12.0: undefined reference to `itk_jpeg8_jpeg_std_error'
../../bin/libITKIO.so.3.12.0: undefined reference to `itk_jpeg8_jpeg_abort'
../../bin/libITKIO.so.3.12.0: undefined reference to `itk_jpeg8_jpeg_set_quality'
../../bin/libITKIO.so.3.12.0: undefined reference to `itk_jpeg8_jpeg_calc_output_dimensions'
../../bin/libITKIO.so.3.12.0: undefined reference to `itk_jpeg8_jpeg_stdio_dest'
../../bin/libITKIO.so.3.12.0: undefined reference to `itk_jpeg8_jpeg_stdio_src'
../../bin/libITKIO.so.3.12.0: undefined reference to `itk_jpeg8_jpeg_read_header'
../../bin/libITKIO.so.3.12.0: undefined reference to `itk_jpeg8_jpeg_finish_compress'
../../bin/libITKIO.so.3.12.0: undefined reference to `itk_jpeg8_jpeg_start_decompress'
../../bin/libITKIO.so.3.12.0: undefined reference to `itk_jpeg8_jpeg_CreateCompress'
../../bin/libITKIO.so.3.12.0: undefined reference to `itk_jpeg8_jpeg_write_scanlines'
../../bin/libITKIO.so.3.12.0: undefined reference to `itk_jpeg8_jpeg_finish_decompress'
../../bin/libITKIO.so.3.12.0: undefined reference to `itk_jpeg8_jpeg_destroy_decompress'
../../bin/libITKIO.so.3.12.0: undefined reference to `itk_jpeg8_jpeg_destroy_compress'
../../bin/libITKIO.so.3.12.0: undefined reference to `itk_jpeg8_jpeg_read_scanlines'
../../bin/libITKIO.so.3.12.0: undefined reference to `itk_jpeg8_jpeg_set_defaults'
collect2: ld returned 1 exit status
make[2]: *** [bin/itkTestDriver] Error 1
make[2]: Leaving directory `/home/jschaerer/workspace/InsightToolkit-3.12.0'
make[1]: *** [Code/IO/CMakeFiles/itkTestDriver.dir/all] Error 2
make[1]: Leaving directory `/home/jschaerer/workspace/InsightToolkit-3.12.0'
make: *** [all] Error 2
jschaerer at cepe:~/workspace/InsightToolkit-3.12.0>


thanks a lot for your help!
-- 
View this message in context: http://n2.nabble.com/Problem-building-ITK-3.12-with-GDCM-2.x-tp2575449p2579850.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.



More information about the Insight-users mailing list