[vtkusers] building vtk without opengl and rendering
Alex Pletzer
axp5530 at psu.edu
Wed May 13 12:40:31 EDT 2015
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
More information about the vtkusers
mailing list