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
I'm trying to use pybind with an existinc cmake structure. I modified the existing CMakeLists.txt file adding add_subdirectory(src/pybind11) pybind11_add_module(mycode src/mycode.cpp) target_link_libraries(mycode PRIVATE ${MYCODE_LIBRARIES})
This compiles succesfully and generates mycode.so, but when trying to import it via python I get following error: import mycode