[FFmpeg-user] how to build changed ffmpeg
qw
applemax82 at 163.com
Thu Jan 16 13:40:39 EET 2020
Hi,
I change ffmpeg, where the following source code is added in avcodec.h like:
#include <my_header.h>
And run configure with the option --extra-cflags="-I"my_dir/include"", but I fail to build ffmpeg. Building error message is shown as follow:
In file included from src/libavcodec/options_table.h:30:0,
from src/doc/print_options.c:41:
src/libavcodec/avcodec.h:46:35: fatal error: my_header.h: No such file or directory
#include <my_header.h>
^
compilation terminated.
/export/qiang/live_transcoder/logo_transcoding/jdcloud_mt_go_transcode/live_ffmpeg/JD_FFmpeg/ffbuild/common.mak:152: recipe for target 'doc/print_options.o' failed
make: *** [doc/print_options.o] Error 1
I can succeed in building libavcodec, but fail to build doc/print_options.c. I use make -n, and find the compiling option of 'doc/print_options.c' doesn't include the option of --extra-cflags="-I"my_dir/include"".
How to compile 'doc/print_options.c' with the option of --extra-cflags="-I"my_dir/include""?
Thanks!
Regards
Andrew
More information about the ffmpeg-user
mailing list