艰苦的编译boost python (失败)
1.下载 boost_1_67_0
2.在目录下执行 bootstrap
3.将python36添加到path环境变量
4.执行 b2 --with-python,将会声场如下dll
2018/04/17 23:27 6,244,996 libboost_numpy36-vc141-mt-gd-x32-1_67.lib
2018/04/17 23:29 6,466,770 libboost_numpy36-vc141-mt-gd-x64-1_67.lib
2018/04/17 23:28 291,906 libboost_numpy36-vc141-mt-x32-1_67.lib
2018/04/17 23:29 385,224 libboost_numpy36-vc141-mt-x64-1_67.lib
2018/04/17 23:27 27,240,334 libboost_python36-vc141-mt-gd-x32-1_67.lib
2018/04/17 23:28 30,640,500 libboost_python36-vc141-mt-gd-x64-1_67.lib
2018/04/17 23:28 4,303,530 libboost_python36-vc141-mt-x32-1_67.lib
2018/04/17 23:29 5,299,538 libboost_python36-vc141-mt-x64-1_67.lib
如下编译例子
5.cd G:\_codes\boost_1_67_0\libs\python\example
6.修改G:\_codes\boost_1_67_0\libs\python\example\Jamroot其中一段如下
project
: requirements
<include>G:/_codes/boost_1_67_0
# <library>boost_python
;
7.执行b2
8.出错
LINK : fatal error LNK1104: cannot open file 'boost_pythonPY_MAJOR_VERSIONPY_MINOR_VERSION-vc141-mt-gd-x32-1_67.lib'
艰苦的编译boost python (失败)的更多相关文章
- 编译boost python模块遇到的错误:../../libraries/boost_1_44_0/boost/python/detail/wrap_python.hpp:75:24: fatal error: patchlevel.h: No such file or directory
就是遇到类似标题上面的错误. 原因是没有安装对应python的python-dev依赖,不然编译到boost python模块的时候就会出错. 所以解决方案是sudo apt-get install ...
- [转]linux下编译boost.python
转自:http://blog.csdn.net/gong_xucheng/article/details/25045407 linux下编译boost.python 最近项目使用c++操作python ...
- [转]boost::python开发环境搭建
转自:http://www.cnblogs.com/gaoxing/p/4317051.html 本来想用mingw编译boost::python模块,网上看了下资料太少,只有使用vs2012 操作环 ...
- boost::python开发环境搭建
本来想用mingw编译boost::python模块,网上看了下资料太少,只有使用vs2012 操作环境:win7 x64 python: x86 boost: 1.57 编译boost::pytho ...
- boost.python编译及演示样例
欢迎转载,转载请注明原文地址:http://blog.csdn.net/majianfei1023/article/details/46781581 linux编译boost的链接:http://bl ...
- [转]vs2010用 boost.python 编译c++类库 供python调用
转自:http://blog.csdn.net/wyljz/article/details/6307952 VS2010建立一个空的DLL 项目属性中配置如下 链接器里的附加库目录加入,python/ ...
- vs2013 + python3.52 + boost1.61, 编译C++库失败
使用vs2013 + python3.52 + boost1.61, 编译C++库, 失败! 提示如下": boost::python::detail::init_module(st ...
- 使用Boost.Python构建混合系统(译)
目录 Building Hybrid Systems with Boost.Python 摘要(Abstract) 介绍(Introduction) 设计目标 (Boost.Python Design ...
- boost.python笔记
boost.python笔记 标签: boost.python,python, C++ 简介 Boost.python是什么? 它是boost库的一部分,随boost一起安装,用来实现C++和Pyth ...
随机推荐
- HTML5触摸事件(touchstart、touchmove和touchend)
HTML5中新添加了很多事件,但是由于他们的兼容问题不是很理想,应用实战性不是太强,所以在这里基本省略,咱们只分享应用广泛兼容不错的事件,日后随着兼容情况提升以后再陆续添加分享.今天为大家介绍的事 ...
- request的响应时间elapsed和超时timeout
前言:requests发请求时,接口的响应时间,也是我们需要关注的一个点,如果响应时间太长,也是不合理的 1.获取接口请求的响应时间 r.elapsed.total_seconds() import ...
- 2019-03-25-day018-面向对象
re模块 字符串匹配 列表 = findall(正则表达式,待匹配的字符串) 找所有 结果集 = search 找第一个,结果集.group() 结果集 = match 从第一个字符开始匹配,结果集. ...
- python day09--定义函数
一.函数的定义 def 函数名(参数): 函数体 来我们来定义⼀一个约x功能: def yue(): print("拿出⼿手机") print("打开陌陌") ...
- python day06 作业答案
1. count=1 while count<11: fen=input('请第{}个评委打分' .format( count)) if int(fen) >5 and int(fen) ...
- vue-router 不重新加载问题
-----------------------同一个路由不同的参数页面不重新加载的解决版本---------- // 监听 route , watch: { '$route': 'getContent ...
- ubuntu安装nvidia驱动
安装环境: ubuntu 版本:12.04.02 LTS 64bit nvidia 驱动版本:NVIDIA-Linux-x86_64-310.19.run nvidia 显卡:GT640 安装过程主 ...
- 【转载】 OpenCV ——双线性插值(Bilinear interpolation)
原文地址: https://www.cnblogs.com/yssongest/p/5303151.html --------------------------------------------- ...
- Linux内存压力测试stressapptest
/********************************************************************** * Linux内存压力测试stressapptest * ...
- c++函数参数类型-引用、指针、值
c++函数参数类型-引用.指针.值 https://www.cnblogs.com/lidabo/archive/2012/05/30/2525837.html