[vtk-developers] Kits and Python wrapping

Max Smolens max.smolens at kitware.com
Wed Jul 19 14:39:49 EDT 2017


Hi David,

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:
https://gitlab.kitware.com/vtk/vtk/merge_requests/3014

Thanks,
Max

On Wed, Jul 19, 2017 at 2:10 PM, David Gobbi <david.gobbi at gmail.com> wrote:

> Hi All,
>
> 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).
>
> ==
> VTK_ENABLE_KITS:BOOL=ON
> VTK_WRAP_PYTHON:BOOL=ON
>
> make vtkWrapping
>
> Undefined symbols for architecture x86_64:
>   "_PyBytes_AsString", referenced from: vtkPythonAlgorithm::PrintSelf
> etc.
> ==
>
> In order to make it compile, I had to explicitly enable the
> vtkPythonInterpreter module:
>
> ==
> Module_vtkPythonInterpreter:BOOL=ON
> VTK_ENABLE_KITS:BOOL=ON
> VTK_WRAP_PYTHON:BOOL=ON
>
> make vtkWrapping
> success!
> ==
>
> Is there any reason why vtkPythonInterpreter must be enabled for the build
> to work?
>
> 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"?
>
> Cheers,
>  - David
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20170719/c6ba72b7/attachment-0001.html>


More information about the vtk-developers mailing list