Bitcoin Forum
December 10, 2016, 05:03:20 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Windows Build Archive  (Read 3048 times)
Matt Corallo
Hero Member
*****
expert
Offline Offline

Activity: 751


View Profile
March 21, 2011, 11:01:40 PM
 #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 Ubuntu PPA maintainer - donate to me personally: 1JBMattRztKDF2KRS3vhjJXA7h47NEsn2c
http://bitcoinrelaynetwork.org maintainer
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
1481389400
Hero Member
*
Offline Offline

Posts: 1481389400

View Profile Personal Message (Offline)

Ignore
1481389400
Reply with quote  #2

1481389400
Report to moderator
1481389400
Hero Member
*
Offline Offline

Posts: 1481389400

View Profile Personal Message (Offline)

Ignore
1481389400
Reply with quote  #2

1481389400
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481389400
Hero Member
*
Offline Offline

Posts: 1481389400

View Profile Personal Message (Offline)

Ignore
1481389400
Reply with quote  #2

1481389400
Report to moderator
1481389400
Hero Member
*
Offline Offline

Posts: 1481389400

View Profile Personal Message (Offline)

Ignore
1481389400
Reply with quote  #2

1481389400
Report to moderator
dishwara
Legendary
*
Offline Offline

Activity: 1386

Truth may get delay, but NEVER fails


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

Activity: 751


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 Ubuntu PPA maintainer - donate to me personally: 1JBMattRztKDF2KRS3vhjJXA7h47NEsn2c
http://bitcoinrelaynetwork.org maintainer
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2002



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

NghtRppr
Sr. Member
****
Offline Offline

Activity: 476


View Profile
April 14, 2011, 11:12:03 PM
 #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
Jr. Member
*
Offline Offline

Activity: 33


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

Activity: 751


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 Ubuntu PPA maintainer - donate to me personally: 1JBMattRztKDF2KRS3vhjJXA7h47NEsn2c
http://bitcoinrelaynetwork.org maintainer
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
NghtRppr
Sr. Member
****
Offline Offline

Activity: 476


View Profile
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
Jr. Member
*
Offline Offline

Activity: 30


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:  

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!