- 论坛徽章:
- 0
|
实在是搞不定。
- [viewimg]$ make
- gcc -o viewimg viewimg.cpp -I/usr/include/opencv/ -L /usr/lib -lm -lcv -lhighgui -lcvaux -Wall -g
- viewimg.cpp: 在函数‘int main(int, char**)’中:
- viewimg.cpp:11:19: 警告: variable ‘step’ set but not used [-Wunused-but-set-variable]
- viewimg.cpp:12:15: 警告: variable ‘data’ set but not used [-Wunused-but-set-variable]
- /usr/bin/ld: /tmp/ccCK5DHV.o: undefined reference to symbol 'cvReleaseImage'
- /usr/bin/ld: note: 'cvReleaseImage' is defined in DSO /usr/lib/libcxcore.so.2.1 so try adding it to the linker command line
- /usr/lib/libcxcore.so.2.1: could not read symbols: Invalid operation
- collect2: ld 返回 1
- make: *** [ALL] 错误 1
复制代码
viewimg.tar.gz
(827 Bytes, 下载次数: 29)
|
|