Can't compile

Masaru Nomiya <[email protected]>
Newsgroups gmane.comp.video.mplayer.user
Message-ID <[email protected]>
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 --
_______________________________________________
MPlayer-users mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.