On 09/23/2011 04:34 PM, Kevin Hughes wrote:
> It builds fine using bjam but when I import into python I get an error
> message: libEventDetector.so: undefined symbol: _ZN13eventDetector4loadEv.
> I am really not very good with boost::python and I don't really know
> what to do. Help is appreciated, thank you!
The problem is unrelated to boost.python. It appears you are not linking
all the symbols that are required. Try to find where the
"_ZN13eventDetector4loadEv" symbol (in C++: "eventDetector::load()") is
defined, and what object file or library you need to link to when
building your extension module.