[vtkusers] Python wrapping
Gib Bogle
g.bogle at auckland.ac.nz
Sat Nov 1 22:54:53 EDT 2014
I just rebuilt VTK-5.10.1 64-bit on Windows with VTK_WRAP_PYTHON ON. The build completed without errors. I do not understand why I have 14 .lib and .dll files named vtk*PythonD.dll and vtk*PythonD.lib, and 14 .lib files named vtk*Python.lib, but no vtk*Python.dll. This causes my attempt to run a VTK-Python example to fail like this:
D:\testing\VTK\Superquadric>vtkpython superquadric.py
Traceback (most recent call last):
File "superquadric.py", line 1, in <module> import vtk
File "c:\VTK-VS10-x64\lib\site-packages\vtk\__init__.py", line 63, in <module> __helper.refine_import_err('rendering', 'vtkRenderingPython', exc)
File "c:\VTK-VS10-x64\lib\site-packages\vtk\__helper.py", line 32, in refine_import_err raise LinkError, str(exc)
vtk.__helper.LinkError: DLL load failed: %1 is not a valid Win32 application.
I see that somebody was asking exactly the same question back in October, 2010, but there was no answer.
Any suggestions?
Thanks
Gib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141102/1c92439d/attachment.html>
More information about the vtkusers
mailing list