Bitcoin Forum
May 04, 2024, 04:15:28 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Anyone can build bitcoin/secp256k1 on Windows?  (Read 952 times)
piotr_n (OP)
Legendary
*
Offline Offline

Activity: 2053
Merit: 1354


aka tonikt


View Profile WWW
March 03, 2016, 02:45:19 PM
Merited by ABCbits (1)
 #1

It used to be very easy to build it using mingw, but there have been some changes and now I cannot build it anymore.
At least not out of the box, as it requires "autoreconf" command, which my mingw+msys don't have.

Does anyone know an easy way to build the lib on Windows host, using 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
1714839328
Hero Member
*
Offline Offline

Posts: 1714839328

View Profile Personal Message (Offline)

Ignore
1714839328
Reply with quote  #2

1714839328
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714839328
Hero Member
*
Offline Offline

Posts: 1714839328

View Profile Personal Message (Offline)

Ignore
1714839328
Reply with quote  #2

1714839328
Report to moderator
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
March 03, 2016, 06:48:49 PM
Merited by ABCbits (1)
 #2

It used to be very easy to build it using mingw, but there have been some changes and now I cannot build it anymore.
At least not out of the box, as it requires "autoreconf" command, which my mingw+msys don't have.

Does anyone know an easy way to build the lib on Windows host, using msys/mingw?

autoreconf just runs autoconf, automake and libtoolize.  It's included in the more recent versions of autotools (since 2012 or so). You can run them manually.
piotr_n (OP)
Legendary
*
Offline Offline

Activity: 2053
Merit: 1354


aka tonikt


View Profile WWW
March 03, 2016, 06:56:30 PM
 #3

It used to be very easy to build it using mingw, but there have been some changes and now I cannot build it anymore.
At least not out of the box, as it requires "autoreconf" command, which my mingw+msys don't have.

Does anyone know an easy way to build the lib on Windows host, using msys/mingw?

autoreconf just runs autoconf, automake and libtoolize.  It's included in the more recent versions of autotools (since 2012 or so). You can run them manually.

I figured this much; that it should be possible to download/install all these missing tools for windows and then run them one after another...

But since I've been struggling to even find the first one from the list, I thought I'd better ask if anyone has actually managed to get through all these steps on Windows.

I figure it is normally built on linux, cross compiled inside gitian.
Perhaps that would be also easier for me.

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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!