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

[pygame] pyinstaller + pygame on OSX Mountain Lion



HI All,

I'm trying to compile my code on OSX Mountain Lion and not getting far with it.

I got pygame running no problem and code executes without any issues but when it comes to compilation pyinstaller can't find SDL
eg.
893 DEBUG: Analyzing /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/mixer_music.so
7897 ERROR: Can not find path ./SDL.framework/Versions/A/SDL (needed by /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/mixer_music.so)
7897 ERROR: Can not find path ./SDL_mixer.framework/Versions/A/SDL_mixer (needed by /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/mixer_music.so)
7897 DEBUG: Skipping libSystem.B.dylib dependency of mixer_music.so


Anyone had that problem before ? I can't find anything useful on google.

Just to make it clear, when i run game from source there is no problem with pygame, in IDLE as well pygame loads itself without a problem. I'm no OSX expert so no idea how to tackle it. 

Thanks
Bart