-
Notifications
You must be signed in to change notification settings - Fork 84
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
Ubuntu cannot find gmp #34
Comments
I installed gmp on ubuntu with this command |
is the installation in the path? Cmake is looking in these env vars: |
See the official instruction below. Note if cmake cannot find gmp you need to export the envirnement variable GMP_INC and GMP_LIB to the folder where you installed (e.g., <conda_dir>\Library\include for GMP_INC and <conda_dir>\Library\lib for GMP_LIB). |
Previously I did
Then,
Thanks to @hph73, the alternative command
It built successfully after 5 minutes with a number of compiler warnings (shadowed declarations, enumeration values not handled, assume signed overflow not occur).
Thank you! |
It works on Debian 12.6,thanks!
|
Hello,
When I try to install gmp on Ubuntu by using this command:
sudo apt-get install gmp
it says:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gmp
Does anyone know what's wrong here?
Thanks!
The text was updated successfully, but these errors were encountered: