[vtkusers] Problem wraping vtk in Python-v2

WolfgangZ wollez at gmx.net
Fri Nov 21 07:57:37 EST 2008


sylvain.roy at sjgeophysics.com schrieb:
> Thanks for the quick reply. The only thing named vtkCommonPython is
> a directory (vtkCommonPython.dir) located in
> C:\vtk-5.2.0\vtk_binary\Common\CMakeFiles. I checked again in CMake and
> all the PYTHON_ENABLE_MODULE were ON including vtkCommonPython. My folder
> C:\vtk-5.2.0\VTK_binary\Wrapping\Python contains these files:
> 
> .
> ..
> CMakeFiles
> cmake_install.cmake
> compile_all_vtk.py
> compile_all_vtk.pyc
> CTestTestfile.cmake
> Makefile
> PythonInstall.cmake
> setup.py
> setup.pyc
> vtk
> vtkPythonAppInitConfigure.h
> vtkpythonmodules.h
> vtkpythonmodules.h.in
> vtk_compile_complete
> 
> 
> Regards,
> Sylvain
> 
> 

I'm not an expert in compiling vtk but it seems to me that that it was 
not compiled correctly. You should have a lot more python files in your 
binary output path.

Do you know that pythonxy includes a pre compiled version of vtk? Have a 
look at http://www.pythonxy.com

Regards
Wolfgang




More information about the vtkusers mailing list