cmake --build . – -j2
I am having the following fatal error when building root 6.20.02:
[ 62%] Building CXX object graf3d/ftgl/CMakeFiles/FTGL.dir/src/FTBitmapGlyph.cxx.o In file included from /Users/torres/soft/root/root-6.20.02/graf3d/ftgl/src/FTBitmapGlyph.cxx:3: In file included from /Users/torres/soft/root/root-6.20.02/graf3d/ftgl/inc/FTBitmapGlyph.h:9: In file included from /Users/torres/soft/root/root-6.20.02/graf3d/ftgl/inc/FTGL.h:21: **/Users/torres/soft/root/root-6.20.02-build/include/TGLIncludes.h:21:10:** **fatal error:** **'GL/glew.h' file not found** #include <GL/glew.h> **^~~~~~~~~~~** 1 error generated. make: *** [graf3d/ftgl/CMakeFiles/FTGL.dir/src/FTBitmapGlyph.cxx.o] Error 1 make: *** [graf3d/ftgl/CMakeFiles/FTGL.dir/all] Error 2 make: *** Waiting for unfinished jobs.... [ 62%] Built target BaseTROOT make: *** [all] Error 2
glew 2.1.0_1 is already installed in my machine and it is apparently linked. I am running in mac os Catalina 10.15.3.
Thanks for helping!