[vtkusers] Compiling VTKRendering.dll

Dave Partyka dave.partyka at kitware.com
Fri Oct 1 20:26:03 EDT 2010


Are the QT dlls in your PATH? They need to be if you build with VTK_USE_QT
-> ON.

On Fri, Oct 1, 2010 at 5:53 PM, Иван Громов <imail at kuzzzya.ru> wrote:

> 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
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101001/63e7c9ee/attachment.htm>


More information about the vtkusers mailing list