[Insight-users] Problem building ITK 3.12 with GDCM 2.x
Johan MOREAU
johan.moreau at ircad.fr
Mon Apr 20 03:41:22 EDT 2009
Hello Mathieu,
sorry but with the trunk (1.330 +), the same problem appears.
My CMake opt :
-DBUILD_EXAMPLES:BOOL=OFF
-DBUILD_SHARED_LIBS:BOOL=ON
-DBUILD_TESTING:BOOL=OFF
-DBUILD_DOXYGEN:BOOL=OFF
-DITK_USE_SYSTEM_JPEG:BOOL=ON
-DITK_USE_SYSTEM_PNG:BOOL=ON
-DITK_USE_SYSTEM_TIFF:BOOL=ON
-DITK_USE_SYSTEM_VXL:BOOL=ON
-DITK_USE_SYSTEM_ZLIB:BOOL=ON
--with-insight=$COMEXT/lib/
-DITK_USE_SYSTEM_GDCM:BOOL=ON
-DITK_USE_REVIEW:BOOL=$IS_ITK_REVIEW
-DITK_USE_SYSTEM_LIBXML2:BOOL=ON
-DGDCM_DIR:PATH=$COMEXT_BUILD/gdcm/"$os"_$BUILD_MODE
-DLIBXML2_INCLUDE_DIR:PATH=$COMEXT_INC/libxml2
-DLIBXML2_LIBRARIES:PATH=$COMEXT_LIB/libxml2$SO
-DLIBXML2_XMLLINT_EXECUTABLE:PATH=$COMEXT_BIN/xmllint
-DPNG_LIBRARY:PATH=$COMEXT_LIB/libpng$SO -DPNG_INCLUDE_DIR:PATH=$COMEXT_INC
-DTIFF_INCLUDE_DIR=$COMEXT_INC
-DTIFF_LIBRARY:PATH=$COMEXT_LIB/libtiff$SO
-DVXL_DIR:PATH=$COMEXT/share/vxl/cmake
-DZLIB_INCLUDE_DIR:PATH=$COMEXT_INC -DZLIB_LIBRARY:PATH=$COMEXT_LIB/libz$SO
($os, $SO, $COMEXT_LIB, $COMEXT_INC, $COMEXT_BUILD, $COMEXT_BIN,
$BUILD_MODE are defined)
If ITK_USE_SYSTEM_TIFF is setting to OFF, no change...
These options work without trouble on win32, darwin, linux32, but crash
on linux64 (x86_64)
And just to see, I disable ITK_USE_SYSTEM_GDCM. Same problem occurs :
../../bin/libitkgdcm.so.3.13.0: undefined reference to
`itk_jpeg16_jpeg_read_header'
../../bin/libitkgdcm.so.3.13.0: undefined reference to
`itk_jpeg16_jpeg_CreateCompress'
../../bin/libitkgdcm.so.3.13.0: undefined reference to
`itk_jpeg12_jpeg_start_decompress'
../../bin/libitkgdcm.so.3.13.0: undefined reference to
`itk_jpeg12_jpeg_simple_lossless'
../../bin/libITKIO.so.3.13.0: undefined reference to
`itk_jpeg8_jpeg_finish_compress'
../../bin/libitkgdcm.so.3.13.0: undefined reference to
`itk_jpeg16_jpeg_read_scanlines'
../../bin/libitkgdcm.so.3.13.0: undefined reference to
`itk_jpeg12_jpeg_read_header'
../../bin/libitkgdcm.so.3.13.0: undefined reference to
`itk_jpeg16_jpeg_finish_compress'
../../bin/libitkgdcm.so.3.13.0: undefined reference to
`itk_jpeg12_jpeg_write_scanlines'
../../bin/libITKIO.so.3.13.0: undefined reference to
`itk_jpeg8_jpeg_set_quality'
....
....
....
My 2cts,
/Johan
More information about the Insight-users
mailing list