- 威望
- 64
- 金钱
- 110
- 贡献
- 64
- 买家信用
 - 卖家信用
 - 最后登录
- 2016-2-16
- 精华
- 0
- 积分
- 308
- 阅读权限
- 30
- 注册时间
- 2015-11-4
- 帖子
- 6
 
- 贡献
- 64
- 金钱
- 110
- 威望
- 64
- 买家信用
 - 卖家信用
 - 积分
- 308
|
发表于 2016-1-28 11:24:04
|显示全部楼层
请教各位在交叉编译opencv的 make步骤出现以下错误(我已经在CMakeCache.txt文件,CMAKE_EXE_LINKER_FLAGS原来为空,加上-lpthread -lrt)
Linking CXX executable ../../bin/opencv_perf_core
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld: warning: ld-linux.so.3, needed by /usr/lib/gcc/arm-linux-gnueabihf/4.6/libstdc++.so, not found (try using -rpath or -rpath-link)
../../lib/libopencv_highgui.so: undefined reference to `_TIFFmemcpy'
../../lib/libopencv_core.so: undefined reference to `pthread_spin_init'
../../lib/libopencv_core.so: undefined reference to `pthread_spin_unlock'
../../lib/libopencv_highgui.so: undefined reference to `_TIFFmemset'
../../lib/libopencv_highgui.so: undefined reference to `_TIFFwarningHandler'
../../lib/libopencv_core.so: undefined reference to `pthread_key_create'
../../lib/libopencv_highgui.so: undefined reference to `_TIFFmemcmp'
../../lib/libopencv_core.so: undefined reference to `pthread_getspecific'
../../lib/libopencv_highgui.so: undefined reference to `_TIFFfree'
../../lib/libopencv_ts.so: undefined reference to `pthread_key_delete'
../../lib/libopencv_core.so: undefined reference to `pthread_spin_lock'
../../lib/libopencv_highgui.so: undefined reference to `_TIFFmalloc'
../../lib/libopencv_highgui.so: undefined reference to `TIFFOpen'
|
|
|