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

Missing check for GLEW if builtin_glew=off

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 6.12/04
    • Fix Version/s: 6.14/00
    • Component/s: Build System
    • Labels:
      None
    • Environment:

      Debian 9.3

    • Development:

      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Actual End: