boost python3_链接Boost python 3.6.找不到boost_python而不是boost_python3

我遇到与boost

python链接的问题.

我正在使用Visual Studio 2017并使用以下命令行编译boost 1_64包:

b2 -a toolset=msvc-14.1 --build_type=complete stage variant=debugthreading=multi link=shared runtime-link=shared define=_ITERATOR_DEBUG_LEVEL=0 address-model=64

使用此user-config.jam:

using python

: 3.6 # Version

: C:\\Python36\\python.exe # Python Path

: C:\\Python36\\include # include path

: C:\\Python36\\libs # lib path(s)

: BOOST_ALL_NO_LIB=1

;

但是在使用运行时库建立我的c项目时:多线程DLL(/ MD)我不断收到此错误消息:

Error LNK1104 cannot open file 'boost_python-vc141-mt-gd-1_64.lib'

但我编译的boost库包含以下boost_python文件:

boost_python3-vc141-mt-gd-1_64.dll

boost_python3-vc141-mt-gd-1_64.lib

有人有python 3的增强经验吗?经过几个小时的尝试,我找不到一个好的解决方案.

顺便说一句:将文件重命名为boost_python-(删除3)工作正常.<

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值