crigroup / openrave-installation

Bash scripts to install OpenRAVE from source
167 stars 77 forks source link

plugins/logging/CMakeFiles/logging.dir/build.make:86: recipe for target 'plugins/logging/CMakeFiles/logging.dir/viewerrecorder.cpp.o' failed #5

Closed lakshmip001 closed 5 years ago

lakshmip001 commented 5 years ago

/home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:770:30: error: ‘PIX_FMT_YUV420P’ was not declared in this scope codec_ctx->pix_fmt = PIX_FMT_YUV420P; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:811:40: error: ‘avcodec_alloc_frame’ was not declared in this scope _picture = avcodec_alloc_frame(); ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:818:25: warning: ‘int avpicture_get_size(AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations] _picture_size = avpicture_get_size(PIX_FMT_YUV420P, codec_ctx->width, c ^ In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:319:0, from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57: /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5653:5: note: declared here int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height); ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:818:25: warning: ‘int avpicture_get_size(AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations] _picture_size = avpicture_get_size(PIX_FMT_YUV420P, codec_ctx->width, c ^ In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:319:0, from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57: /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5653:5: note: declared here int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height); ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:822:9: warning: ‘int avpicture_fill(AVPicture, const uint8_t, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations] avpicture_fill((AVPicture)_yuv420p, (uint8_t)_picture_buf, PIX_FMT_YU ^ In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:319:0, from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57: /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5638:5: note: declared here int avpicture_fill(AVPicture picture, const uint8_t ptr, ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:822:9: warning: ‘int avpicture_fill(AVPicture, const uint8_t, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations] avpicture_fill((AVPicture)_yuv420p, (uint8_t)_picture_buf, PIX_FMT_YU ^ In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:319:0, from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57: /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5638:5: note: declared here int avpicture_fill(AVPicture picture, const uint8_t ptr, ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp: In member function ‘void ViewerRecorder::_AddFrame(void)’: /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:835:33: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] newdata.resize(_stream->codec->height_stream->codec->width3); ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:835:33: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] newdata.resize(_stream->codec->height_stream->codec->width3); ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:835:33: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] newdata.resize(_stream->codec->height_stream->codec->width3); ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:835:56: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] newdata.resize(_stream->codec->height_stream->codec->width3); ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:835:56: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] newdata.resize(_stream->codec->height_stream->codec->width3); ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:835:56: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] newdata.resize(_stream->codec->height_stream->codec->width3); ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:836:50: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] char penddata = (char)pdata + _stream->codec->height_stream->codec-> ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:836:50: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] char penddata = (char)pdata + _stream->codec->height_stream->codec-> ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:836:50: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] char penddata = (char)pdata + _stream->codec->height_stream->codec-> ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:836:73: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] char penddata = (char)pdata + _stream->codec->height_stream->codec->widt ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:836:73: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] char penddata = (char)pdata + _stream->codec->height_stream->codec->widt ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:836:73: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] char penddata = (char)pdata + _stream->codec->height_stream->codec->widt ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:838:37: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] for(int i = 0; i < _stream->codec->height; ++i) { ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:838:37: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] for(int i = 0; i < _stream->codec->height; ++i) { ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:838:37: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] for(int i = 0; i < _stream->codec->height; ++i) { ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:839:40: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] memcpy(&newdata[i_stream->codec->width3], (char)penddata - (i+1) ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:839:40: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] memcpy(&newdata[i_stream->codec->width3], (char)penddata - (i+1) ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:839:40: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] memcpy(&newdata[i_stream->codec->width3], (char)penddata - (i+1) ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:839:90: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] ewdata[i_stream->codec->width3], (char)penddata - (i+1)_stream->codec->widt ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:839:90: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] ewdata[i_stream->codec->width3], (char)penddata - (i+1)_stream->codec->widt ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:839:90: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] ewdata[i_stream->codec->width3], (char)penddata - (i+1)_stream->codec->widt ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:839:115: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] width3], (char)penddata - (i+1)_stream->codec->width3, _stream->codec->widt ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:839:115: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] width3], (char)penddata - (i+1)_stream->codec->width3, _stream->codec->widt ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:839:115: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] width3], (char)penddata - (i+1)_stream->codec->width3, _stream->codec->widt ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:843:42: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] _picture->linesize[0] = _stream->codec->width 3; ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:843:42: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] _picture->linesize[0] = _stream->codec->width 3; ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:843:42: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] _picture->linesize[0] = _stream->codec->width 3; ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:847:51: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] img_convert_ctx = sws_getContext(_stream->codec->width, _stream->codec- ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:847:51: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] img_convert_ctx = sws_getContext(_stream->codec->width, _stream->codec- ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:847:51: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] img_convert_ctx = sws_getContext(_stream->codec->width, _stream->codec- ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:847:74: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] img_convert_ctx = sws_getContext(_stream->codec->width, _stream->codec->heig ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:847:74: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] img_convert_ctx = sws_getContext(_stream->codec->width, _stream->codec->heig ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:847:74: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] img_convert_ctx = sws_getContext(_stream->codec->width, _stream->codec->heig ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:847:89: error: ‘PIX_FMT_BGR24’ was not declared in this scope ctx = sws_getContext(_stream->codec->width, _stream->codec->height, PIX_FMT_BGR ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:847:113: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] ream->codec->width, _stream->codec->height, PIX_FMT_BGR24, _stream->codec->widt ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:847:113: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] ream->codec->width, _stream->codec->height, PIX_FMT_BGR24, _stream->codec->widt ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:847:113: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] ream->codec->width, _stream->codec->height, PIX_FMT_BGR24, _stream->codec->widt ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:847:136: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] ream->codec->height, PIX_FMT_BGR24, _stream->codec->width, _stream->codec->heig ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:847:136: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] ream->codec->height, PIX_FMT_BGR24, _stream->codec->width, _stream->codec->heig ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:847:136: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] ream->codec->height, PIX_FMT_BGR24, _stream->codec->width, _stream->codec->heig ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:847:151: error: ‘PIX_FMT_YUV420P’ was not declared in this scope ight, PIX_FMT_BGR24, _stream->codec->width, _stream->codec->height, PIX_FMT_YUV ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:848:89: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] le(img_convert_ctx, _picture->data, _picture->linesize, 0, _stream->codec->heig ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:848:89: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] le(img_convert_ctx, _picture->data, _picture->linesize, 0, _stream->codec->heig ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:848:89: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] le(img_convert_ctx, _picture->data, _picture->linesize, 0, _stream->codec->heig ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:865:19: warning: ‘int avcodec_encode_video2(AVCodecContext, AVPacket, const AVFrame, int)’ is deprecated [-Wdeprecated-declarations] int ret = avcodec_encode_video2(_stream->codec, &pkt, _yuv420p, &got_pa ^ In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:319:0, from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57: /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5508:5: note: declared here int avcodec_encode_video2(AVCodecContext avctx, AVPacket avpkt, ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:865:19: warning: ‘int avcodec_encode_video2(AVCodecContext, AVPacket, const AVFrame, int)’ is deprecated [-Wdeprecated-declarations] int ret = avcodec_encode_video2(_stream->codec, &pkt, _yuv420p, &got_pa ^ In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:319:0, from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57: /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5508:5: note: declared here int avcodec_encode_video2(AVCodecContext avctx, AVPacket avpkt, ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:865:50: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] int ret = avcodec_encode_video2(_stream->codec, &pkt, _yuv420p, &got_pa ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:865:50: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] int ret = avcodec_encode_video2(_stream->codec, &pkt, _yuv420p, &got_pa ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:865:50: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] int ret = avcodec_encode_video2(_stream->codec, &pkt, _yuv420p, &got_pa ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:865:84: warning: ‘int avcodec_encode_video2(AVCodecContext, AVPacket, const AVFrame, int)’ is deprecated [-Wdeprecated-declarations] int ret = avcodec_encode_video2(_stream->codec, &pkt, _yuv420p, &got_packet); ^ In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:319:0, from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57: /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5508:5: note: declared here int avcodec_encode_video2(AVCodecContext avctx, AVPacket avpkt, ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:867:36: error: ‘av_destruct_packet’ was not declared in this scope av_destruct_packet(&pkt); ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:871:26: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] if( _stream->codec->coded_frame) { ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:871:26: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] if( _stream->codec->coded_frame) { ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:871:26: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] if( _stream->codec->coded_frame) { ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:871:33: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] if( _stream->codec->coded_frame) { ^ In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:319:0, from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57: /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3183:35: note: declared here attribute_deprecated AVFrame coded_frame; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:871:33: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] if( _stream->codec->coded_frame) { ^ In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:319:0, from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57: /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3183:35: note: declared here attribute_deprecated AVFrame coded_frame; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:871:33: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] if( _stream->codec->coded_frame) { ^ In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:319:0, from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57: /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3183:35: note: declared here attribute_deprecated AVFrame coded_frame; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:872:26: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] _stream->codec->coded_frame->pts = pkt.pts; ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:872:26: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] _stream->codec->coded_frame->pts = pkt.pts; ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:872:26: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] _stream->codec->coded_frame->pts = pkt.pts; ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:872:33: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] _stream->codec->coded_frame->pts = pkt.pts; ^ In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:319:0, from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57: /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3183:35: note: declared here attribute_deprecated AVFrame coded_frame; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:872:33: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] _stream->codec->coded_frame->pts = pkt.pts; ^ In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:319:0, from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57: /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3183:35: note: declared here attribute_deprecated AVFrame coded_frame; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:872:33: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] _stream->codec->coded_frame->pts = pkt.pts; ^ In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:319:0, from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57: /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3183:35: note: declared here attribute_deprecated AVFrame coded_frame; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:873:26: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] _stream->codec->coded_frame->key_frame = !!(pkt.flags & AVPKT ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:873:26: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] _stream->codec->coded_frame->key_frame = !!(pkt.flags & AVPKT ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:873:26: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] _stream->codec->coded_frame->key_frame = !!(pkt.flags & AVPKT ^ In file included from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57:0: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here AVCodecContext codec; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:873:33: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] _stream->codec->coded_frame->key_frame = !!(pkt.flags & AVPKT ^ In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:319:0, from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57: /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3183:35: note: declared here attribute_deprecated AVFrame coded_frame; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:873:33: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] _stream->codec->coded_frame->key_frame = !!(pkt.flags & AVPKT ^ In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:319:0, from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57: /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3183:35: note: declared here attribute_deprecated AVFrame coded_frame; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:873:33: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] _stream->codec->coded_frame->key_frame = !!(pkt.flags & AVPKT ^ In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:319:0, from /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:57: /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3183:35: note: declared here attribute_deprecated AVFrame coded_frame; ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:876:40: error: ‘av_destruct_packet’ was not declared in this scope av_destruct_packet(&pkt); ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:880:32: error: ‘av_destruct_packet’ was not declared in this scope av_destruct_packet(&pkt); ^ /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp: In member function ‘void ViewerRecorder::_StartVideo(const string&, double, int, int, int, int)’: /home/lakshmi/git/openrave/plugins/logging/viewerrecorder.cpp:795:44: warning: ignoring return value of ‘int avformat_write_header(AVFormatContext, AVDictionary)’, declared with attribute warn_unused_result [-Wunused-result] avformat_write_header(_output,NULL); ^ plugins/logging/CMakeFiles/logging.dir/build.make:86: recipe for target 'plugins/logging/CMakeFiles/logging.dir/viewerrecorder.cpp.o' failed make[2]: [plugins/logging/CMakeFiles/logging.dir/viewerrecorder.cpp.o] Error 1 CMakeFiles/Makefile2:1913: recipe for target 'plugins/logging/CMakeFiles/logging.dir/all' failed make[1]: [plugins/logging/CMakeFiles/logging.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: [all] Error 2

fsuarez6 commented 5 years ago

Interesting. Here something interesting as well: https://api.travis-ci.org/v3/job/476671530/log.txt

lakshmip001 commented 5 years ago

I was able to solve this by using following command cmake .. -DOPT_VIDEORECORDING=OFF but dont know if it will create a problem in future