Hi,
In this post I learned how to embed stand-alone cling
to a compiled C++ program.
I want to do something similar, but I don’t want to introduce another dependency (stand-alone cling
), if possible.
I browsed the headers installed on my computer:
root /etc/root/cling/
root /etc/root/cling/Interpreter/
root /etc/root/cling/Interpreter/DynamicExprInfo.h
root /etc/root/cling/Interpreter/DynamicLookupLifetimeHandler.h
root /etc/root/cling/Interpreter/DynamicLookupRuntimeUniverse.h
root /etc/root/cling/Interpreter/Exception.h
root /etc/root/cling/Interpreter/RuntimePrintValue.h
root /etc/root/cling/Interpreter/RuntimeUniverse.h
root /etc/root/cling/Interpreter/Value.h
And some of the required headers, such cling/Utils/Casting.h
seems to be missing.
So, can just use the header files provided by a ROOT binary distribution and embed rootcling
or cling
to a compiled C++ program, without any additional dependencies?