[vtk-developers] cannot link QVTKWidgetPlugin.dylib
Aaron Knoll
knolla at tacc.utexas.edu
Thu Jan 24 14:51:06 EST 2013
This is odd, and I suspect it has to do with some Cmake settings.
I'm compiling a project that depends on QVTKWidgetPlugin. In CMakeLists I have the following:
find_package(VTK REQUIRED)
include(${VTK_USE_FILE})
set(LIBS ${LIBS} QVTKWidgetPlugin vtkRenderingFreeTypeOpenGL vtkRenderingVolumeOpenGL vtkInteractionStyle vtkChartsCore )
ld: library not found for -lQVTKWidgetPlugin
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The only difference I've noticed is in VTK/lib, all other libraries have version numbering, e.g.
libvtkzlib-6.0.1.dylib
libvtkzlib-6.0.dylib
And QVTKWidgetPlugin does not:
libQVTKWidgetPlugin.dylib
But even when I manually create symbolic links, linking fails with exactly the same error!
Any ideas? Thanks!
-Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130124/5daedf8d/attachment.html>
More information about the vtk-developers
mailing list