This has been fixed in the main trunk of CVS VTK and also in the VTK-5-0 branch. If you pull the source tree for VTK from CVS, it should be fixed. Alternatively, you can simply edit vtkPythonUtil.cxx and change the "char *" to "const char *" on line 771...
<br><br>Hope this helps,<br>David Cole<br><br><br><div><span class="gmail_quote">On 12/7/06, <b class="gmail_sendername">Wolfgang</b> &lt;<a href="mailto:wollez@gmx.net">wollez@gmx.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>I'm quite new to VTK but I want tu use the python (2.5) bindings. During<br>compillation with mingw32 I get the following error:<br><br>[ 13%] Building CXX object<br>Common/CMakeFiles/vtkCommonPythonD.dir/vtkPythonUtil.
<br>obj<br>C:\VTK\Common\vtkPythonUtil.cxx: In function `PyObject*<br>PyVTKClassMetaType_GetAt<br>tr(PyTypeObject*, char*)':<br>C:\VTK\Common\vtkPythonUtil.cxx:771: error: invalid conversion from<br>`const char*<br>' to `char*'
<br>mingw32-make[2]: ***<br>[Common/CMakeFiles/vtkCommonPythonD.dir/vtkPythonUtil.obj]<br>Error 1<br>mingw32-make[1]: *** [Common/CMakeFiles/vtkCommonPythonD.dir/all] Error 2<br>mingw32-make: *** [all] Error 2<br><br>Any Ideas?
<br>Wolfgang<br><br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ
</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br>