build errors
turix2 opened this issue · comments
I'm trying to build memerna for the first time and have run into several C++ errors.
The command line I used to build (within a poetry shell) was:
python3.11 -m rnapy.run build --regenerate --compiler gcc --memerna-src-path . --prefix ./bin memerna
... where gcc
is mapped to gcc-10
version 10.3.0
, installed (roughly) from the instructions here.
I am attaching a file with the output: build_out.txt
More details about my system (which is more or less "up-to-date"):
$ uname -srm
Linux 4.15.0-210-generic x86_64
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
Please let me know should you need any more info.
Thanks!
Thanks for the report.
Since memerna uses very recent C++ features, it needs a recent toolchain, like gcc-12 or clang-15.
We should:
- Document required toolchain versions
- Check library versions (and optionally download if missing via e.g. https://github.com/cpm-cmake/CPM.cmake)
- (stretch) Set up CI to verify build and tests using minimum required toolchain versions. Currently this is done locally using ./check.sh but it uses the system toolchain.
1 and 2 above are done. Going to close this