[vtk-developers] OpenGL2 and Windows 8.1 - how to disable vtkRenderingOpenGL

Ken Martin ken.martin at kitware.com
Tue Nov 11 20:07:12 EST 2014


What you did sounds fine. Something else must be pulling the old OpenGL in.
Try looking at the cmake configure output for vtkRenderingOpenGL and see if
there is a module requiring it. Typically it looks something like



* vtkjpeg, needed by 2 modules:

vtkIOImage

vtktiff



maybe seeing what modules are requiring it will give you an idea on what
needs to be turned off.



Thanks

Ken



Ken Martin PhD

Chairman & CFO

Kitware Inc.

28 Corporate Drive

Clifton Park NY 12065

ken.martin at kitware.com

518 881-4901 (w)

518 371-4573 (f)



This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message.  Thank you.



*From:* vtk-developers [mailto:vtk-developers-bounces at vtk.org] *On Behalf
Of *Andrew Maclean
*Sent:* Tuesday, November 11, 2014 5:40 PM
*To:* VTK Developers
*Subject:* [vtk-developers] OpenGL2 and Windows 8.1 - how to disable
vtkRenderingOpenGL



I thought I might try an OpenGL2 build in Windows 8.1 for VTK.



I keep getting this error:

CMake Error at Rendering/OpenGL/CMakeLists.txt:3 (message):
vtkRenderingOpenGL cannot be built with vtkRenderingOpenGL2, please disable
one of them.



How do I disable vtkRenderingOpenGL?

I deleted the cache and set the VTK_RENDERING_BACKEND variable to OpenGL2,
which I thought would have automatically disabled vtkRenderingOpenGL.



Any advice?



Thanks

   Andrew







-- 

___________________________________________
Andrew J. P. Maclean

___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20141111/d0074be9/attachment.html>


More information about the vtk-developers mailing list