[vtkusers] Compiling VTKRendering.dll

Иван Громов imail at kuzzzya.ru
Fri Oct 1 17:53:38 EDT 2010


Hello,

I'm trying to compile VTK 5.6.0 with Python wrapping, CMake options are
(others are default)

   - VTK_USE_QT → ON
   - VTK_USE_GUISUPPORT → ON
   - BUILD_SHARED_LIBS → ON
   - BUILD_TESTING → OFF
   - VTK_WRAP_PYTHON  → ON

Although vcbuild doesn't report any errors, vtkRenderingPython.dll is not
compiled (vtkRenderingPythonD.dll is fine, though).
When I try to import vtk from python console, I get an error:
>>> import vtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "D:\Libs\VTK\src-5.6.1\Wrapping\Python\vtk\__init__.py", line 63, in
<module>
    __helper.refine_import_err('rendering', 'vtkRenderingPython', exc)
  File "D:\Libs\VTK\src-5.6.1\Wrapping\Python\vtk\__helper.py", line 32, in
refine_import_errraise LinkError, str(exc)
vtk.__helper.LinkError: DLL load failed: ═х эрщфхэ єърчрээ√щ ьюфєы№.

What am I missing?

Thanks,

Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101002/12a0b1be/attachment.htm>


More information about the vtkusers mailing list