fatal error: libavcodec/avcodec.h: No such file or directory

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

fatal error: libavcodec/avcodec.h: No such file or directory

龙承启
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!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: fatal error: libavcodec/avcodec.h: No such file or directory

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
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

回复: fatal error: libavcodec/avcodec.h: No such file or directory

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


| |
龙承启
邮箱:[hidden email]
|

签名由 网易邮箱大师 定制

在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
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: 回复: fatal error: libavcodec/avcodec.h: No such file or directory

Reindl Harald


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

> 龙承启
> 邮箱:[hidden email]
>
> <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:[hidden email]> 写道:
>
>
>     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
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".