link error making 7.1.1 code

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

link error making 7.1.1 code

Oliver Cairncross-2
I'm running a few VTK installs and cmake is having problems finding the libraries. I get this:

/usr/bin/ld: cannot find -lvtkFiltersTopology

I edited the cmake file to glob all the libs and included them and it works fine. Not using the standard target_link_libraries(testVTK ${VTK_LIBRARIES}.

Just wondering if anyone is having issues? I switch to given vtk target install using this:

set(VTK_DIR "/home/uqocairn/usr/local-old-vtk/lib/cmake/vtk-7.1" CACHE PATH "VTK directory override" FORCE)


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: