[C++-sig] Lifetime of Python object for a pointer argument

David Abrahams david.abrahams at rcn.com
Sat Feb 16 19:19:02 CET 2002


----- Original Message -----
From: "Min Xu" <minxu at sci.ccny.cuny.edu>
To: <c++-sig at python.org>
Sent: Saturday, February 16, 2002 12:51 PM
Subject: Re: [C++-sig] Lifetime of Python object for a pointer argument


> Thank you for the nice and quick reply. I downloaded the v2. However in
> <boost_root>/libs/python
> # jam -sBOOST_ROOT=/usr/local/src/boost -sTOOLS="gcc" -sBUILD=debug
> unknown target type for <libs!python>libbpl.a
>
> The machine is a linux box with gcc and python2.1. How can I compile it?

Firstly, Python 2.2 is required for Boost.Python V2 (so you'll
need -sPYTHON_VERSION=2.2 in the command-line)

Secondly, I've seen that bug, but I just fixed it and tested it on linux
with gcc last night.
Are you sure you are using the current CVS state?






More information about the Cplusplus-sig mailing list