Closed christianepeters closed 3 years ago
Fix requires going to gcc version 10. On Ubuntu 20.04 as root
:
apt-get install g++-10 gcc-10
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 100
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 50
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 100
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 50
update-alternatives --install /usr/bin/cpp cpp-bin /usr/bin/cpp-9 100
update-alternatives --install /usr/bin/cpp cpp-bin /usr/bin/cpp-10 50
update-alternatives --set g++ /usr/bin/g++-10
update-alternatives --set gcc /usr/bin/gcc-10
update-alternatives --set cpp-bin /usr/bin/cpp-10
HElib v2.0.0 works on my old Acer Aspire 7 (bought 2014). New machine (January 2021) does not allow installation of HElib v2.0.0. Opened issue here: https://github.com/homenc/HElib/issues/434