<div dir="ltr">Hi David,<div><br></div><div>I also recently ran into a link error with VTK_ENABLE_KITS and VTK_WRAP_PYTHON enabled. I have an open merge request with a possible solution:</div><div><a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/3014">https://gitlab.kitware.com/vtk/vtk/merge_requests/3014</a><br></div><div><br></div><div>Thanks,</div><div>Max</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 19, 2017 at 2:10 PM, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>I'm trying to get a better understanding of how the VTK_ENABLE_KITS build works, but when I tried the build myself, I saw link errors. This is with yesterday's master (4c17357).</div><div><br></div><div>==</div><div>VTK_ENABLE_KITS:BOOL=ON<br></div><div>VTK_WRAP_PYTHON:BOOL=ON<br></div><div><br></div><div>make vtkWrapping<br></div><div><br></div><div><div>Undefined symbols for architecture x86_64:</div><div> "_PyBytes_AsString", referenced from: vtkPythonAlgorithm::<wbr>PrintSelf</div></div><div>etc.</div><div>==</div><div><br></div><div>In order to make it compile, I had to explicitly enable the vtkPythonInterpreter module:</div><div><br></div><div>==</div><div>Module_vtkPythonInterpreter:<wbr>BOOL=ON<br></div><div><div>VTK_ENABLE_KITS:BOOL=ON<br></div><div>VTK_WRAP_PYTHON:BOOL=ON</div></div><div><br></div><div><div>make vtkWrapping<br></div></div><div>success!</div><div>==</div><div><br></div><div>Is there any reason why vtkPythonInterpreter must be enabled for the build to work?</div><div><br></div><div>Also, I'm wondering about the name "vtkWrapping" for the kit. It seems that this kit isn't actually for "Wrapping" but rather is meant to include Python-related modules like vtkFiltersPython. Maybe the kit should be called something like "vtkPython" or "vtkPythonSupport"?</div><div><br></div><div>Cheers,</div><div> - David</div><div><br></div><div><br></div></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtk-<wbr>developers</a><br>
<br>
<br></blockquote></div><br></div>