Closed mattmar2410 closed 4 months ago
Hi, it looks like you were maybe using a newer version of SpecUtils than the code had been updated for. I just updated the submodule reference to the latest SpecUtils, and made a few small fixes to make Cambios command-line code compile with it, in commit fee06ca.
Please let me know if this doesn't fix things for you, -will
Hi there, I am trying to compile from source on a Mac. I got the following error after the following two commands:
$ cmake -DBUILD_CAMBIO_COMMAND_LINE=ON -DBUILD_CAMBIO_GUI=OFF -DBOOST_ROOT=/path/to/boost ..
$ make -j8
Error: /Users//repos/cambio/src/CommandLineUtil.cpp:2176:16: error: no member named 'keep_energy_cal_variant' in 'SpecUtils::SpecFile'
info.keep_energy_cal_variant( prefered_variant );
In SpecUtils, it seems to be keep_energy_cal_variants not keep_energy_cal_variant, but can you please advise?
Thanks!