我正在尝试在Windows上构建增强功能。我下载了版本1.53和1.54,并遇到了同样的问题。
我导航从cmd提示符中提升根目录。并运行“booststrap.bat”文件 使用'vc11'工具集。
然后我试图跑:
C:\ Boost \ boost_1_53_0>。\ b2 -prefix = c:\ Boost -build-type = complete -with-thread -with-regex -with-system -with-date_time -with-test -with-filesystem -with-chrono -with-program_options address-model = 32 install C:/ Boost / boost_1_53_0 / tools / build / v2 / build \ property.jam:328:来自module属性的validate1 错误:无效的属性'<ûprefix> c:\ Boost':未知功能'ûprefix'。 C:/ Boost / boost_1_53_0 / tools / build / v2 / build \ property.jam:337:in property.validate from module property C:/ Boost / boost_1_53_0 / tools / build / v2 / build \ build-request.jam:216:来自模块构建请求的convert-command-line-element C:/ Boost / boost_1_53_0 / tools / build / v2 / build \ build-request.jam:154:来自模块构建请求的build-request.from-command-line C:/ Boost / boost_1_53_0 / tools / build / v2 \ build-system.jam:613:从模块构建系统加载 C:\ Boost \ boost_1_53_0 \ tools \ build \ v2 / kernel \ modules.jam:283:从模块模块导入 C:\ Boost \ boost_1_53_0 \ tools \ build \ v2 / kernel / bootstrap.jam:142:来自模块的boost-build C:\ Boost \ boost_1_53_0 \ boost-build.jam:17:模块范围内的模块
C:\升压\ boost_1_53_0>
知道可能导致这种情况的原因吗?