Bitcoin Forum
January 19, 2020, 07:56:15 PM *
News: Latest Bitcoin Core release: 0.19.0.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: how to compile libsecp256k1 and generate a *.dll file for windows  (Read 68 times)
ad19900913
Newbie
*
Offline Offline

Activity: 13
Merit: 2


View Profile WWW
August 07, 2019, 06:52:40 AM
 #1

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
1579463775
Hero Member
*
Offline Offline

Posts: 1579463775

View Profile Personal Message (Offline)

Ignore
1579463775
Reply with quote  #2

1579463775
Report to moderator
1579463775
Hero Member
*
Offline Offline

Posts: 1579463775

View Profile Personal Message (Offline)

Ignore
1579463775
Reply with quote  #2

1579463775
Report to moderator
1579463775
Hero Member
*
Offline Offline

Posts: 1579463775

View Profile Personal Message (Offline)

Ignore
1579463775
Reply with quote  #2

1579463775
Report to moderator
No registration neededFixed RatesUnlimited transaction volumes
Try Now
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
NeuroticFish
Legendary
*
Online Online

Activity: 2100
Merit: 1424


There are no mistakes. Only opportunities wasted.


View Profile
August 07, 2019, 07:10:43 AM
 #2

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.

piotr_n
Legendary
*
Offline Offline

Activity: 2016
Merit: 1054


aka tonikt


View Profile WWW
August 07, 2019, 02:55:36 PM
Merited by ETFbitcoin (1)
 #3

See here: https://sourceforge.net/projects/gocoin/files/secp256k1_win.zip/download

Though, you need to build the lib (libsecp256k1.a) with mingw first.
It's pretty much like on linux, but installing the required packages can be a bit more tricky on msys/mingw.

Check out gocoin - my original project of full bitcoin node & cold wallet written in Go.
PGP fingerprint: AB9E A551 E262 A87A 13BB  9059 1BE7 B545 CDF3 FD0E
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!