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

Add libgmp-dev as a dependency in README #5

Open
ecomaikgolf opened this issue Jul 20, 2023 · 0 comments
Open

Add libgmp-dev as a dependency in README #5

ecomaikgolf opened this issue Jul 20, 2023 · 0 comments

Comments

@ecomaikgolf
Copy link

As NTL is getting built with GMP support (thirdparty/build.sh):

./configure SHARED=on NTL_GMP_LIP=on NTL_THREADS=on NTL_THREAD_BOOST=on NTL_EXCEPTIONS=on  \

It's missing when compiling if not installed

g++ -I../include -I.  -g -O2 -pthread -march=native   -o gen_gmp_aux gen_gmp_aux.cpp  -lgmp  -lm
gen_gmp_aux.cpp:29:10: fatal error: gmp.h: No such file or directory
   29 | #include <gmp.h>
      |          ^~~~~~~

Compilation was done with a fresh default Ubuntu 22.04 container

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