[vtkusers] Problem wraping vtk in Python-v2
sylvain.roy at sjgeophysics.com
sylvain.roy at sjgeophysics.com
Fri Nov 21 08:32:13 EST 2008
Thanks for your help. I just found a "Python 2.5 enabled VTK 5.2 Windows
binaries" at
http://cpbotha.net/2008/09/23/python-25-enabled-vtk-52-windows-binaries/.
After a full day of try and fail, it took me 5 minutes to make this works.
Cheers,
Sylvain
> 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
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list