[vtkusers] building vtk without opengl and rendering

David E DeMarle dave.demarle at kitware.com
Wed May 13 19:29:22 EDT 2015


Are tests off?

Most of the tests are end to end ones that render some image and compare it
against a baseline. This could be why Rendering/OpenGL is being built.



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

On Wed, May 13, 2015 at 12:40 PM, Alex Pletzer <axp5530 at psu.edu> wrote:

> Hi VTK'ians,
>
> Is it possible to build VTK without rendering? On a platform that does not
> have OpenGL? I'm working on a project which uses VTK classes but I'm not
> producing any picture. The code should run in the cloud, which does not
> have OpenGL.
>
> I have set:
>
> VTK_Group_Rendering             *OFF
>
> When I configure, I get
>
> CMake Error at
> /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
>    Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)
>  Call Stack (most recent call first):
>    /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315
> (_FPHSA_FAILURE_MESSAGE)
>    /usr/share/cmake/Modules/FindOpenGL.cmake:161
> (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
>    Rendering/OpenGL/CMakeLists.txt:196 (find_package)
>
> Thanks in advance!
>
> --Alex
>
> _______________________________________________
> Powered by 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/20150513/15737d22/attachment.html>


More information about the vtkusers mailing list