[vtkusers] Building VTK without OpenGL

Moreland, Kenneth kmorel at sandia.gov
Tue Oct 20 19:38:41 EDT 2015


Yup. For reference I attached my CMakeCache.txt.

-Ken

From: David E DeMarle <dave.demarle at kitware.com<mailto:dave.demarle at kitware.com>>
Date: Tuesday, October 20, 2015 at 5:29 PM
To: Kenneth Moreland <kmorel at sandia.gov<mailto:kmorel at sandia.gov>>
Cc: "vtkusers at vtk.org<mailto:vtkusers at vtk.org>" <vtkusers at vtk.org<mailto:vtkusers at vtk.org>>
Subject: [EXTERNAL] Re: [vtkusers] Building VTK without OpenGL

BUILD_TESTING is off too?


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Tue, Oct 20, 2015 at 6:42 PM, Moreland, Kenneth <kmorel at sandia.gov<mailto:kmorel at sandia.gov>> wrote:
I am trying to build VTK 6.3.0 on a system without OpenGL. I don't need any of the rendering components on this system, so this should not be a problem. However, even when I set VTK_Group_Rendering to OFF I get an error that CMake cannot find OpenGL on the system (because it is not there).

I tried to get around this problem by setting VTK_RENDERING_BACKEND to None, but that gives me a different error. CMake tells me that there is no such module vtkRenderingNone needed by vtkGUISupportQt (another module I don't care about and don't need compiled). I think I have all the rendering and GUI modules turned off. The error appears to be during a check of the dependency of all modules regardless of whether they are used.

How can I get the VTK build to completely ignore all rendering?

-Ken

   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: kmorel at sandia.gov<mailto:kmorel at sandia.gov>
**  ***  **  phone: (505) 844-8919<tel:%28505%29%20844-8919>
    ***      web:   http://kennethmoreland.com



_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151020/95342c40/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeCache.txt
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151020/95342c40/attachment-0001.txt>


More information about the vtkusers mailing list