Pages:
Author

Topic: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows (Read 50080 times)

newbie
Activity: 9
Merit: 0
getting stuck on googletest-1.7.0
member
Activity: 238
Merit: 40
First Payment Gateway using GoldBacked cryptocurre
I tried this and right after mingw installation its stop with fatal error, anyone have tried this recently I mean in nov 2017, is there any other build system that works for windows other than the windows 10 wsl
full member
Activity: 192
Merit: 100
paccoin
Anyone got a list of wallets that they have built using this system?


Paccoin was built with this also
full member
Activity: 147
Merit: 100
Somebody built SCRYPT based coins?
member
Activity: 133
Merit: 26
When trying to work on this and try to install i am getting

boost [boost_1_58_0]
tar: boost_1_58_0/libs/geometry/doc/html/geometry/reference/spatial_indexes/boos
t__geometry__index__rtree/rtree_parameters_type_const____indexable_getter_const_
___value_equal_const____allocator_type_const___.html: Cannot open: File or path
name too long
tar: Exiting with failure status due to previous errors
Fatal error! Errorlevel: 2
Press any key to continue . . .

I got past the qtbase errors by reming them out and it moved onto the next pahse. Now it's getting stuck.

Cory, i guess "File or path name too long" try using directly on c:/easyw/

BTW Phelix,

 i noticed latest bitcoin uses secp256k1 instead of openssl, "A side effect of this change is that libconsensus no longer depends on OpenSSL" maybe that's why i get an error trying to build namecoin lately. Or maybe it's pointing to a file that was renamed or something is missing in my virtual machine...

Code:
  CXX    crypto/libnamecoinconsensus_la-sha512.lo
  CXX    libnamecoinconsensus_la-arith_uint256.lo
  CXX    consensus/libnamecoinconsensus_la-merkle.lo
In file included from consensus/merkle.h:12:0,
                 from consensus/merkle.cpp:5:
./primitives/block.h:15:32: fatal error: boost/shared_ptr.hpp: No such file or d
irectory
 #include
                                ^
compilation terminated.
makefile:6456: recipe for target 'consensus/libnamecoinconsensus_la-merkle.lo' f
ailed
mingw32-make[2]: *** [consensus/libnamecoinconsensus_la-merkle.lo] Error 1
mingw32-make[2]: Leaving directory 'c:/easywinbuilder/namecoin-core-master/src'
makefile:7724: recipe for target 'all-recursive' failed
mingw32-make[1]: *** [all-recursive] Error 1
hero member
Activity: 659
Merit: 501
When trying to work on this and try to install i am getting

boost [boost_1_58_0]
tar: boost_1_58_0/libs/geometry/doc/html/geometry/reference/spatial_indexes/boos
t__geometry__index__rtree/rtree_parameters_type_const____indexable_getter_const_
___value_equal_const____allocator_type_const___.html: Cannot open: File or path
name too long
tar: Exiting with failure status due to previous errors
Fatal error! Errorlevel: 2
Press any key to continue . . .

I got past the qtbase errors by reming them out and it moved onto the next pahse. Now it's getting stuck.
legendary
Activity: 1708
Merit: 1020
Anyone got a list of wallets that they have built using this system?

I have built Bitcoin and Namecoin.
legendary
Activity: 1778
Merit: 1003
NodeMasters
Anyone got a list of wallets that they have built using this system?
legendary
Activity: 1762
Merit: 1011
Are you sure you got the right versions of mingw?

This was on a machine which never had mingw installed prior to running EasyWinBuilder. It was downloaded from the link that EWB provided, which is: https://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download
legendary
Activity: 1708
Merit: 1020
So, I ran into this problem, as well, and had to manually extract to work around it:

Hi, I have this error:
Code:
QT5 base [5.3.2]
error:  zipfile probably corrupt (segmentation violation)
Fatal error! Errorlevel: 3
Press any key to continue . . .

Can't figured out how to procede. All .zip files works..  Sad

Any suggest?


Then I ran into the following older problem, with the openssl build silently exiting, as in:
openssl...
Operating system:i686-whatever-mingw
*then silently exits* (meaning, the ./config starts, then crashes before "Configuring mingw")

I had to manually run ./config and make via console for OpenSSL and then ran into the same silent exiting issue with the rest of the dependencies in build_dep.sh, so I had to manually run it for each of those dependencies, too.

I have my fingers crossed that the rest will work. I'm more curious as to why these problems are occurring for people.

Edit: Nope, got all the way to 4_run_build_daemon_and_qt, and get mingw32-make.exe has stopped working. EasyWinBuilder still ain't easy. Smiley
 

EDIT:

running openssl ./config and make via mingw console seems to work fine. Not sure what the deal is with running via the .bat under windows command prompt instead...

I commented out the openssl compile from the .sh and am now continuing with the rest of the process.

The sed commands are throwing a permission denied error, but look to have successfully updated what they were supposed to anyways.

Thanks for this tip, I had to do the same.

Thanks for the feedback. Are you sure you got the right versions of mingw?    I will take another look at this with bitcoin 0.12
legendary
Activity: 1762
Merit: 1011
So, I ran into this problem, as well, and had to manually extract to work around it:

Hi, I have this error:
Code:
QT5 base [5.3.2]
error:  zipfile probably corrupt (segmentation violation)
Fatal error! Errorlevel: 3
Press any key to continue . . .

Can't figured out how to procede. All .zip files works..  Sad

Any suggest?


Then I ran into the following older problem, with the openssl build silently exiting, as in:
openssl...
Operating system:i686-whatever-mingw
*then silently exits* (meaning, the ./config starts, then crashes before "Configuring mingw")

I had to manually run ./config and make via console for OpenSSL and then ran into the same silent exiting issue with the rest of the dependencies in build_dep.sh, so I had to manually run it for each of those dependencies, too.

I have my fingers crossed that the rest will work. I'm more curious as to why these problems are occurring for people.

Edit: Nope, got all the way to 4_run_build_daemon_and_qt, and get mingw32-make.exe has stopped working. EasyWinBuilder still ain't easy. Smiley
 

EDIT:

running openssl ./config and make via mingw console seems to work fine. Not sure what the deal is with running via the .bat under windows command prompt instead...

I commented out the openssl compile from the .sh and am now continuing with the rest of the process.

The sed commands are throwing a permission denied error, but look to have successfully updated what they were supposed to anyways.

Thanks for this tip, I had to do the same.
legendary
Activity: 1708
Merit: 1020
Updated for Bitcoin Core 0.11.2
legendary
Activity: 1708
Merit: 1020
I have unpacked all the files and put them in /lib. Can you tell me what part I have to comment out? Tnx..
in unpack_dep.sh you need to uncomment one line:
Code:
#unzip -o $DOWNLOAD/qtbase-opensource-src-$QTVERSION.zip -d $QTBASEPATH > /dev/null

For things to still work you need to do the unpack manually: extract qtbase-opensource-src-$QTVERSION.zip to the $QTBASEPATH (by default "Qt"). To test you can then directly run "2b_run_unpack_dep.bat"  and "3d_build_qt5.bat"

hero member
Activity: 700
Merit: 500
I have unpacked all the files and put them in /lib. Can you tell me what part I have to comment out? Tnx..
legendary
Activity: 1708
Merit: 1020
Tried, seme error   Sad
Can you unpack the file manually? if not it's really broken. otherwise you can comment out the automatic extraction in easywinbuilder and manually do whatever you comment out.
hero member
Activity: 700
Merit: 500
Tried, seme error   Sad
legendary
Activity: 1708
Merit: 1020
Hi, I have this error:
Code:
QT5 base [5.3.2]
error:  zipfile probably corrupt (segmentation violation)
Fatal error! Errorlevel: 3
Press any key to continue . . .

Can't figured out how to procede. All .zip files works..  Sad

Any suggest?
Hmm. You could try to manually unpack the file.
hero member
Activity: 700
Merit: 500
Hi, I have this error:
Code:
QT5 base [5.3.2]
error:  zipfile probably corrupt (segmentation violation)
Fatal error! Errorlevel: 3
Press any key to continue . . .

Can't figured out how to procede. All .zip files works..  Sad

Any suggest?
sr. member
Activity: 255
Merit: 251
I (along with fsb4000 and mezzovide) developed a way to build BitcoinDarkd.exe for Windows using MXE cross compiler from Linux.

It's really nice and makes building coins for Windows just as easy as for linux.

https://github.com/jl777/btcd/blob/master/libjl777/make_win64.sh
https://github.com/jl777/btcd/blob/master/libjl777/Makefile.win

I got the QT building as well. MXE mxe.cc takes a while to build, but it's a self contained dev environment, and only needs to be build once.

mezzovide also got some btc packages committed to the official mxe repo as well, so you don't need to build them separately and manually link them into the makefile:

https://github.com/mezzovide/mxe/commit/1513af4a88fa268d97364b3f29f8e4fb2e1d54c4

Matthew
Nice. Any chance builds are reproducible?

Good question, I'm not sure. I haven't checked my builds against anyone elses'.  


By the way, here is a script someone wrote to auto-build BitcoinDarkd.exe for Windows under Linux.

https://github.com/satindergrewal/SuperMesh/blob/master/scripts/btcd-build-scripts/btcdwinbuild.sh

It really makes things nice, having all the dependencies right there under MXE and not having to download & build so many manually.


Update - I went back and checked my build against someone elses, it had a different checksum. Unfortunate, but still extremely helpful when you just want to compile for Windows. To build BitcoinDarkd.exe for windows, you simply do:

Code:
git clone git://github.com/jl777/btcd
cd btcd/libjl777
make dependencies -f Makefile.win
make winpatch -f Makefile.win
make -f Makefile.win
make btcd -f Makefile.win

and that's it.
legendary
Activity: 1708
Merit: 1020
I (along with fsb4000 and mezzovide) developed a way to build BitcoinDarkd.exe for Windows using MXE cross compiler from Linux.

It's really nice and makes building coins for Windows just as easy as for linux.

https://github.com/jl777/btcd/blob/master/libjl777/make_win64.sh
https://github.com/jl777/btcd/blob/master/libjl777/Makefile.win

I got the QT building as well. MXE mxe.cc takes a while to build, but it's a self contained dev environment, and only needs to be build once.

mezzovide also got some btc packages committed to the official mxe repo as well, so you don't need to build them separately and manually link them into the makefile:

https://github.com/mezzovide/mxe/commit/1513af4a88fa268d97364b3f29f8e4fb2e1d54c4

Matthew
Nice. Any chance builds are reproducible?
Pages:
Jump to: