opencv 编译objects.a(vs_version.rc.obj)‘ is incompatible with i386:x86-64 output

37%\] Built target IlmImf \[ 37%\] Built target libprotobuf C:/Qt/Qt5.14.2/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 o utput collect2.exe: error: ld returned 1 exit status mingw32-make\[2\]: \*\*\* \[modules\\core\\CMakeFiles\\opencv_core.dir\\build.make:1630: b in/libopencv_core453d.dll\] Error 1 mingw32-make\[1\]: \*\*\* \[CMakeFiles\\Makefile2:1749: modules/core/CMakeFiles/opencv_ core.dir/all\] Error 2 mingw32-make: \*\*\* \[[Makefile](https://so.csdn.net/so/search?q=Makefile&spm=1001.2101.3001.7020):165: all\] Error 2 解决方法: Problem is somewhere here (added for 3.3.0 release). Like @mshabunin said take a look on CMAKE_RC_COMPILER variable. Or try using OPENCV_VS_VERSIONINFO_SKIP=1 CMake option. cmake里面手动添加:OPENCV_VS_VERSIONINFO_SKIP cmake界面按钮: add Entry ---\>\>\> BOOL ---\>\>\> OPENCV_VS_VERSIONINFO_SKIP 打钩 ![](https://file.jishuzhan.net/article/1694342765908856834/d9b1a0e7892e47bf8349bb4881257c17.png)

相关推荐
初恋叫萱萱2 分钟前
CANN 生态中的图优化引擎:深入 `ge` 项目实现模型自动调优
人工智能
不爱学英文的码字机器3 分钟前
深度解读CANN生态核心仓库——catlass,打造高效可扩展的分类器技术底座
人工智能·cann
Kiyra4 分钟前
作为后端开发你不得不知的 AI 知识——RAG
人工智能·语言模型
共享家95277 分钟前
Vibe Coding 与 LangChain、LangGraph 的协同进化
人工智能
dvlinker9 分钟前
2026远程桌面安全白皮书:ToDesk/TeamViewer/向日葵核心安全性与合规性横向测评
人工智能
2的n次方_11 分钟前
CANN ascend-transformer-boost 深度解析:针对大模型的高性能融合算子库与算力优化机制
人工智能·深度学习·transformer
熊猫_豆豆11 分钟前
YOLOP车道检测
人工智能·python·算法
nimadan1212 分钟前
**热门短剧小说扫榜工具2025推荐,精准捕捉爆款趋势与流量
人工智能·python
qq_124987075315 分钟前
基于JavaWeb的大学生房屋租赁系统(源码+论文+部署+安装)
java·数据库·人工智能·spring boot·计算机视觉·毕业设计·计算机毕业设计
杜子不疼.16 分钟前
CANN算子基础框架库opbase的算子开发与扩展机制深度解析
人工智能