摘要:
gccxml :c++语言xml生成pygccxml :python读取gccxml的输出py++ :封装 c++代码以便boost.python转换使用。安装py++必须先安装gccxml 和 pygccxml1.yum install gccxml;2.下载解压,进入pygccxml目录,运行 python setup.py install;3.下载解压,进入py++目录,运行 python setup.py install;完毕 阅读全文
posted @ 2013-11-10 16:32
roabin
阅读(1242)
评论(0)
推荐(0)
摘要:
1.gcc版本>3.22.Yum 的 boost 和boost-python文件很小,好像不行。所以编译安装。3.boost库分为三种:无需编译;单独编译;部分编译。python需要单独编译。4.使用无需编译库的一个例子:include #include #include #include int main(){ using namespace boost::lambda; typedef std::istream_iterator in; std::for_each( in(std::cin), in(), std::cout << (_1 * 3) << &q 阅读全文
posted @ 2013-11-10 10:35
roabin
阅读(3068)
评论(0)
推荐(0)

浙公网安备 33010602011771号