Hi,
following error message will be thrown during ITK4 build step.
Any Idea?
OS: OSX 10.8.2
Compiler: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Linking CXX shared library ../../../../lib/libITKIOGDCM-4.3.dylib
Undefined symbols for architecture x86_64:
"gdcm::Trace::GetDebugFlag()", referenced from: gdcm::ByteValue::SetLength(gdcm::VL) in itkGDCMImageIO.cxx.o gdcm::ByteValue::ByteValue(char const*, gdcm::VL const&)in itkGDCMImageIO.cxx.o "gdcm::Trace::GetErrorFlag()", referenced from: gdcm::FileMetaInformation::Insert(gdcm::DataElement const&)in itkGDCMImageIO.cxx.o gdcm::DataSet::Insert(gdcm::DataElement const&)in itkGDCMImageIO.cxx.o "gdcm::Trace::GetWarningFlag()", referenced from: gdcm::DataSet::InsertDataElement(gdcm::DataElement const&)in itkGDCMImageIO.cxx.o "gdcm::Trace::GetStream()", referenced from: gdcm::ByteValue::SetLength(gdcm::VL) in itkGDCMImageIO.cxx.o gdcm::PixelFormat::SetSamplesPerPixel(unsigned short)in itkGDCMImageIO.cxx.o gdcm::DataSet::InsertDataElement(gdcm::DataElement const&)in itkGDCMImageIO.cxx.o gdcm::FileMetaInformation::Insert(gdcm::DataElement const&)in itkGDCMImageIO.cxx.o gdcm::DataSet::Insert(gdcm::DataElement const&)in itkGDCMImageIO.cxx.o gdcm::ByteValue::ByteValue(char const*, gdcm::VL const&)in itkGDCMImageIO.cxx.o "gdcm::System::GetLastSystemError()", referenced from: gdcm::ByteValue::SetLength(gdcm::VL) in itkGDCMImageIO.cxx.o gdcm::ByteValue::ByteValue(char const*, gdcm::VL const&)in itkGDCMImageIO.cxx.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[5]: * [lib/libITKIOGDCM-4.3.1.dylib] Error 1
make[4]: * [Modules/IO/GDCM/src/CMakeFiles/ITKIOGDCM.dir/all] Error 2
make[3]: * [all] Error 2
make[2]: * [ITK-cmake/src/ITK-stamp/ITK-build] Error 2
make[1]: * [CMakeFiles/ITK.dir/all] Error 2
make: * [all] Error 2