Re: [C++-sig] operator+(A, B) without B::B() default constructor in boost.python

2009-05-15 Thread Sebastian Walter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hans Roessler schrieb: Hello Hans, in my experience .def(self+other) often didn't quite do what I expected. You could try something like that: int int__add__A_B(const A &lhs, const B &rhs){ return operator+(A,B); } .def("__add__", &int__add__A

[C++-sig] Trouble reinstalling boost

2009-05-15 Thread Simon Pickles
Hi, I had a nice build system set up on my VM ubuntu 8.10 server until I broke the VM. :) After rebuild the VM I am obviously reinstalling all the packages. Boost Python is causing me trouble. I built it from svn using bjam, boost 1_40_0. I can compile my python extension without error but w

Re: [C++-sig] Trouble reinstalling boost

2009-05-15 Thread Vincenzo De Leo
Hi,maybe you have to do "ldconfig" before using the shared library. Vincenzo On Fri, May 15, 2009 at 5:40 PM, Simon Pickles wrote: > Hi, > > I had a nice build system set up on my VM ubuntu 8.10 server until I broke > the VM. :) After rebuild the VM I am obviously reinstalling all the > packages

Re: [C++-sig] Question regarding importing libraries to weave

2009-05-15 Thread Ravi
On Thursday 14 May 2009 2:41:02 pm Magnús Bergur Magnússon wrote: > My name is Magnus and I am working as a software developer for a company in > Iceland. We use weave inline with python to boost our processing capacity. > However there is one factor that is limiting us. We cannot figure out how >