Boost logo

Boost :

From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2007-07-23 09:40:23


Philippe Vaucher wrote:
> Hi guys,
>
> Is boost::python supposed to work with msvc2005 ?

Yes.

> I took the hello world from "embedding python" and "error_already_set" is
> being thrown at me...

Can you find out what the python exception is that triggered it ?

> Here's the code I used :

[...]

> Py_Finalize();

Don't call Py_Finalize, as that doesn't work with boost.python.
(Unfortunately that didn't use to be documented in the tutorial,
 but now is, with the boost python tutorial that will ship with 1.34.1)

Regards,
                Stefan

-- 
      ...ich hab' noch einen Koffer in Berlin...

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk