2012-09-12 2 views
0

일부 부스트 라이브러리의 동적 링크 가능 빌드가 필요하며 웨이브 중 하나가 필요합니다. b2.exe 명령 줄 도구를 사용할 때 일부 라이브러리는 빌드되지 않습니다 (그 중 웨이브입니다).MSVC로 부스트 웨이브 빌드 64 비트

. 
...removing bin.v2\libs\thread\build\msvc-10.0\debug\address-model-64\architectu 
re-x86\threading-multi\boost_thread-vc100-mt-gd-1_50.lib 
...removing bin.v2\libs\thread\build\msvc-10.0\debug\address-model-64\architectu 
re-x86\threading-multi\boost_thread-vc100-mt-gd-1_50.pdb 
...skipped <pbin.v2\libs\wave\build\msvc-10.0\debug\address-model-64\architectur 
e-x86\threading-multi>boost_wave-vc100-mt-gd-1_50.dll for lack of <pbin.v2\libs\ 
thread\build\msvc-10.0\debug\address-model-64\architecture-x86\threading-multi>b 
oost_thread-vc100-mt-gd-1_50.lib... 

그리고 스레드가 다른 기호에 문제가있는 것 : 내가 거기 스레드 구성 요소에 문제가있어 추론 할 수 출력에서 ​​

C:\boost>b2.exe --toolset=msvc-10.0 --build-type=complete --with-chrono --with-date_time --with-thread --with-wave link=shared architecture=x86 address-model=64 

: 이것은 내가 명령 줄 매개 변수에 사용되는 것입니다 (아마 날짜 시간에서) :

thread.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) pu 
blic: __cdecl boost::gregorian::greg_month::greg_month(unsigned short)" (__imp_? 
[email protected]@[email protected]@[email protected]@Z) referenced in function "public: __cdecl 
boost::gregorian::date::date(enum boost::date_time::special_values)" ([email protected] 
[email protected]@@[email protected][email protected][email protected]@@Z) 
thread.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) pu 
blic: __cdecl boost::gregorian::greg_month::operator unsigned short(void)const " 
([email protected]@[email protected]@QEBAGXZ) referenced in function "union _L 
ARGE_INTEGER __cdecl boost::this_thread::`anonymous namespace'::get_due_time(str 
uct boost::detail::timeout const &)" ([email protected][email protected][email protected] 
[email protected]@[email protected]@[email protected]@[email protected]@Z) 

이러한 문제에 대한 해결책을 찾는 첫 번째 장소는 무엇입니까? 아무도 비슷한 문제가 발생 했습니까?

+0

b2.exe 호출에서 오타가있는 date_time 라이브러리 (--with-d ate_time)를 사용자가 지정해야한다고 가정해야합니까? – alrikai

+0

예, 데이터에 대해 죄송합니다. SO 편집기에 복사하여 붙여 넣는 동안 나타났습니다. – teodron

답변

1

하는 bjam을 호출 (또는 B2) 당신이 할 필요가 없습니다 때 - 툴셋을 위해 (사실은 당신이 그것을 필요는 없습니다), 그래서 당신의 명령은 아마해야

b2.exe toolset=msvc-10.0 --build-type=complete --with-chrono --with-date_time --with-thread --with-wave address-model=64

어쨌든 기본값 인 것처럼 공유 및 아키텍처 옵션을 가져 왔습니다. 바라건대 도움이 되길 바랍니다 ...

+0

이 예상대로 작동했습니다. – teodron

관련 문제