You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my project I'm using a third-party C++ library that exposes some functionality through pybind.
I'd like to create a pybind interface to my C++ project, but I need it to be compatible with the objects exposed by the third-party library.
If I link to the library my code compiles, but when trying to use the Python bindings, I get errors because it doesn't realise that the python object it's trying to use is wrapping the same C++ object.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In my project I'm using a third-party C++ library that exposes some functionality through pybind.
I'd like to create a pybind interface to my C++ project, but I need it to be compatible with the objects exposed by the third-party library.
If I link to the library my code compiles, but when trying to use the Python bindings, I get errors because it doesn't realise that the python object it's trying to use is wrapping the same C++ object.
How do I solve this problem?
Beta Was this translation helpful? Give feedback.
All reactions