[MPlayer-users] Compile error

Alexander Strasser eclipse7 at gmx.net
Wed Nov 1 14:03:47 EET 2017


Hi

sorry for delayed reply :(

On 2017-10-29 09:53 +0900, Masaru Nomiya wrote:
[...]
> 
> > Please try again with SVN r37999
> 
> I tried, but I got another error;

I had problems with libopenjpeg too.

Didn't find time to look into it. If it is acceptable for your
use cases, you could consider to temporarily build without
openjpeg by passing --disable-libopenjpeg to configure.

I will look into the problem as time permits.


  Alexander


> [...]
> 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