I am having trouble to run root, 6.06.06. when I run try to write some program I get the following error.
Can any one help me to solve this problem. I looked over the posts but did not get the clear idea, about what is going on.
Thanks in advance.
IncrementalExecutor::executeFunction: symbol ‘_ZN5cling10printValueEPKi’ unresolved while linking [cling interface function]!
You are probably missing the definition of cling::printValue(int const*)
Maybe you need to load the corresponding shared library?
(int) Error in ValuePrinter: missing output string.
Did you configure ROOT 6.06/06 using “proper” flags for Ubuntu 16.04 with gcc 5.x? cmake -DCMAKE_CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=0" -Dcxx14="ON" -Dall="ON" -Ddavix="OFF" -Dr="OFF" -Dpythia8="OFF" -Dgeocad="ON" -Dbuiltin_ftgl="OFF" -Dbuiltin_glew="OFF" -Dsoversion="ON" ...Another...Flags...You...May...Need... In particular, for the time being, -DCMAKE_CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=0" is mandatory for ROOT 6.06/06 with gcc 5.x.
Yes I did all the necessary installation, I follow youtube.com/watch?v=LfSFGkkBT-k this video and it happens exactly up to the build and it says successfully build, and when I type root it shows the root display and goes to root also. Then If I try to do even 2+2 that shows the error.
I saw similar problems on some other pages but not the exact solution for root 6.06.
I will try the idea you gave me .
Last, but not least … you will NOT be able to install ROOT 6, if your gcc compiler comes from the RedHat “Software Collections” / “Developer Toolset” (e.g. on Scientific Linux / CentOS 5, 6 and 7 platforms).
BTW. Before you begin, make sure that nothing in your setup points to any existing ROOT installation. In particular, on Ubuntu execute “sudo apt-get purge root-system* root-plugin* libroot*” and then check that the “/usr/lib/i386-linux-gnu/root5.34” and the “/usr/lib/x86_64-linux-gnu/root5.34” subdirectories disappeared completely.
I did all the process up to cd…/ and then type the command the next one you wrote. When I type root after i run the command it says no such a file or directory. here I have attached the output I got .
– Installing: /home/hemanta/ROOT/v6-06-06/include/RooStats/ToyMCStudy.h
hemanta@hemanta:/tmp/root-build$ cd …/
hemanta@hemanta:/tmp$ rm -rf root-build root-6.06.06 root_v6.06.06.source.tar.gz*
bash: /usr/bin/root: No such file or directory
Homanta, I suggest to not reply to things comply not relevant to a post. Open a new issue in case you have something.
Coming back to the original post. "Memory leak in ROOT::Math::IntegrationMultiDim: posted by monoj.
The code does not run directly, some variable are undefined. I have tried to define putting some dummy values and it runs fine for me.
Please post in case you still have this problem, a full running macro.