chap icon indicating copy to clipboard operation
chap copied to clipboard

Errors related to make command, boost libraries and std cpp libraries while compiling CHAP

Open batuujin opened this issue 1 year ago • 2 comments

I'm trying to install CHAP version_0_9_1 and during the make command, I get this error:

(python3.11) bburendei@solaire:~/apps/CHAP/chap-version_0_9_1/build$ make
[  6%] Built target googletest
Consolidate compiler generated dependencies of target chap
[  7%] Building CXX object CMakeFiles/chap.dir/src/aggregation/multiscalar_time_series.cpp.o
/home/bburendei/apps/CHAP/chap-version_0_9_1/src/aggregation/multiscalar_time_series.cpp: In member function ‘void MultiscalarTimeSeries::addScalarTimeSeries(const ScalarTimeSeries&)’:
/home/bburendei/apps/CHAP/chap-version_0_9_1/src/aggregation/multiscalar_time_series.cpp:56:28: error: ‘logic_error’ is not a member of ‘std’
   56 |                 throw std::logic_error("Time stamps of new time series do "
      |                            ^~~~~~~~~~~
/home/bburendei/apps/CHAP/chap-version_0_9_1/src/aggregation/multiscalar_time_series.cpp:72:24: error: ‘logic_error’ is not a member of ‘std’
   72 |             throw std::logic_error("Multiscalar time series can not accept "
      |                        ^~~~~~~~~~~
make[2]: *** [CMakeFiles/chap.dir/build.make:90: CMakeFiles/chap.dir/src/aggregation/multiscalar_time_series.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:391: CMakeFiles/chap.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

I managed to install GROMACS 2018 with the FFTPACK library I can't find previous issues detailing this, so I'm a bit lost as to what I should do to fix this. Thanks in advance.

Batuujin

batuujin avatar Dec 07 '23 01:12 batuujin