Re: Re: Calling C++ Modules in Python

2011-03-22 Thread zxpatric
Dan, Recently I am trying out both the SWIG and BOOST, maybe Cython later. However, I didn't get lucky with the combination of the latest SWIGwin 2.0.2 and Python3.2. No matter I build _example.pyd, example.pyd or _example.dll, or example.dll, it just doesn't get imported as said in the instructio

Re: Re: Calling C++ Modules in Python

2011-03-11 Thread Dan Stromberg
I've not tried Boost, but I don't think SWIG or Cython require modified libraries. You just compile your wrapper, and then import it. On Fri, Mar 11, 2011 at 2:16 PM, wrote: > Dan, > > Thanks for the info. Really I was hoping for a "non-intrusive" way to > expose existing C++ libraries to pytho

Re: Re: Calling C++ Modules in Python

2011-03-11 Thread zxpatric
Dan, Thanks for the info. Really I was hoping for a "non-intrusive" way to expose existing C++ libraries to python. However, both solutions (BOOST, SWIG) listed here require the recompilation of libraries?! Seems Cython is doing the similar way? It is ok for small applications but will be h