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
I have this issue with my setup.
I crosscompile on Windows for Beaglebone Black Linux ARM machine and I get this error when I try to import the .so file on the target.
Issue description
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
Any ideas what the problem may be?
The text was updated successfully, but these errors were encountered: