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

Re: [pygame] Re: Adding a new extension to the Windows compilation order

I finally got it working. It was dependent on the order of the libraries, as well as two extra libraries, winsock and zlib. How would I go about adding these flags only for windows compilation?


On Wed, Aug 12, 2009 at 11:00 PM, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
Tyler Laing wrote:

On Wed, Aug 12, 2009 at 6:25 PM, Lenard Lindstrom <len-l@xxxxxxxxx <mailto:len-l@xxxxxxxxx>> wrote:

   Hi Tyler,

   Ignore config_win.py. It is for using the prebuilts and stuff
   compiled with Visual C++. Visual C++ prebuilt compilation has not
   been maintained for awhile and is moot anyway since ffmpeg is not
   designed to compile with it. So add ffmpeg to config_mys.py
   instead. This will use msys/1.0/local/ stuff. You have to add a
   separate Dependency inststance for each shared library of ffmpeg.
   I have already added the ffmpeg libraries to dll.py, so look there
   for the names to use: AVCODEC, AVFORMAT and so on. I see I did not
   update the prebuilt-template\Config_Win.in for ffmpeg. It is used
   with the prebuilts.

   Lenard Lindstrom

Thanks Lenard, I'll try that tomorrow. Do you guys mind if I add a big documentation note to config_win.py that it hasn't been updated or maintained in awhile? Just so no one else goes down the same fruitless red brick road as I did, lol.



Please do. Obviously the note at the top about file searches being broken was too subtle a warning. If you do place the warning at the top just be sure to mention that setup_prebuilt() is still relevant and used.


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