Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате
Форум программистов > C/C++: Общие вопросы > Threadpool library


Автор: necrom 23.4.2011, 00:46
Подскажите как собрать данную библиотеку для boost. Скачал её отсюда http://threadpool.sourceforge.net/
Папки lib и boost поместил в boost_1_46 ко всем либам начинаю устанавливать такой вот командой


Цитата

@echo off
bjam --stagedir="./lib/debug" toolset=msvc-8.0 variant=debug link=static threading=multi runtime-link=static --without-graph --without-python --without-mpi --without-math --without-random --without-graph_parallel --without-wave --without-date_time --without-filesystem --without-iostreams --without-program_options --without-serialization --without-signals --without-system --without-test --without-regex --without-thread stage
bjam --stagedir="./lib/release" toolset=msvc-8.0 variant=release link=static threading=multi runtime-link=static --without-graph --without-python --without-mpi --without-math --without-random --without-graph_parallel --without-wave --without-date_time --without-filesystem --without-iostreams --without-program_options --without-serialization --without-signals --without-system --without-test --without-regex --without-thread stage

pause


Вываливаются сюрпризы:
Код

C:\boost_1_46_1>bj.bat
warning: Unable to construct ./stage-unversioned

Component configuration:

    - date_time                : not building
    - filesystem               : not building
    - graph                    : not building
    - graph_parallel           : not building
    - iostreams                : not building
    - math                     : not building
    - mpi                      : not building
    - program_options          : not building
    - python                   : not building
    - random                   : not building
    - regex                    : not building
    - serialization            : not building
    - signals                  : not building
    - system                   : not building
    - test                     : not building
    - thread                   : not building
    - threadpool               : building
    - wave                     : not building

...found 1 target...
warning: Unable to construct ./stage-unversioned



Автор: boostcoder 23.4.2011, 01:28
Цитата(necrom @  23.4.2011,  00:46 Найти цитируемый пост)
--without-graph --without-python --without-mpi --without-math --without-random --without-graph_parallel --without-wave --without-date_time --without-filesystem --without-iostreams --without-program_options --without-serialization --without-signals --without-system --without-test --without-regex --without-thread stage
bjam --stagedir="./lib/release" toolset=msvc-8.0 variant=release link=static threading=multi runtime-link=static --without-graph --without-python --without-mpi --without-math --without-random --without-graph_parallel --without-wave --without-date_time --without-filesystem --without-iostreams --without-program_options --without-serialization --without-signals --without-system --without-test --without-regex --without-thread stage

так у тебя же полный дизэйбл всего smile

Автор: necrom 23.4.2011, 19:11
Уже разобрался. Спасибо. Отключал, чтоб лишнего не компилить )
Эти исходники для threadpool не нужно компилить, просто include папку добавить к boost, нужена был только статическая библиотека thread,

Автор: boostcoder 23.4.2011, 19:14
Цитата(necrom @  23.4.2011,  19:11 Найти цитируемый пост)
исходники для threadpool не нужно компилить

угу ;)

Автор: boostcoder 23.4.2011, 19:59
necrom, тему закрой.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)