In Mac 10.14 when compiling a file myMacro.C with .L myMacro.C+ i get :
warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
In file included from input_line_1:1:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/new:85:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/exception:82:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cstdlib:86:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdlib.h:94:
**/usr/local/Cellar/root/6.18.00/etc/root/cling/lib/clang/5.0.0/include/stdlib.h:8:15:** **fatal error:** **'stdlib.h' file not found**
#include_next <stdlib.h>
I installed root on my Mac with Homebrew
On Linux it works fine . Anyone know what I should do ?