Hi I’m trying to build O2 on Ubuntu 18.04-LTS. I went through several related issues here but couldn’t find anything relevant to mine. From the logs it seems like there is something wrong with logging? Do i miss any additional library not listed in the tutorial?
[ 24%] Built target O2lib-CCDB
Scanning dependencies of target O2test-detectorscommondataformats-DetID
[ 24%] Building CXX object DataFormats/Detectors/Common/CMakeFiles/O2test-detectorscommondataformats-DetID.dir/test/testDetID.cxx.o
[ 24%] Building CXX object Framework/Core/CMakeFiles/O2lib-Framework.dir/src/AODReaderHelpers.cxx.o
Scanning dependencies of target O2test-alicehlt-MessageFormat
Scanning dependencies of target O2exe-alicehlt-wrapper-device
[ 24%] Building CXX object Utilities/aliceHLTwrapper/CMakeFiles/O2test-alicehlt-MessageFormat.dir/test/testMessageFormat.cxx.o
[ 24%] Building CXX object Utilities/aliceHLTwrapper/CMakeFiles/O2exe-alicehlt-wrapper-device.dir/src/aliceHLTWrapper.cxx.o
[ 24%] Linking CXX executable …/…/…/stage/tests/o2-test-detectorscommondataformats-DetID
[ 24%] Linking CXX executable …/…/stage/tests/o2-test-alicehlt-MessageFormat
[ 24%] Built target O2test-alicehlt-MessageFormat
[ 24%] Building CXX object Framework/Core/CMakeFiles/O2lib-Framework.dir/src/FrameworkGUIDevicesGraph.cxx.o
In file included from /home/kdeja/alice/sw/SOURCES/O2/v1.3.0/0/Framework/Core/src/AODReaderHelpers.cxx:12:0:
/home/kdeja/alice/sw/SOURCES/O2/v1.3.0/0/Framework/Core/include/Framework/AODReaderHelpers.h: In member function ‘void o2::framework::readers::RuntimeWatchdog::printOut()’:
/home/kdeja/alice/sw/SOURCES/O2/v1.3.0/0/Framework/Core/include/Framework/AODReaderHelpers.h:60:10: error: ‘INFO’ was not declared in this scope
LOGP(INFO, “RuntimeWatchdog”);
^~~~
/home/kdeja/alice/sw/SOURCES/O2/v1.3.0/0/Framework/Core/include/Framework/AODReaderHelpers.h:60:10: note: suggested alternative: ‘O2INFO’
LOGP(INFO, “RuntimeWatchdog”);
^~~~
O2INFO
/home/kdeja/alice/sw/SOURCES/O2/v1.3.0/0/Framework/Core/include/Framework/AODReaderHelpers.h:60:5: error: ‘LOGP’ was not declared in this scope
LOGP(INFO, “RuntimeWatchdog”);
^~~~
[ 24%] Built target O2test-detectorscommondataformats-DetID
[ 24%] Linking CXX executable …/…/stage/bin/o2-alicehlt-wrapper-device
Scanning dependencies of target O2exe-alicehlt-eventsampler-device
[ 24%] Building CXX object Utilities/aliceHLTwrapper/CMakeFiles/O2exe-alicehlt-eventsampler-device.dir/src/aliceHLTEventSampler.cxx.o
[ 24%] Built target O2exe-alicehlt-wrapper-device
Scanning dependencies of target O2exe-alicehlt-runcomponent
[ 24%] Building CXX object Utilities/aliceHLTwrapper/CMakeFiles/O2exe-alicehlt-runcomponent.dir/src/runComponent.cxx.o
/home/kdeja/alice/sw/SOURCES/O2/v1.3.0/0/Framework/Core/src/FrameworkGUIDevicesGraph.cxx: In lambda function:
/home/kdeja/alice/sw/SOURCES/O2/v1.3.0/0/Framework/Core/src/FrameworkGUIDevicesGraph.cxx:259:15: error: ‘ERROR’ was not declared in this scope
LOG(ERROR) << "Could not find suitable node for " << outName;
^~~~~
/home/kdeja/alice/sw/SOURCES/O2/v1.3.0/0/Framework/Core/src/FrameworkGUIDevicesGraph.cxx:259:11: error: ‘LOG’ was not declared in this scope
LOG(ERROR) << "Could not find suitable node for " << outName;
^~~
Framework/Core/CMakeFiles/O2lib-Framework.dir/build.make:132: recipe for target ‘Framework/Core/CMakeFiles/O2lib-Framework.dir/src/FrameworkGUIDevicesGraph.cxx.o’ failed
make[2]: *** [Framework/Core/CMakeFiles/O2lib-Framework.dir/src/FrameworkGUIDevicesGraph.cxx.o] Error 1
Regards,
Kamil