Bitcoin Forum
May 23, 2024, 02:23:37 PM *
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 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 [39] 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 »
  Print  
Author Topic: Building headless Bitcoin and Bitcoin-qt on Windows  (Read 419326 times)
awais3344_1
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


View Profile
October 23, 2014, 05:48:05 AM
 #761

also i think this tutorial is good, but it misses some things like you need to have msys-zlib-bin and msys-gcc compiler to able to make libpng and libqrencode.

The tutorial states you have to use a mingw-builds toolchain:

1.1 Install msys shell:
http://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download
From MinGW installation manager -> All packages -> MSYS
mark the following for installation:

msys-base-bin
msys-autoconf-bin
msys-automake-bin
msys-libtool-bin


then click on Installation -> Apply changes

Make sure no mingw packages are checked for installation or present from a previous install. Only the above msys packages should be installed. Also make sure that msys-gcc and msys-w32api packages are not installed.

1.2 Install MinGW-builds project toolchain:
Download http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.1/threads-posix/dwarf/i686-4.9.1-release-posix-dwarf-rt_v3-rev1.7z/download
and unpack it to C:\

I have used the mingw-builds that you have provided. However building qrencode and libpng still asks for zlib and gcc compiler, which is fixed by installing zlib and msys-gcc

                 ░▒▓▓▓▓▓▓▓▓▓▒▒░
           ░▒█████████████████████▒░
         ▓███████████████████████████▓░
      ░███████████████▓░▒███████████████░
     ▓██████████▓▓▒░        ▒▒▓▓██████████
   ░███▓                               ▒███▒
  ░████               ▒▒▒               ████▒
 ░█████░           ░███████░            █████▒
 ██████░          ░██      ██▒          ██████
░██████░          ██       ██           ██████▒
▓██████           ██░ ░   ░██           ███████
▓██████         ████████████████        ███████
▓██████        █████████████████        ███████
░██████▒       ███████████████       ░██████▓
 ███████       █████████████████       ▓██████
 ░███████       ████████████████      ▓██████▒
  ▒███████▒       ░ ░     ░ ░       ░███████▒
   ░████████▒                     ▒████████▒
     ▓████████▓░               ░▓█████████
      ░██████████▓░          ▓██████████░
         ▓██████████▒     ▒██████████▓░
           ░▒██████████▒▓█████████▓░
                 ░▒▓▓▓▓▓▓▓▓▓▒▒░
T-rage_11
Member
**
Offline Offline

Activity: 74
Merit: 10


www.btcaudio.eu || LIVE-AUDIO-TICKER


View Profile WWW
October 23, 2014, 10:24:52 AM
 #762

CAN SOMEONE UPLOAD A WORKING VIRTUALBOX-IMAGE OF WINDOWS with installed compiling-tools ?

WOULD ALSO DONATE !!!

you can upload here: http://megacloud.tk
User: bitcoin
Password: bitcoin

maximum is 30GB .. if you need more space -> send PM  Smiley

Bitcoin Donation: 1337WiNsz5zEnjCUtpvfGaztJqLe5Wxge2
www.btcaudio.eu - LIVE-AUDIO-TICKER
www.t-rage11.bplaced.net - watch & chat
awais3344_1
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


View Profile
October 23, 2014, 10:28:04 AM
 #763

CAN SOMEONE UPLOAD A WORKING VIRTUALBOX-IMAGE OF WINDOWS with installed compiling-tools ?

WOULD ALSO DONATE !!!

you can upload here: http://megacloud.tk
User: bitcoin
Password: bitcoin


i have working deps on windows. And there is no problem. but that is 1.87GB and my connection is an ass!!

                 ░▒▓▓▓▓▓▓▓▓▓▒▒░
           ░▒█████████████████████▒░
         ▓███████████████████████████▓░
      ░███████████████▓░▒███████████████░
     ▓██████████▓▓▒░        ▒▒▓▓██████████
   ░███▓                               ▒███▒
  ░████               ▒▒▒               ████▒
 ░█████░           ░███████░            █████▒
 ██████░          ░██      ██▒          ██████
░██████░          ██       ██           ██████▒
▓██████           ██░ ░   ░██           ███████
▓██████         ████████████████        ███████
▓██████        █████████████████        ███████
░██████▒       ███████████████       ░██████▓
 ███████       █████████████████       ▓██████
 ░███████       ████████████████      ▓██████▒
  ▒███████▒       ░ ░     ░ ░       ░███████▒
   ░████████▒                     ▒████████▒
     ▓████████▓░               ░▓█████████
      ░██████████▓░          ▓██████████░
         ▓██████████▒     ▒██████████▓░
           ░▒██████████▒▓█████████▓░
                 ░▒▓▓▓▓▓▓▓▓▓▒▒░
nitrogenetics (OP)
Full Member
***
Offline Offline

Activity: 131
Merit: 108



View Profile
October 23, 2014, 04:40:23 PM
 #764

However building qrencode and libpng still asks for zlib and gcc compiler

Your build environment is most likely misconfigured, delete c:\mingw then reinstall required msys packages only. Also check that your PATH is ok.

BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH
XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
cinnamon_carter
Legendary
*
Offline Offline

Activity: 1148
Merit: 1018


It's about time -- All merrit accepted !!!


View Profile WWW
October 24, 2014, 03:49:34 AM
 #765

i don't have one, if you are going to try to build with vb better to learn gitian method....

if you are just getting stuck get a copy of someone's dep's folder , it may help but you cannot just take someone elses deps folder and have it work on your machine automatically,  there are still things you have on your machine,  as the 'man' himself said make sure you have the correct msys version installed


if you are trying to build older versions or alt coins may be difficult since bitcoin has 'outgrown' them so much,

i use older /different mingw version to build alt coins..... latest to build btc....
CAN SOMEONE UPLOAD A WORKING VIRTUALBOX-IMAGE OF WINDOWS with installed compiling-tools ?

WOULD ALSO DONATE !!!

you can upload here: http://megacloud.tk
User: bitcoin
Password: bitcoin

maximum is 30GB .. if you need more space -> send PM  Smiley

Check out my coin Photon
Merge Mine 5 other Blake 256 coins - 6x your hash power  https://www.blakecoin.org/

The obvious choice is not always the best choice.

LOOK DEEPER - Look into the Blake 256 Family -- CC
awais3344_1
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


View Profile
November 05, 2014, 07:15:47 AM
 #766

Someone please help, I'm stuck on this part.

cd /c/deps/
tar xvfz db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix
../dist/configure --enable-mingw --enable-cxx --disable-shared --disable-replication
make

It comes up with an error 'No targets specified and no makefile found, stop.'

it just cant find the target for make. That means you're maybe in the wrong directory? you should try cd db-4.8.30.NC/build_unix again, and that you're in build_unix dir.

                 ░▒▓▓▓▓▓▓▓▓▓▒▒░
           ░▒█████████████████████▒░
         ▓███████████████████████████▓░
      ░███████████████▓░▒███████████████░
     ▓██████████▓▓▒░        ▒▒▓▓██████████
   ░███▓                               ▒███▒
  ░████               ▒▒▒               ████▒
 ░█████░           ░███████░            █████▒
 ██████░          ░██      ██▒          ██████
░██████░          ██       ██           ██████▒
▓██████           ██░ ░   ░██           ███████
▓██████         ████████████████        ███████
▓██████        █████████████████        ███████
░██████▒       ███████████████       ░██████▓
 ███████       █████████████████       ▓██████
 ░███████       ████████████████      ▓██████▒
  ▒███████▒       ░ ░     ░ ░       ░███████▒
   ░████████▒                     ▒████████▒
     ▓████████▓░               ░▓█████████
      ░██████████▓░          ▓██████████░
         ▓██████████▒     ▒██████████▓░
           ░▒██████████▒▓█████████▓░
                 ░▒▓▓▓▓▓▓▓▓▓▒▒░
hawaiicoin
Member
**
Offline Offline

Activity: 99
Merit: 10


View Profile
November 09, 2014, 06:46:28 AM
 #767

Step 1.1:  Add Msys-Perl package.  I tried to do .configure for openSSL and it complained about not having PERL available.  After going back into MinGW and selecting to install Msys-Perl the configuration of openSSL worked perfectly.
nitrogenetics (OP)
Full Member
***
Offline Offline

Activity: 131
Merit: 108



View Profile
November 09, 2014, 10:49:55 AM
 #768

Msys-perl will be automatically selected for installation by msys-autoconf, so it should not be normally needed to get it manually installed.

BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH
XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
nuggetbram
Full Member
***
Offline Offline

Activity: 326
Merit: 100



View Profile
November 10, 2014, 02:18:28 AM
 #769

Is there a way to compile qtwebkit along with all of this? A coin I'm compiling requires the webkit, which can only be compiled if qt is compiled non-statically. It then seems to break everything. Is there some way around this?
nitrogenetics (OP)
Full Member
***
Offline Offline

Activity: 131
Merit: 108



View Profile
November 10, 2014, 07:41:29 AM
 #770

Qt webkit can only be compiled on shared qt builds afaik:
https://bugreports.qt-project.org/browse/QTBUG-32309

BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH
XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
Christian1998
Sr. Member
****
Offline Offline

Activity: 474
Merit: 500


View Profile
November 10, 2014, 03:48:59 PM
 #771

Hey nitrogenetics,
Can you install it on a VMware when i give you TeamViewer ID + Password please (I give you a little bounty).
Thanks.
Uppmaster
timmy1979222
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
November 15, 2014, 09:41:02 PM
 #772

i set enviroment,but doesnt work
timmy1979222
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
November 15, 2014, 09:50:24 PM
 #773

Hey nitrogenetics,
Can you install it on a VMware when i give you TeamViewer ID + Password please (I give you a little bounty).
Thanks.
Uppmaster
vmware is easy,take virtualbox
fabula
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500



View Profile
November 17, 2014, 06:23:46 PM
 #774

I miss a basic and important knoweledge.
Already cloned and modified a coin under linux.
If need to compile a gui wallet for windows i need to use this guide?
qmake under linux will create a wallet for linux but not for windows right?
And i don't understand if the wallet will be compiled with stake option taken from source gthub repository of the cloned coin.

Thanks.
Or i can make an exe file under linux to compile windows wallet?

Sometimes i see very nice wallets, with nice graphics. qmake will create them from the code source?
I mean, i will clone an XXX coin that already have a personal wallet with different layout, i will mod the source code, change block rewards,name,stuff here and ther, then with qmake command i will create a wallet similar to the original ones? or i always will get the vintage grey wallet as for standard bitcoin or litecoin?
old c coder
Sr. Member
****
Offline Offline

Activity: 260
Merit: 250



View Profile WWW
November 17, 2014, 06:45:43 PM
 #775

I miss a basic and important knoweledge.
Already cloned and modified a coin under linux.
If need to compile a gui wallet for windows i need to use this guide?
qmake under linux will create a wallet for linux but not for windows right?
And i don't understand if the wallet will be compiled with stake option taken from source gthub repository of the cloned coin.

Thanks.
Or i can make an exe file under linux to compile windows wallet?

Sometimes i see very nice wallets, with nice graphics. qmake will create them from the code source?
I mean, i will clone an XXX coin that already have a personal wallet with different layout, i will mod the source code, change block rewards,name,stuff here and ther, then with qmake command i will create a wallet similar to the original ones? or i always will get the vintage grey wallet as for standard bitcoin or litecoin?

Hello fabula?

If your *coin is derived from an older version of Bitcoin, say pre 0.9.x , then using the *coin-qt.pro on Windows, should qmake the makefile.release & makefile.debug for mingw32-make to "eat"!  It has been working for me for 18 months or so that I have been in this "racket"!  Of course one must attune ones *coin-qt.pro and probably the derived makefile.release/debug for one's own environment.  And don't forget the intermediate object_script.*coin-qt.Release/Debug files too if you add "goodies" Grin  Think of how many OpenSSL versions have gone "under the bridge" like water: 1.0.1c,e,h,i,j that one had to update in the .pro or .release files!

Ron


LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf 
The day is coming when a single carrot, freshly observed, will set off a revolution.  Paul Cezanne
arloseb
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


View Profile
November 29, 2014, 11:33:02 AM
 #776

Installing OPENSLL
make
Firsti he ask me to do: make depend before install
I do. Then i do: make
Then error:
Nothing to be done for `all (after 10 minutes of compiling)

What's up?
awais3344_1
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


View Profile
November 29, 2014, 12:04:10 PM
 #777

Installing OPENSLL
make
Firsti he ask me to do: make depend before install
I do. Then i do: make
Then error:
Nothing to be done for `all (after 10 minutes of compiling)

What's up?

if you have already compiled the openssl. then you it will say nothing to be done for "all".
so go to next step  Wink

                 ░▒▓▓▓▓▓▓▓▓▓▒▒░
           ░▒█████████████████████▒░
         ▓███████████████████████████▓░
      ░███████████████▓░▒███████████████░
     ▓██████████▓▓▒░        ▒▒▓▓██████████
   ░███▓                               ▒███▒
  ░████               ▒▒▒               ████▒
 ░█████░           ░███████░            █████▒
 ██████░          ░██      ██▒          ██████
░██████░          ██       ██           ██████▒
▓██████           ██░ ░   ░██           ███████
▓██████         ████████████████        ███████
▓██████        █████████████████        ███████
░██████▒       ███████████████       ░██████▓
 ███████       █████████████████       ▓██████
 ░███████       ████████████████      ▓██████▒
  ▒███████▒       ░ ░     ░ ░       ░███████▒
   ░████████▒                     ▒████████▒
     ▓████████▓░               ░▓█████████
      ░██████████▓░          ▓██████████░
         ▓██████████▒     ▒██████████▓░
           ░▒██████████▒▓█████████▓░
                 ░▒▓▓▓▓▓▓▓▓▓▒▒░
arloseb
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


View Profile
November 29, 2014, 12:05:46 PM
 #778

Installing OPENSLL
make
Firsti he ask me to do: make depend before install
I do. Then i do: make
Then error:
Nothing to be done for `all (after 10 minutes of compiling)

What's up?

if you have already compiled the openssl. then you it will say nothing to be done for "all".
so go to next step  Wink

Thanks aways.
arloseb
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


View Profile
November 29, 2014, 05:28:44 PM
 #779

I'm compiling QT

cd C:\Qt\5.3.2
configure.bat -release -opensource -confirm-license -static -make libs -no-sql-sqlite -no-opengl -system-zlib -qt-pcre -no-icu -no-gif -system-libpng -no-libjpeg -no-freetype -no-angle -no-vcproj -openssl -no-dbus -no-audio-backend -no-wmf-backend -no-qml-debug

mingw32-make

Since i have only a dualcore, it's more than 4 hours that he's compiling.
Seems working weel,but too slow.

But my question is:
If i need another version in future of mingw,or openssl,or berkeley etc etc, i have to recompile also QT?
Or just the respective deps?


awais3344_1
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


View Profile
November 29, 2014, 08:43:26 PM
 #780

I'm compiling QT

cd C:\Qt\5.3.2
configure.bat -release -opensource -confirm-license -static -make libs -no-sql-sqlite -no-opengl -system-zlib -qt-pcre -no-icu -no-gif -system-libpng -no-libjpeg -no-freetype -no-angle -no-vcproj -openssl -no-dbus -no-audio-backend -no-wmf-backend -no-qml-debug

mingw32-make

Since i have only a dualcore, it's more than 4 hours that he's compiling.
Seems working weel,but too slow.

But my question is:
If i need another version in future of mingw,or openssl,or berkeley etc etc, i have to recompile also QT?
Or just the respective deps?




you only need to compile dependancies again. you have to compile qt only once.

                 ░▒▓▓▓▓▓▓▓▓▓▒▒░
           ░▒█████████████████████▒░
         ▓███████████████████████████▓░
      ░███████████████▓░▒███████████████░
     ▓██████████▓▓▒░        ▒▒▓▓██████████
   ░███▓                               ▒███▒
  ░████               ▒▒▒               ████▒
 ░█████░           ░███████░            █████▒
 ██████░          ░██      ██▒          ██████
░██████░          ██       ██           ██████▒
▓██████           ██░ ░   ░██           ███████
▓██████         ████████████████        ███████
▓██████        █████████████████        ███████
░██████▒       ███████████████       ░██████▓
 ███████       █████████████████       ▓██████
 ░███████       ████████████████      ▓██████▒
  ▒███████▒       ░ ░     ░ ░       ░███████▒
   ░████████▒                     ▒████████▒
     ▓████████▓░               ░▓█████████
      ░██████████▓░          ▓██████████░
         ▓██████████▒     ▒██████████▓░
           ░▒██████████▒▓█████████▓░
                 ░▒▓▓▓▓▓▓▓▓▓▒▒░
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 [39] 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 »
  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!