Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2008-08-31 15:23:14


on Sun Aug 31 2008, <daniel.oberhoff-AT-fit.fraunhofer.de> wrote:

> Hi,
>
> I want to embedd python into my app using boost:ython. sadly it crashes
> all of the time. it crashes straight on exec, but also trying to
> retrieve, say, the __main__ module. strangely enough using
> PyImport_ImportModule does not crash, even though it looks that that is just
> what
> python::import calls (where it crashes according to gdb).
> Has anyone else had this experience? I have taken care to move my
> macports build of python out of the way, so that both boost and my app just
> see the appe compiled python. further i get a crash also on exec on ubuntu
> (havent tried import there yet).

I suggest you post your question, along with a minimal, complete,
reproducible example of what you're trying to do, to the c++-sig:
http://www.boost.org/more/mailing_lists.htm#cplussig

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net