Open townhill opened 7 years ago
You need to make sure you have libgmp-dev
installed and it should provide the gmp.h
file.
Amazingly I seem to have missed that from the docs!
Thanks! Sorted now :)
how to do that in windows?
If anyone needs more help, I did the following on MacOS before successfully running go build
:
brew install gmp
go get github.com/ncw/gmp
CGO_CPPFLAGS="-I/opt/homebrew/include"
find /usr /opt -name "gmp.h"
, but it's wherever gmp.h can be found or was installed.CGO_LDFLAGS="-L/opt/homebrew/lib"
Hi
Can you include the gmp.h file? I'm getting the following error.