Author

Topic: Newer dependencies for compiling on window 7. (Read 1711 times)

hero member
Activity: 769
Merit: 500
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
hero member
Activity: 769
Merit: 500
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
newbie
Activity: 47
Merit: 0
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.
Jump to: