Hello Everyone,
I’m trying to run a macros in order to analyse some data on a MacOS Catalina. However, it all fails at the compile step. The first error I get (and which spawns most of the others) is this one:
/opt/local/libexec/root6/etc/root/cling/lib/clang/5.0.0/include/stdlib.h:8:15: fatal error: 'stdlib.h' file not found
#include_next <stdlib.h>
That file contains the following:
#ifndef ROOT_INCLUDE_STDLIB_H
#define ROOT_INCLUDE_STDLIB_H
/* axel@cern.ch, 2015-06-02
NOT part of clang but injected by ROOT.
Adds include guards for stdlib.h to avoid re-parse from disk.
*/
#include_next <stdlib.h>
#endif /*ROOT_INCLUDE_STDLIB_H*/
As far as I understand ROOT can’t find the stdlib.h . I have that library located in:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h
How can I fix this? I never before had a problem like this when running other macros.
Sorry if this thread is misplaced and thanks to all for your help in advance.