-
To preface this question, I'm still learning a lot about cmake/pybind and builds in general so I welcome any corrections to any assumptions or terminologies I may misuse. I am trying to test whether pybind11 would work with this code that uses other third party libraries and with my cmake file I was successfully able to build a .so file in the style of
it produced a shared object with the same suffix and trying to run When I try to import the file cmake --build produced, I still get an error but the error this time is ```ImportError: dynamic module does not defined module export function (PyInit_). Is this an issue related to what I experienced before and if so is there a flag I can change in CMakeFiles.txt to fix it? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It turned out to be not related to the example that I had and was a simple mistake that was answered by the first FAQ |
Beta Was this translation helpful? Give feedback.
It turned out to be not related to the example that I had and was a simple mistake that was answered by the first FAQ