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

Aashish Chaudhary aashish.chaudhary at kitware.com
Tue Nov 11 20:59:50 EST 2014


Typically this could happen if you have rebuilding VTK with OpenGL2 backend
and early on at the same location you have built it with OpenGL backend. I
believe the problem could be related to Cache. Try building VTK from
scratch with OpenGL2 backend and see if it goes away. You can also try make
rebuild_cache.

Thanks,


On Tue, Nov 11, 2014 at 8:07 PM, Ken Martin <ken.martin at kitware.com> wrote:

> 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
>
> ___________________________________________
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
>


-- 



*| Aashish Chaudhary | Technical Leader         | Kitware Inc.            *
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20141111/f8a3e43a/attachment-0001.html>


More information about the vtk-developers mailing list