undefined reference to `PyTuple_New'
#1
I'm playing around in xbmc/lib/libPython/xbmcmodule/ and trying to create a Python tuple object. However, for whatever reason, (as far as I can understand) the linker doesn't find the PyTuple_... functions.

Code:
xbmc/lib/libPython/xbmcmodule/xbmcmodule.a(dialog.o): In function `Dialog_Browse':
/home/projects/xbmc/xbmc/lib/libPython/xbmcmodule/dialog.cpp:213: undefined reference to `PyTuple_New'
/home/projects/xbmc/xbmc/lib/libPython/xbmcmodule/dialog.cpp:218: undefined reference to `PyTuple_SetItem'
collect2: ld returned 1 exit status
make: *** [xbmc.bin] Error 1

Help is appreciated.
Reply
#2
Ok, I found that I needed to edit the xbmc/lib/libPython/XBPythonDll.cpp...
Reply

Logout Mark Read Team Forum Stats Members Help
undefined reference to `PyTuple_New'0