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
zxpat...@gmail.com, 11.03.2011 23:16:
On Mar 11, 2011 4:59pm, Dan Stromberg wrote:
On Fri, Mar 11, 2011 at 1:15 PM, Patrick wrote:
I saw in the Beginner document that •Is easily extended by adding new
modules implemented in a compiled language such as C or C++. .
While to my investigation, it
On Mar 11, 2011 4:23 PM, Patrick zxpat...@gmail.com wrote:
Hi,
I saw in the Beginner document that •Is easily extended by adding new
modules implemented in a compiled language such as C or C++. .
While to my investigation, it seems not that easy or did I miss
something?
boost python (C++
Hi Patrick,
I'm using SWIG in my project. C++ code is wrapped and can be used in
python as custom module.
You should create a swig module.i file to describe headers upon which
that module will be built.
You should be certain about what you are going to use - boost library,
swig or something
On Fri, Mar 11, 2011 at 1:15 PM, Patrick zxpat...@gmail.com wrote:
Hi,
I saw in the Beginner document that •Is easily extended by adding new
modules implemented in a compiled language such as C or C++. .
While to my investigation, it seems not that easy or did I miss
something?
boost
Thanks Sophie for the information. Yes, right now I am not certain
about what I am going to use for 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?! It is ok for small
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
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, zxpat...@gmail.com wrote:
Dan,
Thanks for the info. Really I was hoping for a non-intrusive way to
expose existing C++
On 3/11/2011 4:15 PM, Patrick wrote:
Hi,
I saw in the Beginner document that •Is easily extended by adding new
modules implemented in a compiled language such as C or C++. .
While to my investigation, it seems not that easy or did I miss
something?
boost python (C++ libraries need to be