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 have a C++ Qt application where pybind11 is included as a submodule. Setting up a python module from a PYBIND11_MODULE in the C++ source works as expected, but trying to compile the C++ project with <pybind11.h> included gives a linker error that begins: "Undefined symbols for architecture x86_64:" followed by a list of what seems to be every symbol beginning with "_Py". Any suggestions/ideas of why this happens are much appreciated!
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
-
I have a C++ Qt application where pybind11 is included as a submodule. Setting up a python module from a PYBIND11_MODULE in the C++ source works as expected, but trying to compile the C++ project with <pybind11.h> included gives a linker error that begins: "Undefined symbols for architecture x86_64:" followed by a list of what seems to be every symbol beginning with "_Py". Any suggestions/ideas of why this happens are much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions