[vtkusers] vtkTkRenderWidgetPython.cxx

Sean McBride sean at rogue-research.com
Thu Aug 11 09:55:04 EDT 2005


On 2005-08-11 16:42, Rohan Hughes said:

>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".

Which compiler are you using?

>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*'

If I was to guess, I'd say you're using gcc 4.  Such conversions used to
compile in gcc 3.x, but no longer do in 4.0.  I don't think many of the
kitware dashboards are using 4, so they may not be aware of these
problems.  Try with gcc 3.x if you can.

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtkusers mailing list