MantisBT - VTK
View Issue Details
0001565VTK(No Category)public2005-02-02 02:102013-04-05 19:32
 
David Partyka 
normalminoralways
closedwon't fix 
 
 
0001565: Failing ::safe::loadTk in vtk executable
Tk isn't available from slave interpreters in vtk executable.
$ vtk
% ::safe::interpCreate
interp0
% ::safe::loadTk interp0
package "Tk" isn't loaded statically
%

My fix is:
--- vtkTkAppInit.cxx.orig 2004-07-29 05:17:03.000000000 +0900
+++ vtkTkAppInit.cxx 2005-02-01 23:32:19.000000000 +0900
@@ -401,8 +401,9 @@
   if (Tk_Init(interp) == TCL_ERROR)
     {
     return TCL_ERROR;
     }
+ Tcl_StaticPackage(interp, "Tk", Tk_Init, Tk_SafeInit);
 #endif

   /* init the core vtk stuff */
   if (Vtkcommontcl_Init(interp) == TCL_ERROR)
No tags attached.
Issue History
2008-11-30 09:21Mathieu MalaterreAssigned ToMathieu Malaterre => David Cole
2011-01-19 10:12David ColeAssigned ToDavid Cole => David Partyka
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2013-04-05 19:32Berk GeveciStatusbacklog => tabled
2013-04-05 19:32Berk GeveciResolutionopen => won't fix
2013-04-05 19:32Berk GeveciStatustabled => closed

There are no notes attached to this issue.