skluth / RooUnfold

unfolding
Apache License 2.0
2 stars 3 forks source link

Issues compiling on slc6 against ROOT 6.10/04 #4

Open rdisipio opened 6 years ago

rdisipio commented 6 years ago

Hi,

I'm having troubles compiling RooUnfold (trunk) against ROOT 6.10/04 on a SLC6 machine. First of all, the makefile looks for a (blabla)/test/Makefile.arch file but it seems located under (blabla)/etc/Makefile.arch . But that's an easy fix. However, the compilation stops because of an incompatibility with the class TBuffer. Is there a known workaround, or can you fix it?

Cheers, Riccardo

Compiling /home/disipio/local/src/RooUnfold-1.1.1/src/RooUnfold.cxx
/home/disipio/local/src/RooUnfold-1.1.1/src/RooUnfold.cxx: In member function 'virtual void RooUnfold::Streamer(TBuffer&)':
/home/disipio/local/src/RooUnfold-1.1.1/src/RooUnfold.cxx:969:11: error: invalid use of incomplete type 'class TBuffer'
   if (R__b.IsReading()) {
           ^
In file included from /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.10.04-x86_64-slc6-gcc62-opt/include/TObject.h:17:0,
                 from /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.10.04-x86_64-slc6-gcc62-opt/include/TNamed.h:25,
                 from /home/disipio/local/src/RooUnfold-1.1.1/src/RooUnfold.h:15,
                 from /home/disipio/local/src/RooUnfold-1.1.1/src/RooUnfold.cxx:65:
/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.10.04-x86_64-slc6-gcc62-opt/include/Rtypes.h:38:7: note: forward declaration of 'class TBuffer'
 class TBuffer;
       ^~~~~~~
make: *** [/home/disipio/local/src/RooUnfold-1.1.1/tmp/linuxx8664gcc/obj/RooUnfold.o] Error 1
anupauloorpayil commented 6 years ago

Same issue for me also.