Advertisement
Guest User

ffmpeg-full opencv

a guest
Mar 12th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. BEGIN /tmp/ffconf.zrt1FZ48/test.c
  2. 1 #include <opencv2/core/core_c.h>
  3. 2 #include <stdint.h>
  4. 3 long check_cvCreateImageHeader(void) { return (long) cvCreateImageHeader; }
  5. 4 int main(void) { int ret = 0;
  6. 5 ret |= ((intptr_t)check_cvCreateImageHeader) & 0xFFFF;
  7. 6 return ret; }
  8. END /tmp/ffconf.zrt1FZ48/test.c
  9. gcc -D_FORTIFY_SOURCE=2 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -I>
  10. In file included from /usr/include/opencv2/core/types_c.h:59:0,
  11. from /usr/include/opencv2/core/core_c.h:48,
  12. from /tmp/ffconf.zrt1FZ48/test.c:1:
  13. /usr/include/opencv2/core/cvdef.h:485:1: error: unknown type name 'namespace'
  14. namespace cv {
  15. ^~~~~~~~~
  16. /usr/include/opencv2/core/cvdef.h:485:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  17. namespace cv {
  18. ^
  19. ERROR: opencv not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement