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:
I think we would need some more information about the environment. Can you tell us the version of ROOT you are using and how you installed it? Also, what’s the command line you use to run the macro?