RooUnfold installation

Dear Rooters,
I am trying to install RooUnfold package (RooUnfold-1.1.1) locally on my fedora. I have install root-6.04.18 and enabled roofit while configuring and installing root.

When I am typing “make” inside the RooUnfold directory I am getting the following error:
In file included from /usr/include/c++/4.9.2/atomic:38:0,
from /home/nada/root6/include/root/Rtypes.h:37,
from /home/nada/root6/include/root/TObject.h:31,
from /home/nada/root6/include/root/TNamed.h:26,
from /home/nada/RooUnfold/examples/RooUnfoldTestHarness.h:17,
from /home/nada/RooUnfold/examples/RooUnfoldTestHarness2D.h:16,
from /home/nada/RooUnfold/examples/RooUnfoldTest2D.cxx:15:
/usr/include/c++/4.9.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the \

I have tried to decalre a new variable in the MakeFile

ADD_LIB_GPP = -L/usr/lib/gcc/x86_64-redhat-linux/4.9.2 -lstdc++

But this didn’t solve the problem.
Your help is appreciated.

Best Regards,

Hi Nada,

I am not familiar with the build system of RooUnfold, however the message clearly indicate that RooUnfold needs to be build in C++11 mode. I.e. ‘something’ needs to be done in the RooUnfold configuration step to lead to the inclusion of “-std=c++11” to the compilation line.


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