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
I am trying to install the package but getting this error. It's related to bebop_driver, plz help
Errors << bebop_driver:make /home/wajeeh-ros/bebop_ws/logs/bebop_driver/build.make.000.log
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp: In member function ‘bool bebop_driver::VideoDecoder::InitCodec()’:
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:74:5: warning: ‘void avcodec_register_all()’ is deprecated [-Wdeprecated-declarations]
avcodec_register_all();
^
In file included from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4102:6: note: declared here
void avcodec_register_all(void);
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:74:5: warning: ‘void avcodec_register_all()’ is deprecated [-Wdeprecated-declarations]
avcodec_register_all();
^
In file included from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4102:6: note: declared here
void avcodec_register_all(void);
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:74:26: warning: ‘void avcodec_register_all()’ is deprecated [-Wdeprecated-declarations]
avcodec_register_all();
^
In file included from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4102:6: note: declared here
void avcodec_register_all(void);
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:75:5: warning: ‘void av_register_all()’ is deprecated [-Wdeprecated-declarations]
av_register_all();
^
In file included from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:33:0,
from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:2043:6: note: declared here
void av_register_all(void);
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:75:5: warning: ‘void av_register_all()’ is deprecated [-Wdeprecated-declarations]
av_register_all();
^
In file included from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:33:0,
from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:2043:6: note: declared here
void av_register_all(void);
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:75:21: warning: ‘void av_register_all()’ is deprecated [-Wdeprecated-declarations]
av_register_all();
^
In file included from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:33:0,
from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:2043:6: note: declared here
void av_register_all(void);
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:93:36: error: ‘CODEC_CAP_TRUNCATED’ was not declared in this scope
if (codec_ptr_->capabilities & CODEC_CAP_TRUNCATED)
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:95:32: error: ‘CODEC_FLAG_TRUNCATED’ was not declared in this scope
codec_ctx_ptr_->flags |= CODEC_FLAG_TRUNCATED;
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:97:31: error: ‘CODEC_FLAG2_CHUNKS’ was not declared in this scope
codec_ctx_ptr_->flags2 |= CODEC_FLAG2_CHUNKS;
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp: In member function ‘bool bebop_driver::VideoDecoder::ReallocateBuffers()’:
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:136:32: warning: ‘int avpicture_get_size(AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
const uint32_t num_bytes = avpicture_get_size(AV_PIX_FMT_RGB24, codec_ctx_ptr_->width, codec_ctx_ptr_->width);
^
In file included from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5450:5: note: declared here
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:136:32: warning: ‘int avpicture_get_size(AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
const uint32_t num_bytes = avpicture_get_size(AV_PIX_FMT_RGB24, codec_ctx_ptr_->width, codec_ctx_ptr_->width);
^
In file included from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5450:5: note: declared here
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:136:113: warning: ‘int avpicture_get_size(AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
const uint32_t num_bytes = avpicture_get_size(AV_PIX_FMT_RGB24, codec_ctx_ptr_->width, codec_ctx_ptr_->width);
^
In file included from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5450:5: note: declared here
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:145:27: warning: ‘int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
ThrowOnCondition(0 == avpicture_fill(
^
In file included from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5435:5: note: declared here
int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:145:27: warning: ‘int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
ThrowOnCondition(0 == avpicture_fill(
^
In file included from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5435:5: note: declared here
int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:147:69: warning: ‘int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
codec_ctx_ptr_->width, codec_ctx_ptr_->height),
^
In file included from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5435:5: note: declared here
int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp: In member function ‘bool bebop_driver::VideoDecoder::Decode(const ARCONTROLLER_Frame_t*)’:
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:267:25: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
const int32_t len = avcodec_decode_video2(codec_ctx_ptr_, frame_ptr_, &frame_finished, &packet_);
^
In file included from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4771:5: note: declared here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:267:25: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
const int32_t len = avcodec_decode_video2(codec_ctx_ptr_, frame_ptr_, &frame_finished, &packet_);
^
In file included from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4771:5: note: declared here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:267:100: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
const int32_t len = avcodec_decode_video2(codec_ctx_ptr_, frame_ptr_, &frame_finished, &packet_);
^
In file included from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4771:5: note: declared here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:295:25: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
const int32_t len = avcodec_decode_video2(codec_ctx_ptr_, frame_ptr_, &frame_finished, &packet_);
^
In file included from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4771:5: note: declared here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:295:25: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
const int32_t len = avcodec_decode_video2(codec_ctx_ptr_, frame_ptr_, &frame_finished, &packet_);
^
In file included from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4771:5: note: declared here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
^
/home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:295:100: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
const int32_t len = avcodec_decode_video2(codec_ctx_ptr_, frame_ptr_, &frame_finished, &packet_);
^
In file included from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/include/bebop_driver/bebop_video_decoder.h:32:0,
from /home/wajeeh-ros/bebop_ws/src/bebop_autonomy/bebop_driver/src/bebop_video_decoder.cpp:25:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4771:5: note: declared here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
^
make[2]: *** [CMakeFiles/bebop.dir/src/bebop_video_decoder.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/bebop.dir/all] Error 2
make: *** [all] Error 2
cd /home/wajeeh-ros/bebop_ws/build/bebop_driver; catkin build --get-env bebop_driver | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
...............................................................................
Failed << bebop_driver:make [ Exited with code 2 ]
Failed <<< bebop_driver [ 13.7 seconds ]
Abandoned <<< bebop_tools [ Unrelated job failed ]
[build] Summary: 4 of 6 packages succeeded.
[build] Ignored: 1 packages were skipped or are blacklisted.
[build] Warnings: 2 packages succeeded with warnings.
[build] Abandoned: 1 packages were abandoned.
[build] Failed: 1 packages failed.
[build] Runtime: 2 minutes and 38.1 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.
The text was updated successfully, but these errors were encountered:
wajeehulhassanvii
changed the title
Bebop_driver error in ROS Kinetic, Ubuntu 16.04
Bebop_driver build error in ROS Kinetic, Ubuntu 16.04
Apr 8, 2019
I am trying to install the package but getting this error. It's related to bebop_driver, plz help
The text was updated successfully, but these errors were encountered: