[vtkusers] vtkPoissonReconstruction problem in Release mode
João Domingos
joao.sousa.domingos at gmail.com
Sat May 19 00:04:29 EDT 2012
Ok. Almost there..
So I did try both:
- adding this on my script where I use the filter
import sys
sys.path.append('/opt/VTK/vtkPoissonReconstruction/build')
from vtkPoissonReconstructionPython import *
- and adding this at the end of sudo nano ~/.bashrc:
export PYTHONPATH=$PYTHONPATH:/opt/VTK/vtkPoissonReconstruction/build
With both I got the following error:
ImportError: /opt/VTK/vtkPoissonReconstruction/build/vtkPoissonReconstructionPython.so:
undefined symbol: _ZN13CoredMeshData12IN_CORE_FLAGE
google couldn't help me on this.. What can it be?
Many thanks again,
Joao
On 18 May 2012 20:27, David Gobbi <david.gobbi at gmail.com> wrote:
> You need to tell Python where the module is:
> http://docs.python.org/tutorial/modules.html#the-module-search-path
>
> On Fri, May 18, 2012 at 1:16 PM, João Domingos
> <joao.sousa.domingos at gmail.com> wrote:
>> Ok. Thank you. I will try to have a look into the filter.
>>
>> Regarding the import:
>>
>> from vtkPoissonReconstructionPython import *
>> ImportError: No module named vtkPoissonReconstructionPython
>>
>> It is the same thing.. I must need to tell vtk where the folder with
>> the filter is.. What do you think?
>>
>> Joao
More information about the vtkusers
mailing list