I am facing the errors while compiling O2Physics in ubuntu 20.04 LTS:
==> Building O2@b1b84fa548
==> O2 is being built (use --debug for full output): failed
ERROR: Error while executing /home/debasish/home/debasish/Documents/a-install/sw/SPECS/ubuntu2004_x86-64/O2/b1b84fa548-local1/build.sh on `debasish-Latitude-3520’.
ERROR: Log can be found in /home/debasish/home/debasish/Documents/a-install/sw/BUILD/O2-latest/log
ERROR: Please upload it to CERNBox/Dropbox if you intend to request support.
ERROR: Build directory is /home/debasish/home/debasish/Documents/a-install/sw/BUILD/O2-latest/O2.
ERROR:
ERROR: Note that you have packages in development mode.
ERROR: Devel sources are not updated automatically, you must do it by hand.
ERROR: This problem might be due to one or more outdated devel sources.
ERROR: To update all development packages required for this build it is usually sufficient to do:
ERROR:
ERROR: ( cd O2 && git pull --rebase )
I have attached the log file, any help will be highly appreciated,
The line c++: fatal error: Killed signal terminated program cc1plus compilation terminated. is likely due to not enough memory on your system. Can you try to rebuild appending -j1 to your aliBuild command?
many thanks. I did with -j 1 and still getting the errors:
home/debasish/Documents/a-install/sw/SOURCES/O2/dev/0/EventVisualisation/View/src/MultiView.cxx
/home/debasish/home/debasish/Documents/a-install/sw/SOURCES/O2/dev/0/EventVisualisation/View/src/MultiView.cxx: In constructor ‘o2::event_visualisation::MultiView::MultiView()’:
/home/debasish/home/debasish/Documents/a-install/sw/SOURCES/O2/dev/0/EventVisualisation/View/src/MultiView.cxx:78:61: error: ‘kPT_ZY’ is not a member of ‘TEveProjection’
78 | mProjections[ProjectionZY]->SetProjection(TEveProjection::kPT_ZY);
| ^~~~~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics