Visual studio 2010 (boost)无法打开文件';boost_python-vc100-mt-gd-1_53.lib';

Visual studio 2010 (boost)无法打开文件';boost_python-vc100-mt-gd-1_53.lib';,visual-studio-2010,boost,bjam,Visual Studio 2010,Boost,Bjam,因此,我下载了boost_1_53_0,并运行了bjam。在按照前导链接“库”和“包含”之后,运行了Visual C++解决方案,得到以下错误 LINK : fatal error LNK1104: cannot open file 'boost_python-vc100-mt-gd-1_53.lib' 我读了一些关于执行bjam--build type=complete--toolset=gcc stage的解决方案,但似乎我的命令提示符无法识别bjam,即使我将路径添加到系统变量中 Var

因此,我下载了boost_1_53_0,并运行了
bjam
。在按照前导链接“库”和“包含”之后,运行了Visual C++解决方案,得到以下错误

LINK : fatal error LNK1104: cannot open file 'boost_python-vc100-mt-gd-1_53.lib'
我读了一些关于执行
bjam--build type=complete--toolset=gcc stage
的解决方案,但似乎我的命令提示符无法识别
bjam
,即使我将
路径添加到系统变量中

Variable name: bjam    
Variable Value: D:\boost_1_53_0\

但我仍然无法在命令提示符下运行bjam!谢谢

如果你把
b2
istead放在
bjam
上,会有帮助吗?顺便问一下,为什么
--toolset=gcc
?你不想用MSVC构建boost吗?另外b2也不被识别,我不确定--toolset=gcc,我在一个解决方案中找到了它,你应该先运行
bootstrap
。请参阅“入门”文章:如果您想在VisualStudio中使用boost,为什么要尝试用gcc编译它?