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

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



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


Tyler Laing wrote:
Turns out there were errors during the ffmpeg compilation. Apologies! Those errors are quiet and get ignored. Basically, they are:

install -m 644 libavdevice/avdevice-52.lib "/usr/local/bin/avdevice.lib"; install -m 644 libavdevice/avdevice-52.lib "/usr/local/bin/avdevice-52.lib" install: cannot stat `libavdevice/avdevice-52.lib': No such file or directory install: cannot stat `libavdevice/avdevice-52.lib': No such file or directory
make: [install-libavdevice-shared] Error 1 (ignored)

*goes back to the compilation of ffmpeg to figure it out*

-Tyler

On Wed, Aug 12, 2009 at 2:16 PM, Tyler Laing <trinioler@xxxxxxxxx <mailto:trinioler@xxxxxxxxx>> wrote:

    Okay, so I got everything recompiled, it all compiles fine(except
    portmidi, but I just used Lenard's prebuilt ones).

    So I was trying to not use the prebuilt dir, as it just doesn't
    quite work. The dlls are all in C:\msys\1.0\local\ include and lib
    directories. The config file just can't find them. I've been
    trying to decipher exactly what config_win.py does, and have a bit
    of a better understanding. But I still don't get exactly what I'm
    supposed to add there, such that the config file finds headers and
    libraries correctly.

    -Tyler


    On Wed, Aug 12, 2009 at 1:14 PM, Tyler Laing <trinioler@xxxxxxxxx
    <mailto:trinioler@xxxxxxxxx>> wrote:

        Oddly enough, I've already compiled ffmpeg, and its... weird,
        yeah. I'll try recompiling the ffmpeg libraries again. Hmm, if
        all the libraries work, then I don't need to use the prebuilt
        libraries. I'll be back in a bit with the results.

        -Tyler


        On Wed, Aug 12, 2009 at 1:11 PM, René Dudfield
        <renesd@xxxxxxxxx <mailto:renesd@xxxxxxxxx>> wrote:

            cool, it's a whole bunch of missing symbols.

            So you need to find out where those symbols should be
            defined, and to
            link in the libraries that find them.

            Is this compiling ffmpeg?


            On Wed, Aug 12, 2009 at 9:04 PM, Tyler
            Laing<trinioler@xxxxxxxxx <mailto:trinioler@xxxxxxxxx>> wrote:
            > Here's the pastebin of the log:
            >
            > http://pastebin.com/m55e55246
            >
            > On Wed, Aug 12, 2009 at 1:02 PM, René Dudfield
            <renesd@xxxxxxxxx <mailto:renesd@xxxxxxxxx>> wrote:
            >>
            >> On Wed, Aug 12, 2009 at 8:54 PM, Tyler
            Laing<trinioler@xxxxxxxxx <mailto:trinioler@xxxxxxxxx>> wrote:
            >> > Unfortunately, same error happens when I compile it
            manually. When I
            >> > compiled each of the .o's I used the other lib and
            include dirs instead
            >> > of
            >> > the prebuilt. Same error, just different paths.
            >> >
            >> > -Tyler
            >> >
            >>
            >>
            >> What is the error message?
            >
            >
            >
            > --
            > Visit my blog at http://oddco.ca/zeroth/zblog
            >




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




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




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