|
Boost : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-05-13 16:43:07
----- Original Message -----
From: "Guido de Jong" <guidoj_at_[hidden]>
> Hi,
>
> I'm trying to build a shared library using Boost-Python that can be
accessed
> from both Python and my own C++ program, so that they can call functions
back
> and forth between them. Following the instructions on the Boost website I
> built a shared object on Linux (debian, prebuilt libboost-python-1.27,
> gcc-2.95-4, pyhton 2.1.3), but when I try to link it I get the following
> error:
>
> undefined reference to
> `boost::python::handle_exception_impl(boost::function0<void,
> boost::empty_function_policy, boost::empty_function_mixin,
> allocator<boost::function_base> >)'
>
> A similar error message is issued by python when I try to import it.
Could
> you give me some hints to what I'm doing wrong?
You're using the 1.27.0 prebuilt version of the library with the headers
from the current CVS state. You have to rebuild the lib if you want to use
the latest code.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk