[FFmpeg-user] fatal error: libavcodec/avcodec.h: No such file or directory

龙承启 whkxa_618_ybz at 163.com
Mon Jun 22 15:40:36 EEST 2020


Hello!
      I have installed ffmpeg according to https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
      And it is ok when running ffmpeg -version
      But when I use #include<libavcodec/avcodec.h> in visual studio code, it is shown that "can not open source file libavcodec/avcodec.h "
      And when run "gcc decoder1.cpp -lavcodec -lavformat  -lavutil -lswscale  -o decoder1",   "fatal error: libavcodec/avcodec.h: No such file or directory"  appers.
      What should I do?
thanks!


More information about the ffmpeg-user mailing list