Aug. 30, 2006
8:09 a.m.
Hi Everyone, I created a simple class wrapper like this BOOST_PYTHON_MODULE(PythonTest) { class_<MyClass,boost::noncopyable>("pMyClass", init<char const*>()); } When I try to initialize pMyClass in python, I got this error: Traceback (most recent call last): File "<stdin>", line 1, in ? RuntimeError: unidentifiable C++ exception MyClass is part of a third party GameEngine, I can successfully use it in C++. Can anyone suggest what might went wrong here? Thanks a lot, Qun