[vtk-developers] CMake forgets to configure gl2ps for the vtkRenderingOpenGL backend

David Lonie david.lonie at kitware.com
Fri Sep 23 10:57:45 EDT 2016


On Wed, Sep 21, 2016 at 5:17 AM, FrankHeimes <frank.heimes at live.de> wrote:

> I'm building VTK 6.3 using CMake 3.5.2 and Visual Studio 2015 on Windows.
>
> The call to   cmake ... -DVTK_RENDERING_BACKEND_DEFAULT:STRING=OpenGL2
> succeeds with no problems. However, we need to stick to OpenGL and avoid
> dependencies on OpenGL2 features.
>
> The call to   cmake ... -DVTK_RENDERING_BACKEND_DEFAULT:STRING=OpenGL
> fails
>

The usual way to set the backend is with VTK_RENDERING_BACKEND, not
VTK_RENDERING_BACKEND_DEFAULT. Can you try changing your cmake command to
set this variable instead?

Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160923/c53db35e/attachment.html>


More information about the vtk-developers mailing list