<div dir="ltr"><div>See <a href="https://gitlab.kitware.com/vtk/vtk/issues/17350">https://gitlab.kitware.com/vtk/vtk/issues/17350</a> for bug report and patches.<div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Thanks for bringing this issue to my attention.</span><br></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div> - David<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 10, 2018 at 11:42 AM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">It looks like the Python folks changed the PyUnicode_AsUTF8() function in Python 3.7. This function used to return "char *" but in 3.7 it returns "const char *".<div><br></div><div>I'll start working on a patch for the VTK master branch, but for now your best option is to use Python 3.6.</div><span class="gmail-HOEnZb"><font color="#888888"><div><br></div><div> - David</div></font></span><div><div class="gmail-h5"><div><br></div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 10, 2018 at 8:41 AM, Camilo Diaz <span dir="ltr"><<a href="mailto:k.diaz99@gmail.com" target="_blank">k.diaz99@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>Compiling VTK 8.1.1 + python wrapper on visual studio 2013 throws this error:</div><div><div><br></div><div>error C2440: '=' : cannot convert from 'const char *' to 'char *'<span style="white-space:pre-wrap"> </span>D:\VTK-8.1.1\Wrapping\PythonCo<wbr>re\vtkPythonArgs.cxx<span style="white-space:pre-wrap"> </span>105<span style="white-space:pre-wrap"> </span>1<span style="white-space:pre-wrap"> </span>vtkWrappingPythonCore<br></div><div><br></div><div>I installed Python 3.7 in a windows 10 pc.</div><div>I used cmake-gui to build the project.</div><div><br></div><div>I'll appreciate any help.</div><span class="gmail-m_7817756297813370544HOEnZb"><font color="#888888"><div><br></div>-- <br><div dir="ltr" class="gmail-m_7817756297813370544m_2419276420209539492gmail_signature">Kmilo<br></div></font></span></div></div>
</blockquote></div><br></div></div></div></div></div>
</blockquote></div><br></div></div></div></div>