[vtkusers] Build VTK-7.1.0 with both python 2 and python 3 wrappers

andrew2hart . andrew2.hart at gmail.com
Tue Jan 31 04:18:10 EST 2017


Is there a recommended way to build VTK-7.1.0 with both python 2 and python
3 wrappers?
I am currently doing
cmake -DCMAKE_POSITION_INDEPENDENT_CODE=True -DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/vtk-7.1.0 -DVTK_WRAP_PYTHON=ON
-DVTK_PYTHON_VERSION=3.5.1 ../VTK-7.1.0
to get VTK with python 3 wrappers.  It works so long as python 3 is built
with --enable-shared and MESA_GL_VERSION_OVERRIDE=3.2 is set.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170131/c4315abc/attachment.html>


More information about the vtkusers mailing list