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

Andrew Maclean andrew.amaclean at gmail.com
Tue Nov 11 22:17:31 EST 2014


Impressive ... check out:
http://open.cdash.org/viewTest.php?onlyfailed&buildid=3567081

 98% tests passed, 30 tests failed out of 1888

If you think this is Ok, feel free to merge on my behalf:
http://review.source.kitware.com/#/c/17948/
Gerrit seems happy with it.


Regards
   Andrew

On Wed, Nov 12, 2014 at 1:22 PM, Andrew Maclean <andrew.amaclean at gmail.com>
wrote:

> Ken,
>    Thank you for your prompt reply.
>
> Before running CMake, I deleted the whole build directory just to be on
> the safe side!
>
> The culprit seems to be VTK_GROUP_WEB it forces the enabling of
> vtkRenderingOpenGL instead of vtkRenderingOpenGL2.
> So I have disabled this for now.
>
> I then get a successful build if I add a missing header <algorithm> to
> vtkCompositePolyDataMapper2.cxx so I will submit a topic for your
> consideration.
>
> Regards
>     Andrew
>
> 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
>
> ___________________________________________
>



-- 
___________________________________________
Andrew J. P. Maclean

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


More information about the vtk-developers mailing list