[vtkusers] Error linking QVTK
Nico Del Piano
ndel314 at gmail.com
Wed Aug 10 11:05:29 EDT 2016
Hey Cory, thanks for your reply.
Yes, that option is activated, and I have VTK installed.
Also, something weird happens, when configuring with cmake, if I try
to change the version of `qmake` (to 5.7), it changes:
This is by default:
I change to:
and it goes back automatically:
2016-08-10 11:48 GMT-03:00 Cory Quammen <cory.quammen at kitware.com>:
> Might be a silly question, but did you build VTK with Qt support, i.e., with
> the VTK_Group_Qt option set to on?
> 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: *** [TBI_APP] Error 1
>> CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/TBI_APP.dir/all'
>> make: *** [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.
>> Powered by www.kitware.com
>> Visit other Kitware open-source projects at
>> Please keep messages on-topic and check the VTK FAQ at:
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>> Follow this link to subscribe/unsubscribe:
> Cory Quammen
> R&D Engineer
> Kitware, Inc.
More information about the vtkusers