[FFmpeg-devel] [PATCH]configure: Assume MSVCRT when compiling with MingW
Reino Wijnsma
rwijnsma at xs4all.nl
Sun Apr 22 01:53:29 EEST 2018
On 21-4-2018 22:43, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> Attached patch is supposed to fix an old issue with debug messages and
> a currently reported compilation warning that I believe also indicates
> a possible abort() on Windows:
> libavformat/hlsenc.c:1676:63: warning: unknown conversion type
> character 's' in format
> Patch untested.
>
> Please review, Carl Eugen
I'm hardly an expert, but I'm not sure this is a good idea.
After configuring FFmpeg summarizes:
[...]
C library msvcrt
[...]
This has always been "mingw64" before. And next:
$ make libavformat/hlsenc.o
CC libavformat/hlsenc.o
In file included from ./libavutil/common.h:491:0,
from ./libavutil/avutil.h:296,
from ./libavutil/avassert.h:31,
from libavformat/hlsenc.c:36:
./libavutil/internal.h:250:10: fatal error: crtversion.h: No such file or directory
#include <crtversion.h>
^~~~~~~~~~~~~~
compilation terminated.
make: *** [ffbuild/common.mak:60: libavformat/hlsenc.o] Error 1
Also when I use the makefile it errors out right from the start:
CC libavdevice/alldevices.o
In file included from ./libavutil/common.h:491:0,
from ./libavutil/avutil.h:296,
from ./libavutil/samplefmt.h:24,
from ./libavcodec/avcodec.h:31,
from ./libavformat/avformat.h:319,
from ./libavformat/internal.h:27,
from libavdevice/alldevices.c:23:
./libavutil/internal.h:250:10: fatal error: crtversion.h: No such file or directory
#include <crtversion.h>
^~~~~~~~~~~~~~
compilation terminated.
make: *** [ffbuild/common.mak:60: libavdevice/alldevices.o] Error 1
-- Reino
More information about the ffmpeg-devel
mailing list