Are the QT dlls in your PATH? They need to be if you build with VTK_USE_QT -> ON.<br><br><div class="gmail_quote">On Fri, Oct 1, 2010 at 5:53 PM, Иван Громов <span dir="ltr"><<a href="mailto:imail@kuzzzya.ru">imail@kuzzzya.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br><br>I'm trying to compile VTK 5.6.0 with Python wrapping, CMake options are (others are default)<br><ul>
<li>
VTK_USE_QT → ON </li><li>
VTK_USE_GUISUPPORT → ON </li><li>
BUILD_SHARED_LIBS → ON </li><li>
BUILD_TESTING → OFF </li><li>VTK_WRAP_PYTHON → ON<br></li></ul>Although vcbuild doesn't report any errors, vtkRenderingPython.dll is not compiled (vtkRenderingPythonD.dll is fine, though).<br>When I try to import vtk from python console, I get an error:<br>
>>> import vtk<br>Traceback (most recent call last):<br> File "<stdin>", line 1, in <module><br> File "D:\Libs\VTK\src-5.6.1\Wrapping\Python\vtk\__init__.py", line 63, in <module><br>
__helper.refine_import_err('rendering', 'vtkRenderingPython', exc)<br> File "D:\Libs\VTK\src-5.6.1\Wrapping\Python\vtk\__helper.py", line 32, in refine_import_errraise LinkError, str(exc)<br>
vtk.__helper.LinkError: DLL load failed: ═х эрщфхэ єърчрээ√щ ьюфєы№.<br><br>What am I missing? <br><br>Thanks,<br><br>Ivan<br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>