Post
Topic
Board Development & Technical Discussion
Re: how to compile libsecp256k1 and generate a *.dll file for windows
by
NeuroticFish
on 07/08/2019, 07:10:43 UTC
hi everyone
As the title suggests, i want to know how to compile libsecp256k1 and generate a *.dll file for windows.
i already search the issues but not found valuable information.
i'm not familiar with c/c++,so i hope there is a step by step sample.
the project's github address-https://github.com/bitcoin-core/secp256k1

If you just need the dll, maybe an option would be to simply get it from the NuGet packages.
I didn't use any, however, https://www.nuget.org/packages/secp256k1_vc120/ seems to be a pretty good choice. Or you can search with Visual Studio for another package (eg .NET if that's what you need).
If you don't use it from Visual Studio, you d/l the package, change extension to .zip and unpack it. It contains x86 and x64 dlls too.

I know it's not 100% what you wanted, but maybe it helps.