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

Reindl Harald h.reindl at thelounge.net
Mon Jun 22 16:38:38 EEST 2020



Am 22.06.20 um 15:29 schrieb 龙承启:
> thank you very much!
> but what I do to deal with this problem?

wrong mailing list besides that i could puke when one replies with a
off-list copy, using top posting and converts a message to html for no
reason

> 龙承启
> 邮箱:whkxa_618_ybz at 163.com
> 
> <https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?ftlId=3&name=%E9%BE%99%E6%89%BF%E5%90%AF&uid=whkxa_618_ybz%40163.com&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&items=%5B%22%E9%82%AE%E7%AE%B1%EF%BC%9Awhkxa_618_ybz%40163.com%22%5D>
> 
> 
> 签名由 网易邮箱大师 <https://mail.163.com/dashi/dlpro.html?from=mail88> 定制
> 
>     在2020年06月22日 21:26,Reindl Harald
>     <mailto:h.reindl at thelounge.net> 写道:
> 
> 
>     Am 22.06.20 um 14:40 schrieb 龙承启:
>     > 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?
> 
>     it can't smell the location --prefix="$HOME/ffmpeg_build" i guess



More information about the ffmpeg-user mailing list