On 03/02/2010 04:09 PM, Denis Barbier wrote:
On 2010/3/1 Michal Suchanek wrote:
Package: python-vtk
Version: 5.4.2-5
Severity: normal
Hello
I am trying to build InstghtApplications against the Debian itk/vtk
packages and the build cannot find libvtkCommonPython:
[ 64%] Building CXX object ConnectVTKITK/CMakeFiles/_ConnectVTKITKPyt
hon.dir/ConnectVTKITK_wrapPython.o
Linking CXX shared module ../VolviewPlugIns/bin/_ConnectVTKITKPython.
so
/usr/bin/ld: cannot find -lvtkCommonPython
There is libvtkCommonPythonD so I am wondering if some cmake voodoo
failed to determine the correct library name or there is a symlink
missing.
vtkCommonPython and vtkCommonPythonD are different things, the former
is located at /usr/lib/pyshared/python2.5/vtk/libvtkCommonPython.so
Yes, I found the libraries in pyshared and linked them to /usr/lib and
now the build works.
I am still not sure if cmake should have figured out to include
-L/usr/lib/pyshared/python2.5/vtk/ and if so why it did not or if these
symlinks should have been installed.
Thanks
Michal
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org