[vtkusers] vtkmy, only first class gets wrapped in python

Brad King brad.king at kitware.com
Fri Dec 9 09:59:16 EST 2005


Philip Batchelor wrote:
> Hi
> 
> I'm trying to compile a vtkMy-5.0 with vtk-5.0 cvs, with Python 
> wrapping, and cmake also from cvs.
> I am getting a strange problem. It seems only the first class in 
> CMakeLists.txt gets wrapped:
> 
> Example, I created a dummy vtkBar3.cxx and have e.g. in 
> vtkMy/Imaging/CMakeLists.txt:
> 
> SET (Imaging_SRCS
>  vtkImageFoo.cxx
>  vtkBar3
> )

This should be listed as "vtkBar3.cxx" and you need to have a 
corresponding "vtkBar3.h" with a "vtkBar3" class in it to get wrapping.

-Brad



More information about the vtkusers mailing list