Re: [C++-sig] Question about using IT++ in boost.python

2010-09-07 Thread Jim Bosch
On 09/07/2010 01:25 PM, Junwei Zhang wrote: Hi, I am now considering using boost.python to integrate some IT++(C++ scientific library) codes to python. But when I do some simple example to wrapper this func int vfunc(int n) { vec a = linspace(0,n,10); // already include IT++ and using its

[C++-sig] Question about using IT++ in boost.python

2010-09-07 Thread Junwei Zhang
Hi, I am now considering using boost.python to integrate some IT++(C++ scientific library) codes to python. But when I do some simple example to wrapper this func int vfunc(int n) { vec a = linspace(0,n,10); // already include IT++ and using its namespace vec b= linspace(0,2*n,10);//

Re: [C++-sig] Some questions when making a C++ project as python externsions

2010-09-07 Thread Binbin Shen
Thank you very much for your quick reply, I will have a try first. :-) 2010/9/7 Jim Bosch : > On 09/07/2010 12:19 AM, Binbin Shen wrote: >> >> Hi, >> I am new to boost.python, and want to provide python interface of a >> large lab application written in C++. I have written some wrappers and >> mak

Re: [C++-sig] Advice sought on making a large C++ application a Python extension

2010-09-07 Thread Ben Fitzpatrick
David, I'm still a newbie on this list myself, but I will tell you that for the larger project which we were attempting to wrap, we had excellent luck with Gustavo Carniero's Pybindgen project. We found it to be much simpler to work with than boost.python and py++, and also it compiled much fas

Re: [C++-sig] Some questions when making a C++ project as python externsions

2010-09-07 Thread Jim Bosch
On 09/07/2010 12:19 AM, Binbin Shen wrote: Hi, I am new to boost.python, and want to provide python interface of a large lab application written in C++. I have written some wrappers and make some classes works in python, but also encounter some problems that cannot be solved by Googling, and I do

[C++-sig] Some questions when making a C++ project as python externsions

2010-09-07 Thread Binbin Shen
Hi, I am new to boost.python, and want to provide python interface of a large lab application written in C++. I have written some wrappers and make some classes works in python, but also encounter some problems that cannot be solved by Googling, and I do not want to modify the source of the C++ app