Bitcoin Forum
December 16, 2024, 10:20:11 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Windows Build Archive  (Read 3432 times)
Matt Corallo (OP)
Hero Member
*****
expert
Offline Offline

Activity: 755
Merit: 515


View Profile
March 21, 2011, 11:01:40 PM
Last edit: April 15, 2011, 06:18:55 PM by BlueMatt
 #1

After several VMs, I finally got bitcoin to build properly on Windows.  To avoid others having to go through that, I zipped up all the folders in a --lzma tar and posted them here.  If you unzip the tar to C:, you should be able to open the msys/1.0/msys.bat file, cd to ~/Administrator/bitcoin and make -f makefile.mingw without any problems.  
This includes all the built sources for all the dependencies of the mainline bitcoin client.  After you have built it, you can find it in C:/msys/1.0/home/Administrator/bitcoin/bitcoin.exe.  

Notes:
openssl is actually openssl-1.0.0d, but the makefile looks for it in 1.0.0c, so the folder was renamed.  To make openssl, you will need to install perl, I used ActiveState Perl which seemed to work well.
To use git, you need to run /c/Git/bin/git.exe.  
Untarred, the folders total somewhere around 4.75GB (the archive is 450MB).  
Yes, I could have cleaned them up and only included sources, but I've seen identical installs fail on different version, so everything is included.  
I built the system on Windows Server 2003 32-bit and tested building bitcoin on Windows 7 32-bit.  That said, I make no guarantees that this works ever, anywhere (and would be surprised if it did).  

EDIT: If you really want to build your own copy of everything from the ground up, see http://bitcointalk.org/index.php?topic=5851.msg86700#msg86700

Bitcoin Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
dishwara
Legendary
*
Offline Offline

Activity: 1855
Merit: 1016



View Profile
March 22, 2011, 01:13:19 AM
 #2

what it is?

you giving source code, so that , i myself build (what)? miner or client in windows like others build their own in linux from source?
please explain, i am zero in programming stuff.
Matt Corallo (OP)
Hero Member
*****
expert
Offline Offline

Activity: 755
Merit: 515


View Profile
March 22, 2011, 09:12:34 AM
 #3

what it is?

you giving source code, so that , i myself build (what)? miner or client in windows like others build their own in linux from source?
please explain, i am zero in programming stuff.
Sorry, I guess I didn't make that clear.  This is to build the mainline bitcoin client on Windows from source.  It includes MinGW (the compiler and support libraries), MSYS (the Minimal SYStem which is used to build several of the dependencies) and all the dependencies for building bitcoin (their original source tree, pre-built). 

Bitcoin Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
March 22, 2011, 09:50:55 AM
 #4

It includes MinGW (the compiler and support libraries), MSYS (the Minimal SYStem which is used to build several of the dependencies) and all the dependencies for building bitcoin (their original source tree, pre-built).  

The full list of folders:
  • wxWidgets-2.9.1-mgw
  • openssl-1.0.0c-mgw
  • msys
  • MinGW32
  • Git
  • db-4.7.25.NC-mgw
  • boost-jam-3.1.18-1-ntx86
  • boost-1.43.0-mgw

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


NghtRppr
Sr. Member
****
Offline Offline

Activity: 504
Merit: 252


Elder Crypto God


View Profile WWW
April 14, 2011, 11:12:03 PM
Last edit: April 15, 2011, 01:32:37 AM by bitcoin2cash
 #5

4/14/2011 8:26:05 PM Detected Virus HEUR:Trojan.Win32.Generic C:\bitcoin\openssl-1.0.0c-mgw\test\dhtest.exe

Probably a false alarm but still it's better if you don't include any binaries to avoid stuff like this.
gjs278
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
April 15, 2011, 03:26:30 AM
 #6

you need that exe as part of the build tools. don't delete it. he has to give you that binary unfortunately.
Matt Corallo (OP)
Hero Member
*****
expert
Offline Offline

Activity: 755
Merit: 515


View Profile
April 15, 2011, 10:57:25 AM
 #7

The idea was to give all the binaries and everything already built in case there is some odd bug where openssl or some other dependency doesn't build properly.  I've seen that several times so the idea is that as long as Bitcoin builds for you, you don't have to worry about the dependencies.

Bitcoin Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
NghtRppr
Sr. Member
****
Offline Offline

Activity: 504
Merit: 252


Elder Crypto God


View Profile WWW
April 15, 2011, 11:24:12 AM
 #8

The idea was to give all the binaries and everything already built in case there is some odd bug where openssl or some other dependency doesn't build properly.  I've seen that several times so the idea is that as long as Bitcoin builds for you, you don't have to worry about the dependencies.

I appreciate your time and effort but my purpose for building from source is so that I can audit the code which produces the binaries. I'm also wary of ignoring malware warnings unless it's from trusted source.

I've offered a bounty of 100 BTC to anyone that can help me compile everything from source if you're interested: http://bitcointalk.org/index.php?topic=5851.0
crispy
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
November 20, 2011, 03:00:52 AM
 #9

Thanks for uploading a complete build environment. 

I've run into challenges trying to build on my box (XP). 

Yes, I know it dates back to April, but this should get me started.

By the way, if your system doesn't know what the XZ extension is about, you need the latest 7-Zip from http://www.7-zip.org/.
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!