[vtk-developers] [VTK 0011817]: vtkRenderingPythonTkWidgets.dll cannot be found when trying to create a vtkTkRenderWidgetInteractor using vtkpython.exe

Mantis Bug Tracker mantis at public.kitware.com
Tue Feb 8 06:39:40 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://www.vtk.org/Bug/view.php?id=11817 
====================================================================== 
Reported By:                Jens Thomas
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   11817
Category:                   (No Category)
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-02-08 06:39 EST
Last Modified:              2011-02-08 06:39 EST
====================================================================== 
Summary:                    vtkRenderingPythonTkWidgets.dll cannot be found when
trying to create a vtkTkRenderWidgetInteractor using vtkpython.exe
Description: 
I built VTK 5.6.1 (MinSizeRel) with Visual Studio 9.0. by running the ALL_BUILD
target, and then ran the INSTALL target, which created a vtkpython.exe file in:

C:\Program Files (x86)\VTK\bin

if I run the example:

vtk-5.6.1\Examples\GUI\Python\ImagePlaneWidget.py

with vtkpython.exe, I get the following:

C:\Program Files (x86)\VTK\bin>vtkpython.exe
C:\Users\jmht\Documents\vtk-5.6.1\Examples\GUI\Python\ImagePlaneWidget.py
Traceback (most recent call last):
  File
"C:\Users\jmht\Documents\vtk-5.6.1\Examples\GUI\Python\ImagePlaneWidget.py",
line 296, in <module>
    height=600)
  File "C:\Program Files
(x86)\VTK\lib\site-packages\vtk\tk\vtkTkRenderWindowInteractor.py", line 48, in
__init__
    vtkLoadPythonTkWidgets(master.tk)
  File "C:\Program Files
(x86)\VTK\lib\site-packages\vtk\tk\vtkLoadPythonTkWidgets.py", line 69, in
vtkLoadPythonTkWidgets
    interp.call('load', filename)
_tkinter.TclError: couldn't load library "vtkRenderingPythonTkWidgets.dll": A
function specified in the import table could not be resolved by the system. 
Windows is not telling which one, I'm sorry.


vtkRenderingPythonTkWidgets.dll has been built and is located in the C:\Program
Files (x86)\VTK\bin folder.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-08 06:39 Jens Thomas    New Issue                                    
======================================================================




More information about the vtk-developers mailing list