VTK 7.0 fails to build on Fedora 23
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
While building VTK 7.0 downloaded as a tar.gz archive from the official VTK website, on Fedora 23, this error comes up:
/home/srsly111/Software_source_packages/VTK-7.0.0/Rendering/GL2PS/vtkGL2PSContextDevice2D.cxx:23:34: fatal error: vtkOpenGLGL2PSHelper.h: No such file or directory compilation terminated. Rendering/GL2PS/CMakeFiles/vtkRenderingGL2PS.dir/build.make:72: recipe for target 'Rendering/GL2PS/CMakeFiles/vtkRenderingGL2PS.dir/vtkGL2PSContextDevice2D.cxx.o' failed make[2]: *** [Rendering/GL2PS/CMakeFiles/vtkRenderingGL2PS.dir/vtkGL2PSContextDevice2D.cxx.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 66%] Tcl Wrapping - generating vtkQtInitializationTcl.cxx /home/srsly111/Software_source_packages/VTK-7.0.0/Rendering/GL2PS/vtkGL2PSUtilities.cxx:24:34: fatal error: vtkOpenGLGL2PSHelper.h: No such file or directory compilation terminated. Rendering/GL2PS/CMakeFiles/vtkRenderingGL2PS.dir/build.make:96: recipe for target 'Rendering/GL2PS/CMakeFiles/vtkRenderingGL2PS.dir/vtkGL2PSUtilities.cxx.o' failed make[2]: *** [Rendering/GL2PS/CMakeFiles/vtkRenderingGL2PS.dir/vtkGL2PSUtilities.cxx.o] Error 1 CMakeFiles/Makefile2:17459: recipe for target 'Rendering/GL2PS/CMakeFiles/vtkRenderingGL2PS.dir/all' failed make[1]: *** [Rendering/GL2PS/CMakeFiles/vtkRenderingGL2PS.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....
While the aforementioned file exists in the source tree:
$ locate vtkOpenGLGL2PSHelper.h /home/srsly111/Software_source_packages/VTK-7.0.0/Rendering/OpenGL/vtkOpenGLGL2PSHelper.h