Skip to content

Instantly share code, notes, and snippets.

@BtbN
Created September 6, 2016 19:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BtbN/de67a5d9dc482f8ac2a788ee6caf71d1 to your computer and use it in GitHub Desktop.
Save BtbN/de67a5d9dc482f8ac2a788ee6caf71d1 to your computer and use it in GitHub Desktop.
stdin
BEGIN /tmp/ffconf.jKgmZhG6.c
1 extern int cuvidCreateDecoder();
2 int main(void){ cuvidCreateDecoder(); }
END /tmp/ffconf.jKgmZhG6.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -I/opt/cuda/include -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.JcCrD4XB.o /tmp/ffconf.jKgmZhG6.c
gcc -L/opt/cuda/lib64 -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.CD0ECKK7 /tmp/ffconf.JcCrD4XB.o -lcuda -lcuda -lm -llzma -lbz2 -lz -pthread
/tmp/ffconf.JcCrD4XB.o: In function `main':
ffconf.jKgmZhG6.c:(.text+0xa): undefined reference to `cuvidCreateDecoder'
collect2: error: ld returned 1 exit status
ERROR: CUVID not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment