[ITK-users] [ITK] Files not found
Matt McCormick
matt.mccormick at kitware.com
Wed Jan 21 15:40:44 EST 2015
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
>
More information about the Insight-users
mailing list