Bitcoin Forum
October 16, 2017, 10:24:31 PM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Newer dependencies for compiling on window 7.  (Read 1554 times)
Onichan
Jr. Member
*
Offline Offline

Activity: 47


View Profile
April 19, 2012, 03:48:23 AM
 #1

Does anybody have a newer dependencies archive instead of the current qtgui_deps_1.zip as it is outdated and doesn't work when trying to compile the source for windows. I have tried compiling the dependencies myself, but I kept getting errors when trying to build.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Diapolo
Hero Member
*****
Offline Offline

Activity: 769



View Profile WWW
April 22, 2012, 03:53:00 PM
 #2

Does anybody have a newer dependencies archive instead of the current qtgui_deps_1.zip as it is outdated and doesn't work when trying to compile the source for windows. I have tried compiling the dependencies myself, but I kept getting errors when trying to build.

The only one you really need to compile are the Boost libs. The others are fine ... QR-Code generation can be left disabled.

Dia

Liked my former work for Bitcoin Core? Drop me a donation via:
1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x
bitcoin:1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x?label=Diapolo
Diapolo
Hero Member
*****
Offline Offline

Activity: 769



View Profile WWW
April 22, 2012, 07:39:38 PM
 #3

Here is a short howto for compiling the Boost libs I wrote as a hint for myself, should give you a good start:
It assumes you extracted Boost 1.47 to D:\boost_1_47_0 (you can use the latest 1.49, too as this works).

--------------

D:\boost_1_47_0 has to be set as environment variable BOOST_ROOT

--------------

open D:\boost_1_47_0\bootstrap.bat
replace set toolset=msvc with set toolset=gcc ersetzen

--------------

open D:\boost_1_47_0\tools\build\v2\engine and search for mingw

replace the existing text with this (assumes you installed the QtSDK + mingw to D:\QtSDK):
if EXIST "D:\QtSDK\mingw\bin\gcc.exe" (
    set "BOOST_JAM_TOOLSET=mingw"
    set "BOOST_JAM_TOOLSET_ROOT=D:\QtSDK\mingw\"

--------------

open Qt 4.8.1 for Desktop (MinGW) (Qt-command prompt) and change to D:\boost_1_47_0

--------------

enter "bootstrap.bat gcc" and press enter

--------------

this generates the needed libs for Bitcoin after the above process finished:
b2 --toolset=gcc --build-dir=D:\boost_1_47_0\build --build-type=minimal stage link=static runtime-link=static threading=multi variant=release -a -j 4 --with-filesystem --with-program_options --with-system --with-thread

Dia

Liked my former work for Bitcoin Core? Drop me a donation via:
1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x
bitcoin:1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x?label=Diapolo
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!