Author

Topic: Windows Build Archive (Read 3431 times)

newbie
Activity: 30
Merit: 0
November 19, 2011, 10:00:52 PM
#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/.
sr. member
Activity: 504
Merit: 252
Elder Crypto God
April 15, 2011, 06: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: https://bitcointalksearch.org/topic/collected-100-btc-bounty-for-windows-build-instructions-5851
hero member
Activity: 755
Merit: 515
April 15, 2011, 05: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.
newbie
Activity: 32
Merit: 0
April 14, 2011, 10:26:30 PM
#6
you need that exe as part of the build tools. don't delete it. he has to give you that binary unfortunately.
sr. member
Activity: 504
Merit: 252
Elder Crypto God
April 14, 2011, 06: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.
legendary
Activity: 2506
Merit: 1010
March 22, 2011, 04: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
hero member
Activity: 755
Merit: 515
March 22, 2011, 04: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). 
legendary
Activity: 1855
Merit: 1016
March 21, 2011, 08:13:19 PM
#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.
hero member
Activity: 755
Merit: 515
March 21, 2011, 06: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 https://bitcointalksearch.org/topic/m.86700
Jump to: