ITK Apps Can't find VTK Python lib

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

ITK Apps Can't find VTK Python lib

Kevin H. Hobbs
I just got the build error below with the Insight Applications.

Building CXX object ConnectVTKITK/CMakeFiles/_ConnectVTKITKPython.dir/ConnectVTKITK_wrapPython.o
Linking CXX shared module _ConnectVTKITKPython.so
/usr/bin/ld: cannot find -lvtkCommonPython
collect2: ld returned 1 exit status
make[2]: *** [ConnectVTKITK/_ConnectVTKITKPython.so] Error 1
make[1]: *** [ConnectVTKITK/CMakeFiles/_ConnectVTKITKPython.dir/all] Error 2
make: *** [all] Error 2

The library exists in both the build and install directories.

[kevin@gargon InsightApplications_BUILD]$ locate vtkCommonPython.so
/home/kevin/kitware/VTK_Build/bin/libvtkCommonPython.so
/opt/vtk/lib/python2.4/site-packages/vtk/libvtkCommonPython.so

What should I do to get passed the error?  

_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers

signature.asc (196 bytes) Download Attachment