[C++-sig] BOOST_PYTHON_TYPE_ID_NAME on Windows

2020-05-16 Thread gia .
Good day, I'm having some hard to debug error likely related to shared pointers but I don't even know if it is a boost python issue or outdated configuration. I'm using boost 1.72 and msvc 2017 (15.9.7). What I noticed is that when I build on Linux (devtoolset 6), execution reaches further -fails i

[C++-sig] Beginner How to debug a python class extracted in C++

2020-05-16 Thread Carlos Duran via Cplusplus-sig
Hi, I recently started a Boost Python project, https://mail.python.org/pipermail/cplusplus-sig/2020-May/017585.html but I need to debug my python classes extracted in C++ in the main program. The only referece that I find to this topic is in https://www.boost.org/doc/libs/1_73_0/libs/python/doc

Re: [C++-sig] Beginner - How to extract a Python Class that inherits from C++ Class

2020-05-16 Thread Carlos Duran via Cplusplus-sig
Hi, I find the solution, first of all I need to add the initializer on the C++ class import:     class_, boost::noncopyable>("Component", init<>())   // I additionally added a Holder, but is not necessary. Then I add the base class initializer on the python class:   c