[ITK] Error in compilation of ITK

Sam Raby rabysam28 at gmail.com
Fri Mar 28 17:42:27 EDT 2014


I have checked out the latest version of ITK and VTK.

My VTK is Qt-enabled. The QT version is 5.0-2. Is there any variable that I
should set in ITK ccmake, so that it can see my Qt? I did not know ITK is
sort of linked with Qt during its compilation?
thanks,


On Fri, Mar 28, 2014 at 4:32 PM, Michka Popoff <michkapopoff at gmail.com>wrote:

> Hi
>
> which version of ITK and VTK are you trying to compile ?
>
> The error message is telling you that it can not find Qt5. Have you Qt5
> installed ?
>
> Michka
>
> Le 28 mars 2014 à 22:28, Sam Raby a écrit :
>
> Hello,
>
> I am compliining ITK wiith ItkVtkGlue ON. ITK and VTK both are the latest
> versuib that I got from github.
> I am getting the following error and was wondering whether you know why
> the complication encounters the following error, as I could not figure this
> out?
>
> [ 69%] Building CXX object
> Modules/Core/Common/test/CMakeFiles/ITKCommon1TestDriver.dir/itkImageRandomIteratorTest.cxx.o
> [ 70%] Building CXX object
> Modules/Core/Common/test/CMakeFiles/ITKCommon2TestDriver.dir/itkTreeContainerTest.cxx.o
> [ 70%] Building CXX object
> Modules/Core/Common/test/CMakeFiles/ITKCommon2TestDriver.dir/itkVariableLengthVectorTest.cxx.o
> [ 70%] Building CXX object
> Modules/Core/Common/test/CMakeFiles/ITKCommon2TestDriver.dir/itkSpatialFunctionTest.cxx.o
> /usr/bin/ld: cannot find -lQt5::Widgets
> collect2: ld returned 1 exit status
> make[2]: *** [bin/ITKVtkGlueTestDriver] Error 1
> make[1]: ***
> [Modules/Bridge/VtkGlue/test/CMakeFiles/ITKVtkGlueTestDriver.dir/all] Error
> 2
> make[1]: *** Waiting for unfinished jobs....
>
>
> Thanks
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140328/c3302ee5/attachment-0002.html>


More information about the Community mailing list