Describe the bug
I followed the instructions but encountered an error.
Is there anything else I need to install as a prerequisite?
$./bin/cling '#include <stdio.h>' 'printf("Hello World!\n")'
I got the following error:
$ ./bin/cling '#include <stdio.h>' 'printf("Hello World!\n")'
ERROR in cling::CIFactory::createCI():
resource directory /home/xx/cling-build/lib/clang/16 not found!
In file included from input_line_3:1:
/usr/include/stdio.h:33:10: fatal error: 'stddef.h' file not found
#include <stddef.h>
^~~~~~~~~~
input_line_4:2:2: error: use of undeclared identifier 'printf'
printf("Hello World!\n")
Expected behavior
it prints "Hello World!"
To Reproduce
Setup
- Cling version
1.1~dev
- Operating system
CentOS Stream 9
- How you obtained Cling, such as with cpt.py (also mention flags) / you built it yourself.
Follow the instruction
Additional context
Describe the bug
I followed the instructions but encountered an error.
Is there anything else I need to install as a prerequisite?
I got the following error:
Expected behavior
it prints "Hello World!"
To Reproduce
Setup
1.1~dev
CentOS Stream 9
Follow the instruction
Additional context