Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-9190

Missing check for GLEW if builtin_glew=off

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Medium
    • Resolution: Fixed
    • 6.12/04
    • 6.14/00
    • Build System
    • None
    • Debian 9.3

    Description

      CMake configure does not check for GLEW if builtin_glew=off. This results in the following compile-time error if GLEW is not installed:

      [...]
      Scanning dependencies of target RGL
      [ 84%] Building CXX object graf3d/gl/CMakeFiles/RGL.dir/G__RGL.cxx.o
      [ 84%] Building CXX object graf3d/gl/CMakeFiles/RGL.dir/src/CsgOps.cxx.o
      [ 84%] Building CXX object graf3d/gl/CMakeFiles/RGL.dir/src/TArcBall.cxx.o
      [ 84%] Building CXX object graf3d/gl/CMakeFiles/RGL.dir/src/TF2GL.cxx.o
      In file included from /home/user/tmp/root/graf3d/gl/src/TF2GL.cxx:25:0:
      /home/user/tmp/root-build/include/TGLIncludes.h:21:21: fatal error: GL/glew.h: No such file or directory
       #include <GL/glew.h>
                           ^
      compilation terminated.

      Attachments

        Activity

          People

            amadio Guilherme Amadio
            wieneman Peter Wienemann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: