[vtkusers] Re: Error compilling with mingw
Wolfgang
wollez at gmx.net
Fri Dec 8 11:31:12 EST 2006
Hallo David,
thank you. I've got it compiled now. It only seems that I've something
wrongly configured as I get the libvtk...dlls and during install of the
python wrapper it complains about missing vtk.dlls (without the lib).
Sometimes it is a bit challenging to compile gnu originated software
under windows.
Regards
Wolfgang
David Cole schrieb:
> 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...
>
> Hope this helps,
> David Cole
>
>
> On 12/7/06, *Wolfgang* <wollez at gmx.net <mailto:wollez at gmx.net>> wrote:
>
> Hello,
>
> I'm quite new to VTK but I want tu use the python (2.5) bindings. During
> compillation with mingw32 I get the following error:
>
> [ 13%] Building CXX object
> Common/CMakeFiles/vtkCommonPythonD.dir/vtkPythonUtil.
> obj
> C:\VTK\Common\vtkPythonUtil.cxx: In function `PyObject*
> PyVTKClassMetaType_GetAt
> tr(PyTypeObject*, char*)':
> C:\VTK\Common\vtkPythonUtil.cxx:771: error: invalid conversion from
> `const char*
> ' to `char*'
> mingw32-make[2]: ***
> [Common/CMakeFiles/vtkCommonPythonD.dir/vtkPythonUtil.obj]
> Error 1
> mingw32-make[1]: *** [Common/CMakeFiles/vtkCommonPythonD.dir/all]
> Error 2
> mingw32-make: *** [all] Error 2
>
> Any Ideas?
> Wolfgang
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ <http://www.vtk.org/Wiki/VTK_FAQ>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list