CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 7500|回复: 2

解决问题,悬赏十个大洋。移植opencv问题

[复制链接]
发表于 2016-1-29 10:22:31 | 显示全部楼层 |阅读模式
请各位高手们好心帮帮忙。解决这问题,给您发红包
请教各位在交叉编译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'
回复

使用道具 举报

发表于 2016-1-29 16:46:03 | 显示全部楼层
http://www.cnblogs.com/emouse/archive/2013/04/01/2993842.html
百度第一个就是啊!发个红包培养下自己搜索的习惯
回复 支持 反对

使用道具 举报

 楼主| 发表于 2016-2-1 14:44:54 | 显示全部楼层
内核驱动学学学 发表于 2016-1-29 16:46
http://www.cnblogs.com/emouse/archive/2013/04/01/2993842.html
百度第一个就是啊!发个红包培养下自己搜 ...

谢谢您的回答,我上面说了,我已经按照百度上的说法加上了那两个参数。可还是有这个问题。
那也非常感谢你的回答亲。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-3-28 21:28 , Processed in 0.021398 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部