fatal error: libavcodec/avcodec.h: No such file or directory
Issue generated from Tuleap's migration script. Originally submitted by: szotsaki (szotsaki)
When compiled the latest ring-daemon today, the following error happened:
[ 46s] In file included from /home/abuild/rpmbuild/BUILD/ring-daemon-4.0.0.20180112.c27d21354/src/media/video/accel.h:23:0,
[ 46s] from /home/abuild/rpmbuild/BUILD/ring-daemon-4.0.0.20180112.c27d21354/src/media/media_decoder.h:30,
[ 46s] from audio_rtp_session.cpp:32:
[ 46s] /home/abuild/rpmbuild/BUILD/ring-daemon-4.0.0.20180112.c27d21354/src/media/libav_deps.h:28:10: fatal error: libavcodec/avcodec.h: No such file or directory
[ 46s] #include <libavcodec/avcodec.h>
[ 46s] ^~~~~~~~~~~~~~~~~~~~~~
As I saw, pkgconfig of libavcodec correctly contains the right include directory (/usr/include/ffmpeg).
ring-daemon-build.log
Makefile