Hi,<br><br>I'm new on the mailing list and VTK. I need help for I simply can't make VTK 5.6.1 work properly.<br><br>Working on Linux x64 Ubuntu 10.10, I installed VTK-5.6.1 to use it with Python.<br><br>Installation:<br>
In the Cmake step, I enabled the following option :
ENABLE_SHARED_LIBRARIES, USE_WRAP_PYTHON (and for lab reasons
VTK_USE_BOOST, VTK_USE_GUISUPPORT, VTK_USE_QT). That's it. All the path
used seemed to look okay<br>At first, configuration and generation
worked just fine. But at the "sudo make" I always got an critical error
that stopped the process during the python libraries making phase.<br>As trying to remove the python modules from the build wasn't a
solution, i started again the configure/generate/make step without
Python. It worked. Then did it again with Python and it worked too
(don't ask me why...).<br><br>Right after I installed VTK by following the "configure - generate - make - make install" steps, i tried to run simple test files for the VTK folder such as you can find in the <span style="font-family:courier new,monospace">VTK/Examples/Tutorials/Step*</span>. For instance, I used <span style="font-family:courier new,monospace">Step1/Python/Cone.py</span>. I get this error message:<br>
<br><span style="font-family:courier new,monospace">> Traceback (most recent call last):</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">> File "Cone2.py", line 15, in <module></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">> import vtk</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">> File "/usr/local/lib/python2.6/dist-packages/vtk/__init__.py", line 41, in <module></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">> from common import *</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">> File "/usr/local/lib/python2.6/dist-packages/vtk/common.py", line 7, in <module></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">> from libvtkCommonPython import *</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">> ImportError: libvtkCommonPythonD.so.5.6: cannot open shared object file: No such file or directory</span><br>
<br>After looking at that directory, I find that I only have the <span style="font-family:courier new,monospace">libvtkCommonPythonD.so</span> file with no version linking files like <span style="font-family:courier new,monospace">libvtkCommonPythonD.so.5.6</span> and <span style="font-family:courier new,monospace">libvtkCommonPythonD.so.5.6.1</span>. And it is the same for all the other file in <span style="font-family:courier new,monospace">/usr/local/lib/python2.6/dist-packages/vtk/</span><br>
I can't figure out where this problem comes from. Is there a or several option in the configuration phase that I missed? Or something else?<br><br>Thanks in advance for your help or a redirection to a discussion about this subject that plausibly already happened. If you need any other information, don't hesitate.<br>
Math<br>