Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BEGIN /tmp/ffconf.zrt1FZ48/test.c
- 1 #include <opencv2/core/core_c.h>
- 2 #include <stdint.h>
- 3 long check_cvCreateImageHeader(void) { return (long) cvCreateImageHeader; }
- 4 int main(void) { int ret = 0;
- 5 ret |= ((intptr_t)check_cvCreateImageHeader) & 0xFFFF;
- 6 return ret; }
- END /tmp/ffconf.zrt1FZ48/test.c
- 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>
- In file included from /usr/include/opencv2/core/types_c.h:59:0,
- from /usr/include/opencv2/core/core_c.h:48,
- from /tmp/ffconf.zrt1FZ48/test.c:1:
- /usr/include/opencv2/core/cvdef.h:485:1: error: unknown type name 'namespace'
- namespace cv {
- ^~~~~~~~~
- /usr/include/opencv2/core/cvdef.h:485:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
- namespace cv {
- ^
- ERROR: opencv not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement