[MPlayer-users] Can't compile

Masaru Nomiya nomiya at galaxy.dti.ne.jp
Fri May 22 06:07:00 EEST 2020


Hello,

I tried to compile the svn head, I got the error;

[...]
In file included from libavcodec/mf_utils.c:25:
libavcodec/mf_utils.h:22:10: fatal error: windows.h: No such file or directory
   22 | #include <windows.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[1]: *** [ffbuild/common.mak:59: libavcodec/mf_utils.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from libavcodec/mfenc.c:25:
libavcodec/mf_utils.h:22:10: fatal error: windows.h: No such file or directory
   22 | #include <windows.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[1]: *** [ffbuild/common.mak:59: libavcodec/mfenc.o] Error 1
In file included from libavcodec/metasound.c:34:
libavcodec/get_bits.h: In function 'init_get_bits_xe':
libavcodec/get_bits.h:623:54: warning: unused parameter 'is_le' [-Wunused-parameter]
  623 |                                    int bit_size, int is_le)
      |                                                  ~~~~^~~~~
libavcodec/metasound.c: At top level:
libavcodec/metasound.c:391:1: warning: missing initializer for field 'send_fram ' of 'AVCodec' {aka 'struct AVCodec'} [-Wmissing-field-initializers]
  391 | };
      | ^
In file included from libavcodec/metasound.c:32:
libavcodec/avcodec.h:2709:11: note: 'send_frame' declared here
 2709 |     int (*send_frame)(AVCodecContext *avctx, const AVFrame *frame);
      |           ^~~~~~~~~~
libavcodec/magicyuv.c: In function 'magy_decode_frame':
libavcodec/magicyuv.c:705:30: warning: 'first_offset' may be used uninitialized in this function [-Wmaybe-uninitialized]
  705 |     table_size = header_size + first_offset - bytestream2_tell(&gbyte);
      |                  ~~~~~~~~~~~~^~~~~~~~~~~~~~
make[1]: Leaving directory '/tmp/tes/mplayer/ffmpeg'
make: *** [Makefile:739: ffmpeg/libavcodec/libavcodec.a] Error 2

But I could compile the very latest git head of ffmpeg.

Regards,

---
┏━━┓彡 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛         Think.
					-- The IBM slogan --


More information about the MPlayer-users mailing list