Closed bredelings closed 3 years ago
It might be this bit that matters:
/data/wraycompute/malaria/Applications/boost_1_65_0/boost/variant/detail/apply_visitor_unary.hpp:68:1: note: conversion of argument 2 would be ill-formed:
/gpfs/fs1/data/wraycompute/malaria/Applications/octopus3/git/src/core/csr/measures/measure.cpp:268:67: error: cannot bind non-const lvalue reference of type ‘boost::variant<bool, int, long unsigned int, double>&’ to an rvalue of type ‘boost::variant<bool, int, long unsigned int, double>’
268 | return boost::apply_visitor(DivideVisitor {values.size()}, sum(values));
| ~~~^~~~~~~~
Apparently compilation with boost 1.74 works fine.
Hmm, looks like an issue with the older version of Boost. I'll try to identify the oldest working version and update the documentation. Note however that the recommend way to install Octopus is now with automatic dependency installation and this will usually install the latest available Boost.
I've updated the README requirements to Boost 1.74 so marking this as closed.
Describe the bug
Compiling the most recent version of develop with gcc-10 and BOOST 1.65 has a compile error.