Problem with .L code.C+ running


I recently upgraded my desktop from ubuntu 16 to 18 LTS. Now, when I compile any code via .L code.C+, it gives me the same error given in “I have problems with my CINT compiler”.

The first line of the error looks like

Error: class,struct,union or type decltype(nullptr) not defined  /usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h:235:

Is the solution same for this?

Thank you,

Hi Amit,
what root version are you using? Did you build it yourself?

I am using Root 5.34/36 binary version.

ROOT 5.34 does not support GCC 7. Please upgrade to 6.12

Yes. Now it is working. Thanks a lot.

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