[vtkusers] Error linking QVTK

Cory Quammen cory.quammen at kitware.com
Wed Aug 10 10:48:22 EDT 2016


Might be a silly question, but did you build VTK with Qt support, i.e.,
with the VTK_Group_Qt option set to on?

Cory

On Wed, Aug 10, 2016 at 10:45 AM, Nico Del Piano <ndel314 at gmail.com> wrote:

> Hi all,
>
> I am having some trouble when I try to build a project that requires QVTK:
>
> $ make
> Linking CXX executable TBI_APP
> /usr/bin/ld: cannot find -lQVTK
> collect2: error: ld returned 1 exit status
> CMakeFiles/TBI_APP.dir/build.make:660: recipe for target 'TBI_APP' failed
> make[2]: *** [TBI_APP] Error 1
> CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/TBI_APP.dir/all'
> failed
> make[1]: *** [CMakeFiles/TBI_APP.dir/all] Error 2
> Makefile:75: recipe for target 'all' failed
> make: *** [all] Error 2
>
> I configure the project with ccmake but I get this linking error and I
> am not sure why. Maybe I am not configuring VTK right or something
> like that, but any help or hint will be really appreciated.
>
> Thanks!
>
> Nico.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160810/22b80dd5/attachment.html>


More information about the vtkusers mailing list