COOOL broken
I am trying to build and use COOOL in my local machine in Genova, with ROOT version 6.30.02 Compilation works properly, but when I try to execute the program with command:
./coool.sh
from p348-daq/coral/src/coool I get errors:
In file included from Dict dictionary payload:48:
/local/home/daq/POKERINO/p348-daq/coral/src/coool/src/PlaneMM.h:7:10: fatal error: 'conddb.h' file not found
#include "conddb.h"
^~~~~~~~~~
Error in <TInterpreter::AutoParse>: Error parsing payload code for class MainFrame with content:
#line 1 "Dict dictionary payload"
#ifndef NDEBUG
#define NDEBUG 1
#endif
#define _BACKWARD_BACKWARD_WARNING_H
// Inline headers
#include "PlaneHCAL2.h"
#include "PlanePMumega.h"
#include "PlaneSandwich.h"
#include "PlaneHCAL2Sum.h"
#include "PlaneMISC.h"
#include "PlaneHCAL1.h"
#include "PlaneRICH.h"
#include "PlaneVeto.h"
#include "PlaneScaler.h"
#include "Plane2VPanel.h"
#include "PlanePanel.h"
#include "PlaneMwpc.h"
#include "PlaneRCath.h"
#include "PlaneStrawTubes.h"
#include "PlaneRPD_SADC.h"
#include "PlaneTcsPhase.h"
#include "PlanePrimakoffHodo.h"
#include "PlaneFEMPanel.h"
#include "PlaneRiAPV.h"
#include "PlaneRW.h"
#include "PlaneMumega.h"
#include "PlaneRICH_MAPMT.h"
#include "PlaneScifiG.h"
#include "PlaneECAL2.h"
#include "PlaneECAL1Panel.h"
#include "PlaneRPD_F1_Panel.h"
#include "PlaneFEM.h"
#include "PlaneTrigger_SADC_F1.h"
#include "PlaneMuonWallA.h"
#include "PlaneScifiJ.h"
#include "Plane2V.h"
#include "PlaneTrigHodo.h"
#include "Plane.h"
#include "PlaneSADC.h"
#include "PlaneBMS.h"
#include "PlaneECAL2FEM.h"
#include "PlaneHCALT.h"
#include "PlaneVBOX.h"
#include "PlaneECAL1.h"
#include "PlaneTrigger_SADC.h"
#include "PlaneMM.h"
#include "PlaneDriftChamberPanel.h"
#include "PlaneCamera.h"
#include "Plane1VPanel.h"
#include "PlaneSandwichPanel.h"
#include "PlaneMuonWall.h"
#include "PlaneGandalf.h"
#include "PlaneBeamKiller.h"
#include "PlanePropFrame.h"
#include "PlaneCalo.h"
#include "PlaneECAL0.h"
#include "PlaneVBHodo.h"
#include "PlaneRPD_SADC_Panel.h"
#include "PlaneCEDAR.h"
#include "PlaneGEM.h"
#include "PlaneRiAPVPanel.h"
#include "PlaneV260.h"
#include "PlanePGEM.h"
#include "PlaneDriftChamber2V.h"
#include "PlaneSili.h"
#include "PlaneRPD_F1.h"
#include "PlaneECAL2Panel.h"
#include "PlaneAPV.h"
#include "Plane1V.h"
#include "PlaneMuonWallB.h"
#include "PlaneDriftChamber.h"
#include "GroupMuonWallA.h"
#include "GroupCamera.h"
#include "GroupDAQ.h"
#include "GroupMM.h"
#include "GroupBeamKiller.h"
#include "GroupCEDAR.h"
#include "GroupSili.h"
#include "GroupPGEM.h"
#include "GroupMumegaPanel.h"
#include "GroupECAL1.h"
#include "GroupMwpcPanel.h"
#include "Group.h"
#include "GroupScifiJPanel.h"
#include "GroupStraws.h"
#include "GroupHodo.h"
#include "GroupGEM.h"
#include "GroupScifiG.h"
#include "GroupRiAPV.h"
#include "GroupPanel.h"
#include "GroupMuonWallAPanel.h"
#include "GroupHCAL.h"
#include "GroupRICH_MAPMT.h"
#include "GroupTrigHodo.h"
#include "GroupMumega.h"
#include "GroupNA64.h"
#include "GroupMwpc.h"
#include "GroupScifiJ.h"
#include "GroupRW.h"
#include "GroupRPD.h"
#include "MainFrame.h"
#include "StartFrame.h"
#include "VariousSettings.h"
#include "Geometry.h"
#include "Monitor.h"
#include "Variable.h"
#include "MonitorPanel.h"
#include "BitButton.h"
#include "Reference.h"
#undef _BACKWARD_BACKWARD_WARNING_H
Error in <TClass::LoadClassInfo>: no interpreter information for class MainFrame is available even though it has a TClass initialization routine.
Error in <TQObject::CheckConnectArgs>: slot MainFrame::CloseWindow() does not exist
VariousSettings/env(): SHIFT_DIR=
VariousSettings/env(): COOOL_CFGFILES_DIR=monitor
In file included from Dict dictionary payload:8:
In file included from /local/home/daq/POKERINO/p348-daq/coral/src/coool/src/PlaneHCAL2.h:4:
In file included from /local/home/daq/POKERINO/p348-daq/coral/src/coool/src/Plane.h:34:
/local/home/daq/POKERINO/p348-daq/coral/src/coool/src/GeomPlane.h:84:52: error: member reference type 'std::map<int, double, std::less<int>, std::allocator<std::pair<const int, double> > >::const_iterator' (aka '_Rb_tree_const_iterator<std::pair<const int, double> >') is not a pointer; did you mean to use '.'?
double GetPitch() const {return (fPitchs.begin())->second;}
~~~~~~~~~~~~~~~~~^~
.
/local/home/daq/POKERINO/p348-daq/coral/src/coool/src/GeomPlane.h:84:54: error: no member named 'second' in 'std::_Rb_tree_const_iterator<std::pair<const int, double> >'
double GetPitch() const {return (fPitchs.begin())->second;}
~~~~~~~~~~~~~~~~~ ^
In file included from Dict dictionary payload:8:
In file included from /local/home/daq/POKERINO/p348-daq/coral/src/coool/src/PlaneHCAL2.h:4:
/local/home/daq/POKERINO/p348-daq/coral/src/coool/src/Plane.h:370:10: error: redefinition of 'operator>>'
istream& operator>>(istream &in,std::vector<T> &v)
^
/local/home/daq/POKERINO/p348-daq/coral/src/coool/src/Plane.h: note: previous definition is here
In file included from Dict dictionary payload:48:
/local/home/daq/POKERINO/p348-daq/coral/src/coool/src/PlaneMM.h:7:10: fatal error: 'conddb.h' file not found
#include "conddb.h"
^~~~~~~~~~
Error in <TInterpreter::AutoParse>: Error parsing payload code for class StartFrame with content:
#line 1 "Dict dictionary payload"
#ifndef NDEBUG
#define NDEBUG 1
...
other errors..
Then, the main GUI opens properly:
but I cannot interact with it, since buttons are not responsive. @akorneev can you please check this? We must be sure that COOOL will work for the upcoming beam session in 2025.
