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

Re: [pygame] Adding new dependencies for pygame



Nothing needs to be done to config.py. But for config_unix.py a new Dependency needs to be added to the DEPS list in main(). Also an "FFMPEG =" line should be added to Setup.in, giving some Unix defaults, and add a new build line in the optional modules section for the new movie module. As for providing paths, if ffmpeg was installed as a package then the compiler should find it.

Lenard

Tyler Laing wrote:
Okay, so I have some code that looks like it will work, so now is when I need to start testing it. But to get it to compile and install with pygame, I've been trying to figure out how to add the necessary stuff to config.py and config_unix.py.

Does anyone have some information on how to do this?

For reference, right now I'm including these:
#include <ffmpeg/avstring.h>
#include <ffmpeg/rtsp.h>
#include <ffmpeg/swscale.h>
#include <ffmpeg/opt.h>
#include <libavdevice/avdevice.h>

#include <SDL.h>
#include <SDL_thread.h>
#include <ffmpeg/avformat.h>

in my code.

I've already tried to find the relevant info, but no luck there. Thanks for any and all help!

-Tyler

--
Visit my blog at http://oddco.ca/zeroth/zblog