当前位置: 技术问答>linux和unix
交叉编译qt + opencv 出现EABI的版本错误
来源: 互联网 发布时间:2017-02-23
本文导语: 本帖最后由 WEI_GW2012 于 2012-05-17 12:41:54 编辑 做了一个人脸的检测程序,界面用的是qt,检测的实现用opencv,已经可以再x86环境下运行,但是交叉编译时出现以下错误: /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2...
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: failed to merge target specific data of file /usr/local/tslib/lib/libts.so
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: ERROR: Source object /usr/local/arm/lib/opencv/lib/libopencv_core.so has EABI version 0, but target arm_face0513 has EABI version 5
/usr/local/arm/lib/opencv/lib/libopencv_core.so: undefined reference to `pow@GLIBC_2.0'
/usr/local/tslib/lib/libts.so: undefined reference to `getenv@GLIBC_2.0'
/usr/local/arm/lib/opencv/lib/libopencv_highgui.so: undefined reference to `qsort@GLIBC_2.0'
/usr/local/Trolltech/QtEmbedded-4.5.3-arm/lib/libQtCore.so: undefined reference to `pthread_cond_timedwait@GLIBC_2.3.2'
注:Ubuntu10.04,arm-linux-gcc4.3.2 qt4.5.3 opencv2.2.0
|
Source object /usr/local/arm/lib/opencv/lib/libopencv_core.so has EABI version 0, but target arm_face0513 has EABI version 5
程序依赖的动态库没有重新编译吗, 直接拿别人编译的好的用?
程序依赖的动态库没有重新编译吗, 直接拿别人编译的好的用?
|
重新编译一下opecv试试