Próbuje zainstalować bibliotekę boost pod DevCPP. Chodzi mi o wykorzystanie <boost/thread/thread.hpp>.
Ściągam więc plik boost_1_42_0.7z ze strony
http://sourceforge.net/projects/boost/files/boost/1.42.0/
i plik boost-jam-3.1.17-1-ntx86.zip ze strony
http://sourceforge.net/projects/boost/files/boost-jam/3.1.17/
Po rozpakowaniu ustawiam odpowiednią zmienną środowiskową stanowiącą ścieżkę do bjam.exe, wchodzę do katalogu z boostem .\boost_1_42_0, po czym uruchamiam bjama w poniższy sposób:
bjam –toolset=gcc –with-thread –stagedir=. debug release link=static runtime-link=shared threading=multi stage
Wypisuje coś takiego:
D:\Dev-Cpp\boost_1_42_0>bjam -toolset=gcc -with-thread stage
WARNING: No python installation configured and autoconfiguration
failed. See http://www.boost.org/libs/python/doc/building.html
for configuration instructions or pass --without-python to
suppress this message and silently skip all Boost.Python targets
warning: No toolsets are configured.
warning: Configuring default toolset "msvc".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
D:/Dev-Cpp/boost_1_42_0/tools/build/v2/build\property.jam:292: in validate1 from
module property
error: Invalid property '<ľtoolset>gcc': unknown feature 'ľtoolset'.
D:/Dev-Cpp/boost_1_42_0/tools/build/v2/build\property.jam:301: in property.valid
ate from module property
D:/Dev-Cpp/boost_1_42_0/tools/build/v2/build\build-request.jam:216: in convert-c
ommand-line-element from module build-request
D:/Dev-Cpp/boost_1_42_0/tools/build/v2/build\build-request.jam:153: in build-req
uest.from-command-line from module build-request
D:/Dev-Cpp/boost_1_42_0/tools/build/v2\build-system.jam:591: in load from module
build-system
D:\Dev-Cpp\boost_1_42_0\tools\build\v2/kernel\modules.jam:283: in import from mo
dule modules
D:\Dev-Cpp\boost_1_42_0\tools\build\v2\kernel\bootstrap.jam:142: in boost-build
from module
D:\Dev-Cpp\boost_1_42_0\boost-build.jam:17: in module scope from module
W katalogu z boostem tworzy się pusty katalog stage.
Próbuję robić pełną instalację podaną jako przykład gdzieś w dokumentacji
bjam ^
More? --build-dir="D:\Dev-Cpp\boost_1_42_0\stage" ^
More? --build-type=complete msvc stage
i skipuje builda. Jak w takim razie zrobić poprawną instalację ?