Can the module generated by pybind11_add_module be linked to other C++ programs as a dynamic library? #5178
Unanswered
Yanjiachan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I generate the module with the following CMakeLists:
and then link the generated module 'test.so' into other C++ programs. I got some errors:
Please help me, thanks.
Beta Was this translation helpful? Give feedback.
All reactions