-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Windows target #451
Comments
I'm using CMake to build it. E.g. https://github.com/ethereum/cpp-ethereum/blob/develop/cmake/secp256k1/CMakeLists.txt or #315. |
I've figured it out https://github.com/ofek/coincurve/blob/master/.travis/prepare_windows_build.sh / https://github.com/ofek/coincurve/blob/master/.travis/build_windows_wheels.sh Though, I don't know how to build libgmp for Windows for use with libsecp256k1. |
You can configure libsecp256k1 not to use GMP at all. Option is |
Oh yes but I'd like to use it. Have you tried building for Windows with gmp? |
I don't think you can build GMP with Visual Studio. I suggest using MPIR instead. It is compatible with GMP. |
Looks interesting, thanks! |
I'm also trying to provide CMake support for it. wbhart/mpir#215. |
Including secp256k1 in any project is easy as it's a single-file library. Though if you use another build system make sure that the correct defines for your platform are set, either in |
@laanwj that file doesnt exist. im trying to cross compile from WSL, so far im trying |
Just sharing another method using GitHub Actions and Visual C |
How do you build this for (or on) Windows?
The text was updated successfully, but these errors were encountered: