Bitcoin Forum
April 19, 2024, 09:44:14 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Newer dependencies for compiling on window 7.  (Read 1693 times)
Onichan (OP)
Newbie
*
Offline Offline

Activity: 47
Merit: 0


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.
The trust scores you see are subjective; they will change depending on who you have in your trust list.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713519854
Hero Member
*
Offline Offline

Posts: 1713519854

View Profile Personal Message (Offline)

Ignore
1713519854
Reply with quote  #2

1713519854
Report to moderator
1713519854
Hero Member
*
Offline Offline

Posts: 1713519854

View Profile Personal Message (Offline)

Ignore
1713519854
Reply with quote  #2

1713519854
Report to moderator
Diapolo
Hero Member
*****
Offline Offline

Activity: 769
Merit: 500



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
Merit: 500



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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!