[Insight-users] ITK+QT
Alessandro
notinmyhead at gmail.com
Thu Sep 27 10:55:09 EDT 2012
Since you're including 4.2 version of the include files, you need to change your library version to -lITKCommon-4.2 and so on
Ale
Il giorno 27/set/2012, alle ore 15.46, fabiola ha scritto:
> Hello,
>
> I am sorry barging in with a silly question, but I am really stuck in the
> beginning: to compile an ITK example (DicomSeriesReadImageWrite2) in QT.
> I am using: Ubuntu 12.04, QT Creator 2.5.2 and ITK 4.2.
>
> I added ITK libraries to .pro like I did before for VTK (and it worked):
> INCLUDEPATH += /usr/local/include/vtk-5.10 \
> /usr/local/include/ITK-4.2
>
> LIBS += -lvtkDICOMParser \
> -lvtkRendering \
> -lvtkCommon \
> -lvtkIO \
> -lvtkFiltering \
> -lQVTK \
>
> LIBS += -L/usr/local/lib/ \
> -lITKCommon-4.1 \
> -lITKDICOMParser-4.1
>
> QMAKE_CXXFLAGS += -Wno-deprecated
>
> but unfortunately the compiler telling me that: "cannot find
> -lITKCommon-4.1" (I checked, the libraries are in my /usr/local/lib...)
>
> Please help me out. I can't find any solution on the net, just seeing that
> the others had the same problem, but no solution...
>
> Thank you in advance,
> Fabiola.
>
>
>
> --
> View this message in context: http://itk-users.7.n7.nabble.com/ITK-QT-tp29470p29571.html
> Sent from the ITK - Users mailing list archive at Nabble.com.
> _____________________________________
> 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://www.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://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list