OpenCV中文网站

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 安装 配置
查看: 938|回复: 1

opencv 3.4+qt5.12+cmake编译过程中报错

[复制链接]
发表于 2018-12-17 15:24:55 | 显示全部楼层 |阅读模式
[ 29%] Linking CXX shared library ..\..\bin\libopencv_core344.dll
C:/Qt/Qt5.12.0/Tools/mingw730_64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: i386 architecture of input file `CMakeFiles\opencv_core.dir/objects.a(vs_version.rc.obj)' is incompatible with i386:x86-64 output
collect2.exe: error: ld returned 1 exit status
mingw32-make[2]: *** [modules\core\CMakeFiles\opencv_core.dir\build.make:1529: bin/libopencv_core344.dll] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:1677: modules/core/CMakeFiles/opencv_core.dir/all] Error 2
mingw32-make: *** [Makefile:162: all] Error 2
回复

使用道具 举报

发表于 2019-2-20 21:18:39 | 显示全部楼层
我的也是报这个错,不过是libopencv_core401.dll,后面怎么解决啊?
回复 支持 反对

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|OpenCV中文网站  

GMT+8, 2019-6-20 03:19 , Processed in 0.022977 second(s), 20 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表