[ITK-users] [ITK] Files not found

Edward Flórez Pacheco ted.florez at gmail.com
Wed Jan 21 16:21:28 EST 2015


Dear Matt
Thank you so much!
I made the change you suggested and now it is working fine.

Regards.
Edward

2015-01-21 14:40 GMT-06:00 Matt McCormick <matt.mccormick at kitware.com>:

> 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.florez at 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
> > Community at itk.org
> > http://public.kitware.com/mailman/listinfo/community
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20150121/af2e08c1/attachment.html>


More information about the Insight-users mailing list