[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] pygame.font and SDL_ttf issues...



On Jul 18, 2004, at 9:31 PM, israel@uandmedance.com wrote:

I'm on mac OSX 10.2.8 and I've installed SDL 1.2 and SDL_ttf 2.0.6 which is apparently what is required for pygame.font.Font() to work but when I attempt to import pygame.font I get this error message.

>>> import pygame.font
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: Failure linking new module: : dyld: python Undefined symbols:
/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- packages/pygame/font.so undefined reference to _TTF_OpenFontIndexRW expected to be defined in SDL_ttf


Would this perhaps be one of those shared library things that Mac os X doesn't seem to handle as easily? Have I missed some configure or make flags? Should I be asking on an SDL list rather than here? I was hoping some of you fine souls might have had run ins with this sort of situation and would be able to lend a healthy dose of enlightenment to my daily routine.
It sounds like you compiled against one version of SDL_ttf, but it's finding another at runtime. Without seeing the linker flags you used, I'm really not sure. Anyway, if you upgrade to Mac OS X 10.3, I can help you.. I don't have time to support 10.2 anymore.

-bob

Attachment: smime.p7s
Description: application/pkcs7-signature