[FFmpeg-user] ffmpeg mingw compilation 8192 char limits windows 10
Carl Eugen Hoyos
ceffmpeg at gmail.com
Mon Dec 24 13:45:19 EET 2018
> Am 24.12.2018 um 08:29 schrieb Erwan Douaille <douailleerwan at gmail.com>:
>
> Le mer. 19 déc. 2018 à 15:43, Carl Eugen Hoyos <ceffmpeg at gmail.com> a
> écrit :
>
>> 2018-12-19 14:39 GMT+01:00, Erwan Douaille <douailleerwan at gmail.com>:
>>
>>> I´m trying to compile ffmpeg shared with mingw64 on Windows 10.
>>> Here is the configure command:
>>>
>>> ./configure --arch=x86_64 --enable-shared --disable-static
>>> --prefix=/e/Downloads/ffmpeg-dyn/
>>
>> Unrelated: "--arch=x86_64" does not do what you expect it to do,
>> please remove it.
>>
>>> Everything looks ok.
>>> Then I make:
>>>
>>> mingw32-make.exe -j16
>>>
>>> But I encounter this error:
>>>
>>> LD libswresample/swresample-3.dll
>>> LD libswscale/swscale-5.dll
>>> dlltool -m i386:x86-64 -d libswresample/swresample-3.def -l
>>> libswresample/swresample.lib -D swresample-3.dll
>>> dlltool -m i386:x86-64 -d libswscale/swscale-5.def -l
>>> libswscale/swscale.lib -D swscale-5.dll
>>> STRIP libavcodec/x86/vp9itxfm.o
>>> GEN libavcodec/libavcodec.ver
>>> EXTERN_PREFIX="" AR="ar" NM="nm -g" ./compat/windows/makedef
>>> libavcodec/libavcodec.ver libavcodec/012v.o libavcodec/4xm.o
>>> libavcodec/8bps.o libavcodec/8svx.o libavcodec/a64multienc.o
>>> ... // SKIP all .o files for stackoverflow
>>> libavcodec/y41pdec.o libavcodec/y41penc.o libavcodec/ylc.o
>>> libavcodec/yop.o libavcodec/yuv4dec.o libavcodec/yuv4enc.o
>>> libavcodec/zerocodec.o libavcodec/zmbv.o libavcodec/zmbvenc.o >
>>> libavcodec/avcodec-58.def
>>> Object does not exist: lib
>>
>> Try:
>> $ make V=1 libavcodec/libavcodec-58.dll
>>
>> Copy the first part of what is shown (something like "dlltool...")
>> but remove everything beginning with "libavcodec/012v.o" and
>> use "libavcodec/*.o" instead.
> What does --arch=x86_64 do ?
It is needed for cross-compilation but you are not cross-compiling.
> $ mingw32-make.exe V=1 libavcodec/libavcodec-58.dll
I guess this should be:
libavcodec/avcodec-58.dll
Merry Christmas, Carl Eugen
More information about the ffmpeg-user
mailing list