[ 61%] Building C object build/CMakeFiles/rmkdepend.dir/rmkdepend/include.c.o
In file included from /Users/lista/Desktop/root-6.20.00/graf3d/ftgl/src/FTBitmapGlyph.cxx:3:
In file included from /Users/lista/Desktop/root-6.20.00/graf3d/ftgl/inc/FTBitmapGlyph.h:9:
In file included from /Users/lista/Desktop/root-6.20.00/graf3d/ftgl/inc/FTGL.h:21:
/Users/lista/Desktop/root_build/include/TGLIncludes.h:21:10: fatal error: ‘GL/glew.h’ file
not found #include <GL/glew.h>
^~~~~~~~~~~
1 error generated.
make[2]: *** [graf3d/ftgl/CMakeFiles/FTGL.dir/src/FTBitmapGlyph.cxx.o] Error 1
make[1]: *** [graf3d/ftgl/CMakeFiles/FTGL.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
@llista yes we build with Catalina and with the latest Xcode. -Dbuiltin_glew=ON should help you, but it is very strange that it was not enabled automatically. Do you have opengl=ON?
Can you send me please output of your configuration step (when do you run cmake)
In file included from /Users/lista/Desktop/root_build/include/TMathBase.h:32:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cmath:318:9: error: no member named ‘signbit’ in the global namespace
using ::signbit;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cmath:319:9: error: no member named ‘fpclassify’ in the global namespace
using ::fpclassify;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cmath:320:9: error: no member named ‘isfinite’ in the global namespace
using ::isfinite;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cmath:321:9: error: no member named ‘isinf’ in the global namespace
using ::isinf;
~~^
clang++ -c test.cxx
test.cxx:1:1: warning: ‘auto’ type specifier is a C++11 extension [-Wc++11-extensions]
auto b = isfinite(0.2);
^
test.cxx:1:10: error: use of undeclared identifier ‘isfinite’
auto b = isfinite(0.2);
^
test.cxx:2:1: error: expected unqualified-id
return 0;
^
1 warning and 2 errors generated.