![]() My boost 1_58 is compiled using Python 3.4.2: otool -L /usr/local/lib/libboost_python.dylib In module.cpp inside of boost line 41-46: BOOST_PYTHON_DECL PyObject* init_module(PyModuleDef& moduledef, void(*init_function)()) ![]() ![]() I can already build my shared library and write sample scripts in python, which are using my library as well.Įverything fine here but the problem is that as soon as I try to use it in an add-on, Blender 2.74 keeps crashing all the time as soon as I add an import statement with this little hint in the crash report: 6 libboost_python.dylib 0x000000010aa7cc3e boost::python::detail::init_module(PyModuleDef&, void (*)()) + 30 (module.cpp:44) What I currently try to achieve is building a python mapping of my C++ classes through Boost.Python.Īfter this I want to use the resulting shared library in a blender add-on to be able to take advantage of already existing functionality coming from the mapped C++ classes.
0 Comments
Leave a Reply. |