py++: auto generate boost.python codes of c++ libraris for using with python

980阅读 0评论2013-04-05 八月飞霜
分类:LINUX

First, you have to be sure you have gccxml installed in your OS. If not, then you need to visit to download and install it.
Second, you have to install py++ with the pygccxml project in sourceforge .

Now you already have the environment to built an .so file which can be imported into python file.
There are two solutions to extending Python with C++:
1)  execute pyplusplus_gui in a shell, then you have the graphic tool to finish the job.
2) write your own .py code to convert.

Problems:
    1) cannot tell what type the keyword size_t / ssize_t defined for while using namespace std;

上一篇:mysql之导入导出
下一篇:xxx(用户名) is not in the sudoers file