Bitcoin Forum
April 16, 2024, 11:55:14 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Cross Compile Windows Binaries For Bitcoin v0.10.2  (Read 218 times)
hamburger (OP)
Full Member
***
Offline Offline

Activity: 241
Merit: 107



View Profile WWW
May 21, 2018, 08:38:42 PM
 #1


Hi,

I need to cross compile Bitcoin v0.10.2 for the windows executable files on Ubuntu 14.04 x64 for a project.

The source code is at - https://github.com/bitcoin/bitcoin/tree/v0.10.2

All the instructions that I found result in the installation of the source on Ubuntu instead of compiling the source for the windows executable files.

I do not have any issues with the cross compiling of the source from Bitcoin v0.13 - v0.16

Any help with this will be much appreciated

Thx

H

Datacoin : DHZ6H91fsDoBHbdqED3ysCJJ2TUh3zRMZD
Krugercoin : Yz3A9sTMp2yh5QLuAL8YQyvS5PdjHRHkkf
1713268514
Hero Member
*
Offline Offline

Posts: 1713268514

View Profile Personal Message (Offline)

Ignore
1713268514
Reply with quote  #2

1713268514
Report to moderator
1713268514
Hero Member
*
Offline Offline

Posts: 1713268514

View Profile Personal Message (Offline)

Ignore
1713268514
Reply with quote  #2

1713268514
Report to moderator
1713268514
Hero Member
*
Offline Offline

Posts: 1713268514

View Profile Personal Message (Offline)

Ignore
1713268514
Reply with quote  #2

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

Posts: 1713268514

View Profile Personal Message (Offline)

Ignore
1713268514
Reply with quote  #2

1713268514
Report to moderator
1713268514
Hero Member
*
Offline Offline

Posts: 1713268514

View Profile Personal Message (Offline)

Ignore
1713268514
Reply with quote  #2

1713268514
Report to moderator
1713268514
Hero Member
*
Offline Offline

Posts: 1713268514

View Profile Personal Message (Offline)

Ignore
1713268514
Reply with quote  #2

1713268514
Report to moderator
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
May 21, 2018, 09:14:32 PM
 #2

There are no windows binaries there. I have 0.10.2 somewhere I'll get round to posting it if it is absolutely needed - if achows strategy fails.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3360
Merit: 6505


Just writing some code


View Profile WWW
May 21, 2018, 09:16:52 PM
 #3

The cross compilation process for Bitcoin Core 0.10.x should be largely the same as for recent versions of Bitcoin Core. Try following those instructions but with the 0.10.2 codebase.

You can also use gitian which is used for building the release binaries. Instructions for that are available here: https://github.com/bitcoin/bitcoin/blob/v0.10.2/doc/gitian-building.md and here https://github.com/bitcoin/bitcoin/blob/v0.10.2/doc/release-process.md

hamburger (OP)
Full Member
***
Offline Offline

Activity: 241
Merit: 107



View Profile WWW
May 22, 2018, 12:55:39 AM
 #4

There are no windows binaries there. I have 0.10.2 somewhere I'll get round to posting it if it is absolutely needed - if achows strategy fails.

Tnx but I need to build it myself.

H

Datacoin : DHZ6H91fsDoBHbdqED3ysCJJ2TUh3zRMZD
Krugercoin : Yz3A9sTMp2yh5QLuAL8YQyvS5PdjHRHkkf
hamburger (OP)
Full Member
***
Offline Offline

Activity: 241
Merit: 107



View Profile WWW
May 22, 2018, 12:58:18 AM
 #5

The cross compilation process for Bitcoin Core 0.10.x should be largely the same as for recent versions of Bitcoin Core. Try following those instructions but with the 0.10.2 codebase.

You can also use gitian which is used for building the release binaries. Instructions for that are available here: https://github.com/bitcoin/bitcoin/blob/v0.10.2/doc/gitian-building.md and here https://github.com/bitcoin/bitcoin/blob/v0.10.2/doc/release-process.md

Tnx, installing the VM now and will see how far I get with this route -> new learning curve.

H

Datacoin : DHZ6H91fsDoBHbdqED3ysCJJ2TUh3zRMZD
Krugercoin : Yz3A9sTMp2yh5QLuAL8YQyvS5PdjHRHkkf
akshaynexus
Copper Member
Newbie
*
Offline Offline

Activity: 18
Merit: 1


View Profile
May 22, 2018, 12:55:15 PM
 #6

You do not need gitian to build windows wallet.Its much easier and straightaway than gititan.Here are the steps to compile windows bitcoin core wallet on ubuntu with cross compile

1.Clone bitcoin repo
2.cd to depends folder
3.execute make HOST=x86_64-w64-mingw32 -j4
4.then once the depends have been compiled fully,then cd ..
5.then run bash autogen.sh
6.then execute ./configure --prefix=`pwd`/depends/x86_64-w64-mingw32
7.then type make
8.After all compile finishes.You will find qt wallet for windoes under the src/qt folder.

Thats it
hamburger (OP)
Full Member
***
Offline Offline

Activity: 241
Merit: 107



View Profile WWW
May 23, 2018, 01:53:16 PM
Last edit: May 23, 2018, 11:36:56 PM by hamburger
 #7

You do not need gitian to build windows wallet.Its much easier and straightaway than gititan.Here are the steps to compile windows bitcoin core wallet on ubuntu with cross compile

1.Clone bitcoin repo
2.cd to depends folder
3.execute make HOST=x86_64-w64-mingw32 -j4
4.then once the depends have been compiled fully,then cd ..
5.then run bash autogen.sh
6.then execute ./configure --prefix=`pwd`/depends/x86_64-w64-mingw32
7.then type make
8.After all compile finishes.You will find qt wallet for windoes under the src/qt folder.

Thats it

Nope, this is not going to work to compile the Windows binaries for bitcoin - at least definitely not for https://github.com/bitcoin/bitcoin/tree/v0.10.2

Datacoin : DHZ6H91fsDoBHbdqED3ysCJJ2TUh3zRMZD
Krugercoin : Yz3A9sTMp2yh5QLuAL8YQyvS5PdjHRHkkf
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!