[MPlayer-users] Compile error

Masaru Nomiya nomiya at galaxy.dti.ne.jp
Sun Oct 29 03:53:02 EEST 2017


Hello,

In the Message; 

  Subject    : Re: [MPlayer-users] Compile error
  Message-ID : <20171028194949.GA6448 at xklotz.local>
  Date & Time: Sat, 28 Oct 2017 21:49:51 +0200

Alexander Strasser <eclipse7 at gmx.net> has written:

> Hi!

> On 2017-10-28 14:07 +0900, Masaru Nomiya wrote:
> > I tried to compile the vary latest head of svn, but faied;
> > 
> > [...]
> > lude/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/local/include -I/usr/local/include/harfbuzz -I/usr/include/pixman-1 -I/usr/include/libpng15 -I/usr/include/libdrm   -I/usr/local/include   -c -o sub/av_sub.o sub/av_sub.c
> > libmpcodecs/vd_ffmpeg.c: In function 'control':
> > libmpcodecs/vd_ffmpeg.c:197:34: error: 'AV_PIX_FMT_XVMC_MPEG2_IDCT' undeclared (first use in this function)
> > ...
> > libmpcodecs/vd_ffmpeg.c: In function 'compat_release_buffer':
> > libmpcodecs/vd_ffmpeg.c:1139:58: warning: unused parameter 'data' [-Wunused-parameter]
> >  static void compat_release_buffer(void *opaque, uint8_t *data)
> >                                                           ^
> > make: *** [Makefile:723: libmpcodecs/vd_ffmpeg.o] Error 1

> Please try again with SVN r37999

I tried, but I got another error;

[...]
libavcodec/libopenjpegenc.c:727:130: error: 'OPJ_CINEMA4K_24' undeclared here (not in a function); did you mean 'OPJ_CINEMA4K'?
     { "cinema_mode",   "Digital Cinema",    OFFSET(cinema_mode),   AV_OPT_TYPE_INT,   { .i64 = OPJ_OFF         }, OPJ_OFF,       OPJ_CINEMA4K_24, VE, "cinema_mode" },
                                                                                                                                  ^~~~~~~~~~~~~~~
                                                                                                                                  OPJ_CINEMA4K
libavcodec/libopenjpegenc.c:729:96: error: 'OPJ_CINEMA2K_24' undeclared here (not in a function); did you mean 'OPJ_CINEMA4K_24'?
     { "2k_24",         NULL,                0,                     AV_OPT_TYPE_CONST, { .i64 = OPJ_CINEMA2K_24 }, 0,         0,           VE, "cinema_mode" },
                                                                                                ^~~~~~~~~~~~~~~
                                                                                                OPJ_CINEMA4K_24
libavcodec/libopenjpegenc.c:730:96: error: 'OPJ_CINEMA2K_48' undeclared here (not in a function); did you mean 'OPJ_CINEMA2K_24'?
     { "2k_48",         NULL,                0,                     AV_OPT_TYPE_CONST, { .i64 = OPJ_CINEMA2K_48 }, 0,         0,           VE, "cinema_mode" },
                                                                                                ^~~~~~~~~~~~~~~
[...]
CC	libavformat/teeproto.o
cc1: some warnings being treated as errors
make[1]: *** [ffbuild/common.mak:60: libavcodec/libopenjpegenc.o] Error 1
[...]
libavformat/thp.c:193:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (ret != thp->audiosize) {
                 ^~
CC	libavformat/tmv.o
CC	libavformat/tta.o
make[1]: Leaving directory '/tmp/tes/mplayer/ffmpeg'
make: *** [Makefile:737: ffmpeg/libavcodec/libavcodec.a] Error 2
make: *** Waiting for unfinished jobs....

Thanks,

---
┏━━┓彡 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛ "Bill! You married with Computers.
          Not with Me!"
         "No..., with money."


More information about the MPlayer-users mailing list