-
-
Save anonymous/71f68823bdb65985291b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EGIN /tmp/ffmpeg-conf--4984-.c | |
1 #include <x264.h> | |
2 int x; | |
END /tmp/ffmpeg-conf--4984-.c | |
gcc -fomit-frame-pointer -E -o /tmp/ffmpeg-conf--4984-.o /tmp/ffmpeg-conf--4984-.c | |
In file included from /tmp/ffmpeg-conf--4984-.c:1: | |
/usr/local/include/x264.h:36:4: warning: #warning You must include stdint.h or inttypes.h before x264.h | |
check_func x264_encoder_open | |
check_ld | |
check_cc | |
BEGIN /tmp/ffmpeg-conf--4984-.c | |
1 extern int x264_encoder_open(); | |
2 int main(void){ x264_encoder_open(); } | |
END /tmp/ffmpeg-conf--4984-.c | |
gcc -fomit-frame-pointer -c -o /tmp/ffmpeg-conf--4984-.o /tmp/ffmpeg-conf--4984-.c | |
gcc -o /tmp/ffmpeg-conf--4984- /tmp/ffmpeg-conf--4984-.o -lz -lm -lx264 -lm | |
/tmp/ffmpeg-conf--4984-.o: In function `main': | |
ffmpeg-conf--4984-.c:(.text+0xa): undefined reference to `x264_encoder_open' | |
collect2: ld returned 1 exit status | |
ERROR: x264 not found |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment