c++ - error LNK1112: 模块计算机类型“X86”与目标计算机类型“x64”冲突
天蓬老师
天蓬老师 2017-04-17 14:41:57
0
4
814

最近用QT(界面)+VS2013(IDE)+opencv(图像识别) 做一个项目 ,遇到error LNK1112: 模块计算机类型“X86”与目标计算机类型“x64”冲突;网上 查找了好多方法都无效,遇到过此类问题的希望能赐教;

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(4)
大家讲道理

Just one point: x86 is 32-bit and x64 is 64-bit.

Please use a 64-bit library or compile this project to 32-bit.

巴扎黑

The project uses x64, and all libs and dlls must be compiled in the same compilation environment.
Here, you need the lib library and opencv library compiled by vs13.
Project settings should be set to X64.

Peter_Zhu

The library version is wrong. When linking, it prompts that if necessary, to compile a 32-bit program, use a 32-bit lib, and to compile a 64-bit program, use a 64-bit lib.

伊谢尔伦

When configuring the link library, it was set to 32

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template