Hi Edward, It looks like you are trying to use a project that had a CMake configuration for ITKv3. To update the configuration for ITKv4, change
target_link_libraries(myexecutable ITKAlgorithms ITKIO ) with target_link_libraries(myexecutable ${ITK_LIBRARIES} ) HTH, Matt On Wed, Jan 21, 2015 at 3:26 PM, Edward Flórez Pacheco <ted.flo...@gmail.com> wrote: > Hi everyone > > I am a new ITK user. > Currently, I am using a set of algorithms that use ITK. > I installed the InsightToolkit - version 4.6.1 but I had these troubles: > > CMakeFiles/DicomSeriesReadImageWrite2.dir/DicomSeriesReadImageWrite2.cxx.o > Linking CXX executable DicomSeriesReadImageWrite2 > /usr/bin/ld: cannot find -lITKAlgorithms > /usr/bin/ld: cannot find -lITKIO > collect2: ld returned 1 exit status > make[2]: ** [DicomSeriesReadImageWrite2] Erro 1 > make[1]: ** [CMakeFiles/DicomSeriesReadImageWrite2.dir/all] Erro 2 > make: ** [all] Erro 2 > > If anyone has some idea about these issues and can give me some help I'll be > very thankful. > Thank you in advance. > > Best regards. > > -- > Edward Flórez > > _______________________________________________ > Community mailing list > commun...@itk.org > http://public.kitware.com/mailman/listinfo/community > _______________________________________________ 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://kitware.com/products/protraining.php 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://public.kitware.com/mailman/listinfo/insight-developers