Root run time error with a simple macro

Dear all,

When I run a simple macro with RDataFrame, I am having following message:

tjkim@htop LQRun2]$ root -l ana_lq.C
root [0]
Processing ana_lq.C...
IncrementalExecutor::executeFunction: symbol '_ZNSsC1EOSs' unresolved while linking [cling interface function]!
You are probably missing the definition of std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string&&)
Maybe you need to load the corresponding shared library?
IncrementalExecutor::executeFunction: symbol '_ZNSsaSEOSs' unresolved while linking [cling interface function]!
You are probably missing the definition of std::string::operator=(std::string&&)
Maybe you need to load the corresponding shared library?

It looks like it is related with gcc compiler, STD library.
I am wondering if anyone can help me figure out the problem and how to solve it?
The macro was running in following platform:

ROOT Version: root 6.20
Platform: CentOS release 6.9
Compiler: gcc 5.3.1

Thank you very much,

Regards,
Taejeong

I guess it would help if you attach this macro to this thread.

Yes, right. The macro I used is at this link in github.


I think the error comes from the function in the macro.

Thank you!

Do you still have this problem? (It might be a confusion between installations)?

We are still having the problem in that machine which uses gcc in devtoolset-4. So it must be a confusion somewhere during the installation. It compiles well though. Just when I run with the function, it creates the error.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.