Please read tips for efficient and successful posting and posting code
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided
Please read tips for efficient and successful posting and posting code
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
aarch64-linux-gnu-g+±7 -O3 -DNDEBUG -xc++ -E -v /dev/null 2>&1 | sed -n -e ‘/^.include/,${’ -e ‘/^ /.*++/p’ -e ‘}’
Results was:
With exit code 0
input_line_1:1:10: fatal error: ‘new’ file not found
#include
^~~~~
Warning in cling::IncrementalParser::CheckABICompatibility():
Failed to extract C++ standard library version.
****************** CLING ******************
since the target machine doesn’t have C++ support, aarch64-linux-gnu-g+±7 is not existed.
how can i disable to load C++ lib/include check?
Thanks
Xinghao Chen
i found option of -nostdinc++, looks cling skips to invoke C++ lib/include,
but what internal command get return “new”, which result in the below error?
cling -nostdinc++
input_line_1:1:10: fatam’new’ file not found
#include
^~~~~
Warning in cling::IncrementalParser::CheckABICompatibility():
Failed to extract C++ standard library version.
****************** CLING ******************
Type .q to exit *
[cling]$
cling needs the std library headers to work. You’re saying that you have the std library headers but no compiler on the target?
yes, no C++ compiler in the target, since my application doesn’t need C++.
via -nostdinc++, from the log, indeed aarch64-linux-gnu-g+±7 is not invoked,
however i still get below warning, sound it’s some command’s output as the input for cling.
input_line_1:1:10: fatam’new’ file not found
#include
^~~~~
Warning in cling::IncrementalParser::CheckABICompatibility():
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.