On Tue, Dec 05, 2017 at 21:28:00 +0800, 高建琛 wrote: > I have install libx264,and I am sure the libx264 is good .But the running > result show that error::libx264 not found.The version of my libx264 is > x264-snapshot-20160511-2245. [...] > cc1: warning: include location "/usr/local/include" is unsafe for > cross-compilation > In file included from /tmp/ffconf.EF7vDV6b/test.c:2: > /usr/local/include/x264.h:42:25: error: x264_config.h: No such file or > directory > ERROR: libx264 not found
Where is your cross-compiled libx264? If it's in /usr/local (which it shouldn't be, seen warning above), why is there no /usr/local/include/x264_config.h? Perhaps "--extra-cflags=-I/usr/local/include" should be something like "--extra-cflags=-I/usr/local/arm/4.3.2/arm-none-linux-gnueabi/x264" or wherever you put it. Moritz _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
