Ok I just saw (and remembered) that insighttoolkit3 has been requested to be removed. Does this mean we have to make FW4SPL compatible with the last ITK version ? Is it the only way ?
Thank you, Corentin 2015-12-23 9:36 GMT+01:00 Corentin Desfarges < [email protected]>: > Hi Andreas > > Yesterday I fixed my vtk issue by replacing libvtk5.8-qt4 with > libvtk5.10-qt4. > But now, I'm face to an itk problem during linking : > > [100%] Linking CXX executable bin/fwItkIOTest >> cd /home/corentin/dev/fw4spl/obj-x86_64-linux-gnu/fwItkIOTest && >> /usr/bin/cmake -E cmake_link_script CMakeFiles/fwItkIOTest.dir/link.txt >> --verbose=1 >> /usr/bin/c++ -g -O2 -fPIE -fstack-protector-strong -Wformat >> -Werror=format-security -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIE -pie >> -Wl,-z,relro -Wl,-z,now -Wl,--as-needed >> CMakeFiles/fwItkIOTest.dir/tu/src/helper.cpp.o >> CMakeFiles/fwItkIOTest.dir/tu/src/ImageReaderWriterTest.cpp.o >> CMakeFiles/fwItkIOTest.dir/tu/src/ImageReaderWriterJPGTest.cpp.o >> CMakeFiles/fwItkIOTest.dir/__/__/CMake/cppunit/cppunit_main.cpp.o -o >> bin/fwItkIOTest-0.0 -rdynamic ../lib/fw4spl/libfwTest.so.0.1 >> ../lib/fw4spl/libfwItkIO.so.0.1 -lcppunit ../lib/fw4spl/libfwDataIO.so.0.2 >> ../lib/fw4spl/libfwDataTools.so.0.1 -lz ../lib/fw4spl/libfwComEd.so.0.1 >> ../lib/fw4spl/libfwServices.so.0.1 ../lib/fw4spl/libfwActivities.so.0.1 >> ../lib/fw4spl/libfwDataCamp.so.0.1 ../lib/fw4spl/libfwMedData.so.0.1 >> ../lib/fw4spl/libfwData.so.0.1 ../lib/fw4spl/libfwMath.so.0.1 >> ../lib/fw4spl/libfwMemory.so.0.1 ../lib/fw4spl/libfwTools.so.0.1 >> -lboost_signals ../lib/fw4spl/libfwCamp.so.0.1 >> ../lib/fw4spl/libfwCom.so.0.1 ../lib/fw4spl/libfwThread.so.0.1 >> -lboost_iostreams -lcamp ../lib/fw4spl/libfwRuntime.so.0.3 >> ../lib/fw4spl/libfwCore.so.0.1 -lboost_chrono -lboost_log -lboost_log_setup >> -lboost_thread -lpthread -lxml2 -lboost_regex -lboost_filesystem >> -lboost_date_time -lboost_system /usr/lib/libITKCommon.so >> /usr/lib/libITKIO.so /usr/lib/libITKMetaIO.so /usr/lib/libITKznz.so >> /usr/lib/libitksys.so /usr/lib/libITKNrrdIO.so >> /usr/lib/x86_64-linux-gnu/libgdcmMSFF.so.2.6.1 >> /usr/lib/x86_64-linux-gnu/libgdcmDICT.so.2.6.1 >> /usr/lib/x86_64-linux-gnu/libgdcmIOD.so.2.6.1 >> /usr/lib/x86_64-linux-gnu/libgdcmDSED.so.2.6.1 >> /usr/lib/x86_64-linux-gnu/libgdcmCommon.so.2.6.1 -lpng -lz -litktiff >> /usr/lib/libITKSpatialObject.so /usr/lib/libITKDICOMParser.so >> /usr/lib/libITKEXPAT.so /usr/lib/libITKniftiio.so -lITKTransformIOReview >> -lvgl_algo -lvnl_algo -lvnl -lv3p_netlib >> -Wl,-rpath,/home/corentin/dev/fw4spl/obj-x86_64-linux-gnu/lib/fw4spl >> >> >> >> >> >> >> >> >> >> >> >> *../lib/fw4spl/libfwItkIO.so.0.1: undefined reference to >> `itk::ObjectFactoryBase::CreateAllInstance[abi:cxx11](char >> const*)'../lib/fw4spl/libfwItkIO.so.0.1: undefined reference to >> `itk::ExceptionObject::SetLocation(std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocator<char> > >> const&)'../lib/fw4spl/libfwItkIO.so.0.1: undefined reference to >> `itk::ObjectFactoryBase::GetClassOverrideWithNames[abi:cxx11]()'../lib/fw4spl/libfwItkIO.so.0.1: >> undefined reference to >> `itk::MetaDataDictionary::operator[](std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocator<char> > >> const&)'../lib/fw4spl/libfwItkIO.so.0.1: undefined reference to >> `itk::NumericSeriesFileNames::GetFileNames[abi:cxx11]()'../lib/fw4spl/libfwItkIO.so.0.1: >> undefined reference to >> `itk::ExceptionObject::ExceptionObject(std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocator<char> > const&, unsigned int, >> std::__cxx11::basic_string<char, std::char_traits<char>, >> std::allocator<char> > const&, std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocator<char> > >> const&)'../lib/fw4spl/libfwItkIO.so.0.1: undefined reference to >> `itk::ObjectFactoryBase::GetEnableFlags[abi:cxx11]()'../lib/fw4spl/libfwItkIO.so.0.1: >> undefined reference to >> `itk::ExceptionObject::SetDescription(std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocator<char> > >> const&)'../lib/fw4spl/libfwItkIO.so.0.1: undefined reference to >> `itk::ImageIOBase::GetComponentTypeAsString[abi:cxx11](itk::ImageIOBase::IOComponentType) >> const'../lib/fw4spl/libfwItkIO.so.0.1: undefined reference to >> `itk::ObjectFactoryBase::GetClassOverrideNames[abi:cxx11]()'../lib/fw4spl/libfwItkIO.so.0.1: >> undefined reference to >> `itk::ObjectFactoryBase::CreateAllObject[abi:cxx11](char >> const*)'../lib/fw4spl/libfwItkIO.so.0.1: undefined reference to >> `itk::ObjectFactoryBase::GetClassOverrideDescriptions[abi:cxx11]()'* >> collect2: error: ld returned 1 exit status > > > Did I miss anything about the itk package ? > > Thanks for your help > > Corentin >

