python
文章平均质量分 62
kkkes
这个作者很懒,什么都没留下…
展开
-
boost python简单实例
利用boost中的python模块可以转化c++代码用于python调用 //hello_ext.cpp #include char const* greet() { return "hello, world"; } BOOST_PYTHON_MODULE(hello_ext) { using namespace boost::python; def("greet",原创 2017-03-02 14:51:40 · 822 阅读 · 0 评论 -
caffe anaconda3 安装boost
为了使用python3,我安装了anaconda3,但是boost dpkg -L libboost-dev,我的这个apt-get安装的只有1.54 发现boost版本过低,为此安装boost1.59版本 解压完 sh bootstrap.sh ./b2 install 发现如下几个错误: 1.fatal error: pyconfig.h: 因为我是直接安装anac原创 2017-12-25 15:29:40 · 3705 阅读 · 0 评论