Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HElib v2.0.0 on Tiger Lake : compile fails #1

Closed
christianepeters opened this issue Apr 8, 2021 · 1 comment
Closed

HElib v2.0.0 on Tiger Lake : compile fails #1

christianepeters opened this issue Apr 8, 2021 · 1 comment

Comments

@christianepeters
Copy link
Owner

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: homenc/HElib#434

@christianepeters
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant