Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-18 17:37:50


----- Original Message -----
From: "Hugo van der Merwe" <hugogeek_at_[hidden]>

> > > WARNING: Python C API version mismatch for module demeterwrap:
> > > This Python has API version 1010, module demeterwrap has version
1007.
> > >
> > > This is because I am using python2.1 while boost.python only supports
> > > python2.0? (and 1.5.)
> >
> > Boost.Python supports all Pythons from 1.5 -> 2.2. It's because you
compiled
> > against a set of Python headers for a version later than the version of
the
> > executable you're running.
> ...
> > > Version: 1.21.1-1
> >
> > Oh, I don't know about that; I didn't release that package. I can only
tell
> > you about the current boost release available at www.boost.org. That
will
> > work with all available Pythons since 1.5.
>
> The latest version appears to be 1.26 - so yes, I'm using a version
> that's a bit old... Probably that.

No, I should have been clearer: the message you're seeing has nothing to do
with the version of the Boost.Python source you're using. This is a report
that some code was compiled against a different version of Python than the
one you're targeting. It's possible some of that is in libboost_python.a; If
you're using a precompiled library, just rebuild it against the version of
the Python headers you're using.

-Dave


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