Building against Python3.11 still brings in undefined symbol PyErr_GetRaisedException #1146
Replies: 2 comments 4 replies
-
The xmake build system is not part of this project, you'll have to check with whoever implemented it. |
Beta Was this translation helpful? Give feedback.
-
It's calling cmake behind the scenes and I can send the compile commands, but, what I'm asking is does anything else need to happen to specify the python version or should pointing it to the headers be sufficient? The recipe is pretty straightforward. If the python version macro that's used to conditionally compile in that call is coming from the heaaders then this shouldn't be happening; if more needs to be specified to CMake, then I can add that in. Is 3.11 still supported presumably? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Afraid I can't get full details just the now, but I am using xmake and from the verbose output it seems specifying using Python3.11 is pulling in the dependent package and compiling and linking correctly against this version. However when I import the package in the interpreter, I have undefined symbols from PyErr_GetRaisedException, so it seems somehow nanobind is still linking against this even though it was only introduced in Python3.12.
Do you know if there's a probable cause for this, a preprocessor macro perhaps that needs to be defined? It's quite possible that the xmake package is not complete but wondering if maybe support has been dropped in version 2.8.0 and this is to be expected or there is something to be aware of before investigating further
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions