[vtkusers] ITK Apps Can't find VTK Python lib

Kevin H. Hobbs kevin.hobbs.1 at ohiou.edu
Wed Feb 15 12:07:58 EST 2006


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 at 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?  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060215/ab22ce45/attachment.pgp>


More information about the vtkusers mailing list