构建Boost.Python时出现未解决的错误 [英] Unresolved Error when building Boost.Python

查看:380
本文介绍了构建Boost.Python时出现未解决的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试运行在我的Windows7 64位计算机上安装Boost.Python时的示例示例.

我的助推器安装在C:\local\boost_1_54_0.因此,在步骤3.1.4中,我输入

My boost is installed at C:\local\boost_1_54_0. Thus at step 3.1.4, I entered

b2 toolset = msvc --build-type = complete --verbose-test测试

b2 toolset=msvc --build-type=complete --verbose-test test

但是,在命令提示符窗口中,我遇到了135个未解决的外部错误.这些错误都指向具有相同前缀boost_python-vc110-gd-1_54的一系列文件,扩展名如.rsp.dll等,并且它们应位于C:\local\boost_1_54_0\bin.v2\libs\python\build\msvc-11\debug\.

However, in the command prompt window, I've got 135 unresolved external errors. These errors all point to a serie of files that has the same prefix boost_python-vc110-gd-1_54, the extentions are such as .rsp, .dll etc., and they should be at C:\local\boost_1_54_0\bin.v2\libs\python\build\msvc-11\debug\.

我可以知道我做错了什么吗?

May I know what am I wrong?

推荐答案

我不认为您要--build-type = complete,它不知道要运行哪一个.另外,我相信只有threading = multi,link = shared才有效.

I don't think you want --build-type=complete, it won't know which one to run. Also, I believe that only the threading=multi, link=shared will work.

记录了我必须做的事让我自己开始工作.

这篇关于构建Boost.Python时出现未解决的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆