how to build changed ffmpeg

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

how to build changed ffmpeg


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""?




ffmpeg-user mailing list
[hidden email]

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