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

龙承启 whkxa_618_ybz at 163.com
Mon Jun 22 16:29:17 EEST 2020


thank you very much!
but what I do to deal with this problem?


| |
龙承启
邮箱:whkxa_618_ybz at 163.com
|

签名由 网易邮箱大师 定制

在2020年06月22日 21:26,Reindl Harald 写道:


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
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list