我正在编译一个生成以下错误的源代码:
checking for avcodec.h... no
checking for libavcodec/avcodec.h... no
checking for ffmpeg/avcodec.h... no
checking for libav/avcodec.h... no
checking for ffmpeg/libavcodec/avcodec.h... no
checking for libav/libavcodec/avcodec.h... no
configure: error: avcodec headers not found! Install FFmpeg or Libav.安装ffmpeg软件包对我没有帮助。应该安装哪个软件包?
发布于 2016-11-17 11:33:39
正如您所看到的在packages.ubuntu.com上,avcodec.h在libavcodec-dev包中。使用以下命令安装它:
sudo apt-get install libavcodec-devhttps://askubuntu.com/questions/850437
复制相似问题