You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run make in deps.src, I get the following error. Please help fix this. Thanks.
libavcodec/libx264.c:262:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
262 | if (x264_bit_depth > 8)
| ^~~~~~~~~~~~~~
libavcodec/libx264.c:262:9: note: each undeclared identifier is reported only once for each function it appears in
libavcodec/libx264.c: In function ‘X264_init’:
libavcodec/libx264.c:705:32: warning: the address of ‘val’ will always evaluate as ‘true’ [-Waddress]
705 | OPT_STR(param, val);
| ^~~
libavcodec/libx264.c:349:13: note: in definition of macro ‘OPT_STR’
349 | if (param && (ret = x264_param_parse(&x4->params, opt, param)) < 0) {
| ^~~~~
libavcodec/libx264.c: In function ‘X264_init_static’:
libavcodec/libx264.c:806:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
806 | if (x264_bit_depth == 8)
| ^~~~~~~~~~~~~~
In file included from ./libavutil/common.h:463,
from ./libavutil/avutil.h:288,
from ./libavutil/samplefmt.h:24,
from libavcodec/avcodec.h:31,
from libavcodec/lsp.c:26:
./libavutil/mem.h:185:1: warning: ‘alloc_size’ attribute ignored on a function returning ‘int’ [-Wattributes]
185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
| ^~~~~~~~~~~~~
make[1]: *** [common.mak:57: libavcodec/libx264.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC libavcodec/lzw.o
In file included from ./libavutil/common.h:463,
from ./libavutil/avutil.h:288,
from ./libavutil/samplefmt.h:24,
from libavcodec/avcodec.h:31,
from libavcodec/lzw.c:30:
./libavutil/mem.h:185:1: warning: ‘alloc_size’ attribute ignored on a function returning ‘int’ [-Wattributes]
185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
| ^~~~~~~~~~~~~
make[1]: Leaving directory '/home/main/projects/cg/gaminganywhere/deps.src/ffmpeg-2.8.8'
make: *** [Makefile:149: ffmpeg] Error 2
The text was updated successfully, but these errors were encountered:
I am trying to set up gaming anywhere. I followed the following steps:
When I run make in deps.src, I get the following error. Please help fix this. Thanks.
libavcodec/libx264.c:262:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
262 | if (x264_bit_depth > 8)
| ^~~~~~~~~~~~~~
libavcodec/libx264.c:262:9: note: each undeclared identifier is reported only once for each function it appears in
libavcodec/libx264.c: In function ‘X264_init’:
libavcodec/libx264.c:705:32: warning: the address of ‘val’ will always evaluate as ‘true’ [-Waddress]
705 | OPT_STR(param, val);
| ^~~
libavcodec/libx264.c:349:13: note: in definition of macro ‘OPT_STR’
349 | if (param && (ret = x264_param_parse(&x4->params, opt, param)) < 0) {
| ^~~~~
libavcodec/libx264.c: In function ‘X264_init_static’:
libavcodec/libx264.c:806:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
806 | if (x264_bit_depth == 8)
| ^~~~~~~~~~~~~~
In file included from ./libavutil/common.h:463,
from ./libavutil/avutil.h:288,
from ./libavutil/samplefmt.h:24,
from libavcodec/avcodec.h:31,
from libavcodec/lsp.c:26:
./libavutil/mem.h:185:1: warning: ‘alloc_size’ attribute ignored on a function returning ‘int’ [-Wattributes]
185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
| ^~~~~~~~~~~~~
make[1]: *** [common.mak:57: libavcodec/libx264.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC libavcodec/lzw.o
In file included from ./libavutil/common.h:463,
from ./libavutil/avutil.h:288,
from ./libavutil/samplefmt.h:24,
from libavcodec/avcodec.h:31,
from libavcodec/lzw.c:30:
./libavutil/mem.h:185:1: warning: ‘alloc_size’ attribute ignored on a function returning ‘int’ [-Wattributes]
185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
| ^~~~~~~~~~~~~
make[1]: Leaving directory '/home/main/projects/cg/gaminganywhere/deps.src/ffmpeg-2.8.8'
make: *** [Makefile:149: ffmpeg] Error 2
The text was updated successfully, but these errors were encountered: