Skip to content
New issue

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

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

Already on GitHub? # to your account

error build ubuntu 16.04 #19

Open
CheckB opened this issue Nov 1, 2018 · 0 comments
Open

error build ubuntu 16.04 #19

CheckB opened this issue Nov 1, 2018 · 0 comments

Comments

@CheckB
Copy link

CheckB commented Nov 1, 2018

https://github.com/neutrinolabs/NeutrinoRDP/wiki/Compilation

[ 70%] Built target tsmf
Scanning dependencies of target tsmf_ffmpeg
[ 71%] Building C object channels/drdynvc/tsmf/ffmpeg/CMakeFiles/tsmf_ffmpeg.dir/tsmf_ffmpeg.c.o
/root/NeutrinoRDP/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:43:15: error: field ‘codec_id’ has incomplete type
  enum CodecID codec_id;
               ^
/root/NeutrinoRDP/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c: In function ‘tsmf_ffmpeg_init_video_stream’:
/root/NeutrinoRDP/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:78:2: warning: ‘avcodec_alloc_frame’ is deprecated [-Wdeprecated-declarations]
  mdecoder->frame = avcodec_alloc_frame();
  ^
In file included from /root/NeutrinoRDP/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:27:0:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3937:10: note: declared here
 AVFrame *avcodec_alloc_frame(void);
          ^
/root/NeutrinoRDP/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c: In function ‘tsmf_ffmpeg_init_audio_stream’:
/root/NeutrinoRDP/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:93:25: error: ‘AVCodecContext {aka struct AVCodecContext}’ has no member named ‘dsp_mask’
  mdecoder->codec_context->dsp_mask = AV_CPU_FLAG_SSE2 | AV_CPU_FLAG_MMX2;
                         ^
/root/NeutrinoRDP/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c: In function ‘tsmf_ffmpeg_decode_video’:
/root/NeutrinoRDP/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:348:3: warning: ‘avcodec_alloc_frame’ is deprecated [-Wdeprecated-declarations]
   frame = avcodec_alloc_frame();
   ^
In file included from /root/NeutrinoRDP/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:27:0:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3937:10: note: declared here
 AVFrame *avcodec_alloc_frame(void);
          ^
/root/NeutrinoRDP/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c: In function ‘tsmf_ffmpeg_decode_audio’:
/root/NeutrinoRDP/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:390:32: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ undeclared (first use in this function)
   mdecoder->decoded_size_max = AVCODEC_MAX_AUDIO_FRAME_SIZE + 16;
                                ^
/root/NeutrinoRDP/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:390:32: note: each undeclared identifier is reported only once for each function it appears in
/root/NeutrinoRDP/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:421:13: warning: ‘avcodec_alloc_frame’ is deprecated [-Wdeprecated-declarations]
             AVFrame* decoded_frame = avcodec_alloc_frame();
             ^
In file included from /root/NeutrinoRDP/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:27:0:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3937:10: note: declared here
 AVFrame *avcodec_alloc_frame(void);
          ^
channels/drdynvc/tsmf/ffmpeg/CMakeFiles/tsmf_ffmpeg.dir/build.make:62: recipe for target 'channels/drdynvc/tsmf/ffmpeg/CMakeFiles/tsmf_ffmpeg.dir/tsmf_ffmpeg.c.o' failed
make[2]: *** [channels/drdynvc/tsmf/ffmpeg/CMakeFiles/tsmf_ffmpeg.dir/tsmf_ffmpeg.c.o] Error 1
CMakeFiles/Makefile2:768: recipe for target 'channels/drdynvc/tsmf/ffmpeg/CMakeFiles/tsmf_ffmpeg.dir/all' failed
make[1]: *** [channels/drdynvc/tsmf/ffmpeg/CMakeFiles/tsmf_ffmpeg.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2

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

No branches or pull requests

1 participant