[vtkusers] vtkmy, only first class gets wrapped in python
Philip Batchelor
philip.batchelor at ucl.ac.uk
Fri Dec 9 09:58:31 EST 2005
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
)
At compilation:
'Building CXX object Imaging/CMakeFiles/vtkmyImaging.dir/vtkImageFoo.o
<----- ImageFoo
Building CXX object
Imaging/CMakeFiles/vtkmyImaging.dir/vtkBar3.o <----- Bar3
Linking CXX shared library ../bin/libvtkmyImaging.so
[...] but [...]
'Building CXX object
Imaging/CMakeFiles/vtkmyImagingPythonD.dir/vtkImageFooPython.o <---
Only ImageFoo!?
Building CXX object
Imaging/CMakeFiles/vtkmyImagingPythonD.dir/vtkmyImagingPythonInit.o
Linking CXX shared library ../bin/libvtkmyImagingPythonD.so
Scanning dependencies of target vtkmyImagingPython
Building CXX object
Imaging/CMakeFiles/vtkmyImagingPython.dir/vtkmyImagingPythonInit.o[...]'
vtkBar3Python doesn't appear. (and just to make sure, when I swap Bar3
and ImageFoo, it is ImageFoo which disappears).
(and is not mentioned in vtkmyImagingPythonInit*).
Anyone has an idea? Feels like I'm doing something stupid, but can't see
what...
Ph
More information about the vtkusers
mailing list