VS2013的boost.python编译
1.运行bootstrap.bat,会生成b2.exe和bjam.exe。
2.运行如下命令
b2 -a --with-python address-model=64 toolset=msvc runtime-link=static
编译release版本(x64)
bjam --with-python --prefix=c:\boost stage toolset=msvc-14.0 variant=release link=shared address-model=64 threading=multi runtime-link=shared install
编译debug版本(x64)
bjam --with-python --prefix=c:\boost stage toolset=msvc-14.0 variant=debug link=shared address-model=64 threading=multi runtime-link=shared install
注:
–prefix设置boost安装目录;
stage表示只生成库文件(dll与lib文件);
toolset指定编译器
variant决定编译什么版本;
link决定使用静态库还是动态库,shared是动态库,static是静态库;
address-model决定地址长度,即32还是64位程序;
threading决定使用单线程(single)还是多线程(multi)库;
runtime-link决定是静态(static)还是动态(shared)链接C/C++标准库;
install会生成包含头文件的include目录。
转自:
http://blog.csdn.net/lpp0900320123/article/details/52014741
http://blog.csdn.net/xingchenbingbuyu/article/details/70256648
VS2013的boost.python编译相关推荐
- python安装卡住_vs2015安装卡住 VS2013的boost.python编译
以我使用的boost1.48为例.?? ?? ??首先需要运行bootstrap.bat来生成boost库的编译引擎:b2.exe,bjam.exe(很重要).vs2015安装卡住?? ?? ??下面 ...
- Boost.python 编译和使用
cent os 1) 安装python yum install python26 2) 安装python devel yum search python | grep -i devel yum in ...
- VS2013引入boost库编译时出现'QueueUserAPC' : is not a member of '`global namespace'
错误描述: boost/asio/detail/impl/win_thread.ipp(52): error C2039: 'QueueUserAPC' : is not a member of '` ...
- python调用c++动态库 linux_linux中使用boost.python调用c++动态库的方法
前言 最近开始使用 robot framework 测试c++的动态库,robot framework 是跑在 windows 上面,c++动态库是跑在远程linux主机上面.测试办法是让 robot ...
- Boost.Python Tutorial
参考: http://www.boost.org/doc/libs/1_66_0/libs/python/doc/html/tutorial/index.html http://blog.csdn.n ...
- 使用boost.python进行混合开发
使用boost.python进行混合开发 原文请参照官网和各方参考,本文有改动! 参考链接:http://blog.csdn.net/lanbing510/article/details/121979 ...
- python生成静态库_使用boost.python静态库
编译脚本为: bjam stage toolset=msvc link=static runtime-link=shared threading=multi variant=debug,release ...
- python编译成c代码_python如何调用c编译好可执行程序
以下总结出几种在Python 中调用 C/C++ 代码的方法 -------------------------------------------------------------------- ...
- [转载] boost python numpy_boost.python 与 boost.numpy安装的一些注意事项
参考链接: Python中的numpy.put 安装boost.numpy时编译出错 出错为builtin_float_dtype<128>未定义,该函数出现在boost.numpy/li ...
最新文章
- 网络推广外包——网络推广外包专员面对外链发布更注重细节
- 数据产品经理为什么吃香?
- linux的sendmail服务有啥用,Linux的SendMail服务
- 做箭步蹲的时候身体总是保持不了平衡,动作要领是什么?
- 连设计图都不会画,你还想做“系统架构师”?
- Illustrator 教程,如何在 Illustrator 中设计插画?
- Go语言学习笔记(一) : 搭建Windows下的Go开发环境
- mysql5.6系列使用记录信息
- 何万青:7月24日阿里云上海峰会超算大神
- Linux虚拟机中vim编辑器常用命令介绍(二)
- Java信息管理系统模板思维导图
- linux 在固定网址yum,linux yum介绍
- excel冻结窗口_excel怎么冻结窗口?excel冻结窗口怎么设置?
- Number of Triplets
- Variable Selection via Nonconcave PenalizedLikelihood and its Oracle Properties 论文解析-特征选择的Oracle特性-1
- python 计算两直线交点
- 【电子】Baseband Signal and Passband Signal
- HTAP数据库及应用场景简析
- MySql高级:explain及索引优化
- redis过期策略和内存淘汰机制
热门文章
- xpath-了解xpath语言-下载xpath_helper工具
- dj鲜生-04-应用的整合-为更多可能新增的应用做准备
- linux-安装树形查看工具-tree
- mysql-查询二-分组与聚合
- ERROR: source database template1 is being accessed by other users解决方法
- 一键安装zabbix percona mysql插件监控mysql
- 在Visual Studio中使用T4 Templates 生成代码
- Cross Entropy Loss 交叉熵损失函数公式推导
- 2018-2019-1 20165325 《信息安全系统设计基础》第七周学习总结
- 如何优雅的理解ECMAScript中的对象