Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed #10

Open
naveenkumarmulabitmovin opened this issue Nov 14, 2019 · 0 comments
Open

build failed #10

naveenkumarmulabitmovin opened this issue Nov 14, 2019 · 0 comments

Comments

@naveenkumarmulabitmovin

h264-ROI build failed

/home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp: In constructor ‘LibChaos::ZH264Decoder::ZH264Decoder()’:
/home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp:9:26: warning: ‘void avcodec_register_all()’ is deprecated [-Wdeprecated-declarations]
avcodec_register_all();
^
In file included from /home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.h:8:0,
from /home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp:1:
/usr/local/include/libavcodec/avcodec.h:4170:6: note: declared here
void avcodec_register_all(void);
^~~~~~~~~~~~~~~~~~~~
/home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp: In member function ‘bool LibChaos::ZH264Decoder::open(LibChaos::ZPath, LibChaos::ZH264Decoder::decoderCallback, void*)’:
/home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp:54:30: error: ‘CODEC_CAP_TRUNCATED’ was not declared in this scope
if(codec->capabilities & CODEC_CAP_TRUNCATED){
^~~~~~~~~~~~~~~~~~~
/home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp:54:30: note: suggested alternative: ‘AV_CODEC_CAP_TRUNCATED’
if(codec->capabilities & CODEC_CAP_TRUNCATED){
^~~~~~~~~~~~~~~~~~~
AV_CODEC_CAP_TRUNCATED
/home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp:55:27: error: ‘CODEC_FLAG_TRUNCATED’ was not declared in this scope
context->flags |= CODEC_FLAG_TRUNCATED;
^~~~~~~~~~~~~~~~~~~~
/home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp:55:27: note: suggested alternative: ‘AV_CODEC_FLAG_TRUNCATED’
context->flags |= CODEC_FLAG_TRUNCATED;
^~~~~~~~~~~~~~~~~~~~
AV_CODEC_FLAG_TRUNCATED
/home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp: In member function ‘void LibChaos::ZH264Decoder::decodeFrame(LibChaos::zbyte*, LibChaos::zu64)’:
/home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp:149:74: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
int len = avcodec_decode_video2(context, frame, &got_picture, &packet);
^
In file included from /home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.h:8:0,
from /home/naveenkumar/00Master_Thesis_MULA/code Implementation/master-thesis_FaceDetection/region_of_Intrest_Encoding/h264-roi/zh264decoder.cpp:1:
/usr/local/include/libavcodec/avcodec.h:4839:5: note: declared here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,

@
CMakeFiles/h264_roi.dir/build.make:86: recipe for target 'CMakeFiles/h264_roi.dir/zh264decoder.cpp.o' failed
make[2]: *** [CMakeFiles/h264_roi.dir/zh264decoder.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/h264_roi.dir/all' failed
make[1]: *** [CMakeFiles/h264_roi.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant