Closed arthuradriaens-code closed 1 year ago
@martin01021207 looks like you didn't update VoltageCalibration.h in tandem with VoltageCalibration.cc. Also, can you develop on your own feature branch instead of on main?
I think I fixed this for now?
It compiles succesfully now, thanks!
when running make the compiler errors with the following:
[ 52%] Building CXX object CMakeFiles/mattak.dir/src/VoltageCalibration.cc.o /home/arthur/programs/mattak/src/VoltageCalibration.cc:470:10: error: no declaration matches ‘TGraph mattak::VoltageCalibration::justPolFit(int, int, bool) const’ 470 | TGraph mattak::VoltageCalibration::justPolFit(int chan, int samp, bool resid) const | ^
~/home/arthur/programs/mattak/src/VoltageCalibration.cc:470:10: note: no functions named ‘TGraph* mattak::VoltageCalibration::justPolFit(int, int, bool) const’ In file included from /home/arthur/programs/mattak/src/VoltageCalibration.cc:1: /home/arthur/programs/mattak/src/mattak/VoltageCalibration.h:31:9: note: ‘class mattak::VoltageCalibration’ defined here 31 | class VoltageCalibration : public TObject | ^~~~~~I'm using GNU compiler version 12.2.1 and root version 6.26/10 on Arch linux.
Kind regards