[vtk-developers] New wiki pages on VTK 6 build system migration and module development
David Thompson
david.thompson at kitware.com
Mon Sep 17 13:50:55 EDT 2012
Hi all,
> I[Robert] have been working with Marcus to be able to use an external module with a pre built version of VTK. Here is an example CMakeLists.txt that does just this:
>
> project(Example)
>
> ...
> include(vtkExternalModuleMacros)
> include(module.cmake)
> ...
> vtk_module_library(vtkExample)
I've got an external module building properly with vtkExternalModuleMacros, but Python wrapping doesn't seem to work yet. It appears that the Python wrapper does load the hierarchy for the external project but doesn't load the hierarchy files for VTK. Because of this, it wrongly concludes that the class to be wrapped does not inherit vtkObject and leaves PyVTKAddFile_vtkExternalModuleClassName() empty.
David
More information about the vtk-developers
mailing list