[vtkusers] vtkTkRenderWidgetPython.cxx

Rohan Hughes frostillicusetcetera at hotmail.com
Thu Aug 11 02:42:36 EDT 2005


Hello,
I am trying to install VTK on a linux box. I have managed to install it on 
my windows machine and have everything up and running. But in linux i get 
the following error when I've called "make".

In file included from 
/home/rmhu892/VTK/VTK/Rendering/vtkTkRenderWidgetPython.cxx:20:
/home/rmhu892/VTK/VTK/Rendering/vtkTkRenderWidget.cxx: In function `int
   vtkImageDataToTkPhoto_Cmd(void*, Tcl_Interp*, int, const char**)':
/home/rmhu892/VTK/VTK/Rendering/vtkTkRenderWidget.cxx:197: invalid 
conversion
   from `const char*' to `char*'
/home/rmhu892/VTK/VTK/Rendering/vtkTkRenderWidget.cxx: In function `int
   vtkTkRenderWidget_Configure(Tcl_Interp*, vtkTkRenderWidget*, int, char**,
   int)':
/home/rmhu892/VTK/VTK/Rendering/vtkTkRenderWidget.cxx:383: invalid 
conversion
   from `const char**' to `char**'
/home/rmhu892/VTK/VTK/Rendering/vtkTkRenderWidget.cxx: In function `int
   vtkTkRenderWidget_Widget(void*, Tcl_Interp*, int, const char**)':
/home/rmhu892/VTK/VTK/Rendering/vtkTkRenderWidget.cxx:454: invalid 
conversion
   from `const char*' to `char*'
/home/rmhu892/VTK/VTK/Rendering/vtkTkRenderWidget.cxx: In function `int
   vtkTkRenderWidget_Cmd(void*, Tcl_Interp*, int, const char**)':
/home/rmhu892/VTK/VTK/Rendering/vtkTkRenderWidget.cxx:532: invalid 
conversion
   from `const char*' to `char*'
make[3]: *** [vtkTkRenderWidgetPython.o] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Rendering] Error 2
make: *** [default_target] Error 2

to me it indicates that this file isn't compiling because of the the 
converstion. I did not have this problem on windows. And I can't just not 
install python becaues I plan to use python for what I'm doing.

any suggestions?

Rohan





More information about the vtkusers mailing list