缺少一些文件来提升构建完成

时间:2014-03-04 01:56:29

标签: c++ windows visual-studio boost visual-studio-2010

我的环境是下一个:
windows 7 ultimate x64
visual studio 2010 ultimate sp1

并使用boost 1.55.0
从boost.org(.zip)获得提升并按照下一步安装

管理员命令中的

c:\boost_download_folder>booststarp.bat

...

c:\boost_download_folder>b2 toolset=msvc-10.0 variant=debug,release link=static threading=multi address-model=32 runtime-link=static

...

c:\boost_download_folder>b2 toolset=msvc-10.0 variant=debug,release link=shared threading=multi address-model=32 runtime-link=shared

它会产生大约3g的文件 我把它复制到我的项目中并包括在内。

linker->general->Additional library directories : $(SolutionDir)\boost_1_55_0\lib;$(SolutionDir)\boost_1_55_0\stage\lib;  

c/c++->additional include directories : $(SolutionDir)\boost_1_55_0

一切顺利,头文件查找正常 但只发生错误

LINK : fatal error LNK1104: 'libboost_system-vc100-mt-gd-1_55.lib'

我深深地发现,最后我发现了它。构建的库文件夹没有 libboost_system-vc100-mt-gd-1_55.lib 文件。我在资源管理器中搜索了此文件,但 boost_1_55_0 文件夹中未包含 libboost_system-vc100-mt-gd-1_55.lib

但下一个文件存在:

bin.v2\libs\system\build\msvc-10.0\release\address-model-32\link-static\runtime-link-static\threading-multi\libboost_system-vc100-mt-s-1_55.lib
stage\lib\libboost_system-vc100-mt-s-1_55.lib
bin.v2\libs\system\build\msvc-10.0\release\address-model-32\link-static\runtime-link-static\threading-multi\libboost_system-vc100-mt-s-1_55.lib.rsp

bin.v2\libs\system\build\msvc-10.0\debug\address-model-32\link-static\runtime-link-static-threading-multi\libboost_system-vc100-mt-sgd-1_55.lib
stage\lib\libboost_system-vc100-mt-sgd-1_55.lib
bin.v2\libs\system\build\msvc-10.0\debug\address-model-32\link-static\runtime-link-static-threading-multi\libboost_system-vc100-mt-sgd-1_55.lib.rsp

我认为它错过了构建。我错过了什么?请帮帮我

0 个答案:

没有答案