[vtkusers] C++_Python_VTK

Yenan Qu yq07 at fsu.edu
Mon Oct 27 13:19:54 EDT 2008


Can anybody help? 

----- Original Message -----
From: Yenan Qu <yq07 at fsu.edu>
Date: Wednesday, October 22, 2008 11:54 am
Subject: [vtkusers] C++_Python_VTK
To: VTK Users <vtkusers at vtk.org>

> Hi, all
> has anyone ever worked on calling VTK-python command from C++ with  
> PyImport_Import?  
> I have no problem to run command "pyhton VTK_filename.py" from 
> command line after installing the Python and VTK package,
> but when I called the same file from C++ with Pyhton library, I 
> alway got some errors like "libvtk....   undefined reference to 
> ........." during compilation, and "libvtk... undefined 
> symbol........." or seg fault during run time.(the errors are 
> depend on different version VTK.)  if anyone has any possible 
> solution, please let me know . thank you in advance 
> 
> Yenan
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: 
> http://www.vtk.org/Wiki/VTK_FAQFollow this link to 
> subscribe/unsubscribe:http://www.vtk.org/mailman/listinfo/vtkusers
> 



More information about the vtkusers mailing list