Bitcoin Forum
May 29, 2024, 12:36:43 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 954 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
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4186
Merit: 8435



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!