Bitcoin Forum
May 07, 2024, 12:45:17 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 [11]  All
  Print  
Author Topic: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows  (Read 50064 times)
BTCDDev
Sr. Member
****
Offline Offline

Activity: 255
Merit: 250


View Profile
October 09, 2015, 10:53:12 PM
Last edit: October 12, 2015, 05:00:43 AM by BTCDDev
 #201

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.

BitcoinDark: RPHWc5CwP9YMMbvXQ4oXz5rQHb3pKkhaxc
Top Donations: juicybirds 420BTCD ensorcell 84BTCD Stuntruffle: 40BTCD
Top April Donations: juicybirds 420BTCD; ensorcell: 42BTCD
1715042717
Hero Member
*
Offline Offline

Posts: 1715042717

View Profile Personal Message (Offline)

Ignore
1715042717
Reply with quote  #2

1715042717
Report to moderator
1715042717
Hero Member
*
Offline Offline

Posts: 1715042717

View Profile Personal Message (Offline)

Ignore
1715042717
Reply with quote  #2

1715042717
Report to moderator
Transactions must be included in a block to be properly completed. When you send a transaction, it is broadcast to miners. Miners can then optionally include it in their next blocks. Miners will be more inclined to include your transaction if it has a higher transaction fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715042717
Hero Member
*
Offline Offline

Posts: 1715042717

View Profile Personal Message (Offline)

Ignore
1715042717
Reply with quote  #2

1715042717
Report to moderator
1715042717
Hero Member
*
Offline Offline

Posts: 1715042717

View Profile Personal Message (Offline)

Ignore
1715042717
Reply with quote  #2

1715042717
Report to moderator
c275
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile
November 04, 2015, 04:00:32 PM
 #202

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?
phelix (OP)
Legendary
*
Offline Offline

Activity: 1708
Merit: 1019



View Profile
November 05, 2015, 09:31:05 AM
 #203

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

Activity: 700
Merit: 500


View Profile
November 05, 2015, 06:56:12 PM
 #204

Tried, seme error   Sad
phelix (OP)
Legendary
*
Offline Offline

Activity: 1708
Merit: 1019



View Profile
November 05, 2015, 07:38:54 PM
 #205

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

Activity: 700
Merit: 500


View Profile
November 05, 2015, 08:50:21 PM
 #206

I have unpacked all the files and put them in /lib. Can you tell me what part I have to comment out? Tnx..
phelix (OP)
Legendary
*
Offline Offline

Activity: 1708
Merit: 1019



View Profile
November 15, 2015, 07:21:35 PM
 #207

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"

phelix (OP)
Legendary
*
Offline Offline

Activity: 1708
Merit: 1019



View Profile
November 25, 2015, 09:24:43 AM
 #208

Updated for Bitcoin Core 0.11.2
mmortal03
Legendary
*
Offline Offline

Activity: 1762
Merit: 1010


View Profile
February 13, 2016, 10:25:33 AM
Last edit: February 13, 2016, 12:56:27 PM by mmortal03
 #209

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.
phelix (OP)
Legendary
*
Offline Offline

Activity: 1708
Merit: 1019



View Profile
February 15, 2016, 08:00:38 AM
 #210

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
mmortal03
Legendary
*
Offline Offline

Activity: 1762
Merit: 1010


View Profile
February 25, 2016, 10:14:43 AM
 #211

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
pjcltd
Legendary
*
Offline Offline

Activity: 1778
Merit: 1003

NodeMasters


View Profile WWW
February 25, 2016, 03:35:54 PM
 #212

Anyone got a list of wallets that they have built using this system?
phelix (OP)
Legendary
*
Offline Offline

Activity: 1708
Merit: 1019



View Profile
February 25, 2016, 03:47:23 PM
 #213

Anyone got a list of wallets that they have built using this system?

I have built Bitcoin and Namecoin.
Coryvmcs1
Hero Member
*****
Offline Offline

Activity: 659
Merit: 501


View Profile WWW
February 29, 2016, 07:52:11 PM
 #214

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.

BlokSpace Mining Pools -  https://blokspace.io | BlokSpace Discord# https://discord.gg/dGAKk9T
vane91
Member
**
Offline Offline

Activity: 133
Merit: 26


View Profile
April 18, 2016, 01:30:47 AM
 #215

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 <boost/shared_ptr.hpp>
                                ^
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
Apocalipsis
Full Member
***
Offline Offline

Activity: 147
Merit: 100


View Profile
March 11, 2017, 07:57:26 PM
 #216

Somebody built SCRYPT based coins?
wmcorless
Full Member
***
Offline Offline

Activity: 192
Merit: 100

paccoin


View Profile WWW
November 25, 2017, 06:32:08 PM
 #217

Anyone got a list of wallets that they have built using this system?


Paccoin was built with this also

Got Paccoin?
fxstrike
Member
**
Offline Offline

Activity: 238
Merit: 40

First Payment Gateway using GoldBacked cryptocurre


View Profile
November 26, 2017, 10:47:04 AM
 #218

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

ankdevian
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
February 03, 2018, 08:54:37 PM
 #219

getting stuck on googletest-1.7.0
Pages: « 1 2 3 4 5 6 7 8 9 10 [11]  All
  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!