[vtk-developers] CMake forgets to configure gl2ps for the vtkRenderingOpenGL backend
FrankHeimes
frank.heimes at live.de
Wed Sep 21 05:17:11 EDT 2016
I'm building VTK 6.3 using CMake 3.5.2 and Visual Studio 2015 on Windows.
The call to cmake ... -DVTK_RENDERING_BACKEND_DEFAULT:STRING=OpenGL2
succeeds with no problems. However, we need to stick to OpenGL and avoid
dependencies on OpenGL2 features.
The call to cmake ... -DVTK_RENDERING_BACKEND_DEFAULT:STRING=OpenGL fails
with two unsatisfied dependencies:
CMake Error at CMake/vtkModuleAPI.cmake:120 (message):
Requested modules not available:
vtkRenderingGL2PS
vtkgl2ps
According to
http://vtk.1045678.n5.nabble.com/Adding-GL2PS-as-a-RenderingOpenGL-dependency-td5719546.html,
David has obviously added these dependencies to the OpenGL rendering
backend.
The sources for the gl2ps library and make inputs are apparently available,
but cmake doesn't create projects to build them and satisfy the above
dependencies:
ThirdParty\gl2ps\CMakeLists.txt
ThirdParty\gl2ps\module.cmake
ThirdParty\gl2ps\vtkgl2ps\CMakeLists.txt
ThirdParty\gl2ps\vtkgl2ps\gl2ps.c
ThirdParty\gl2ps\vtkgl2ps\gl2ps.h
ThirdParty\gl2ps\vtk_gl2ps.h.in
I already tried to add -DVTK_USE_GL2PS:BOOL=ON as someone proposed in
another post, but to no avail.
We don't care for postscript export. The only thing we need is NO
dependencies on OpenGL2 features.
--
View this message in context: http://vtk.1045678.n5.nabble.com/CMake-forgets-to-configure-gl2ps-for-the-vtkRenderingOpenGL-backend-tp5740470.html
Sent from the VTK - Dev mailing list archive at Nabble.com.
More information about the vtk-developers
mailing list