Detail:
In my case, it appears it was because I had "copied settings" from a 32-bit to a new configuration (64 bit) and it hadn't updated the libraries.
More Information: Stackoverflow Error Link1112
fatal error LNK1112: module machine type 'x64' conflicts with target machine.
In my case, it appears it was because I had "copied settings" from a 32-bit to a new configuration (64 bit) and it hadn't updated the libraries.
My Answer:
Go to project properties-> configuration properties -> Librarian Set Target Machine to MachineX64 (/MACHINE:X64)
More Information: Stackoverflow Error Link1112

本文介绍了解决在项目配置中遇到的LNK1112错误的方法。此错误通常出现在尝试使用不匹配的位数(例如32位与64位)编译项目时。解决方案包括检查并确保所有库文件与目标机器类型相匹配,通过项目属性设置正确的目标机器类型。

1121

被折叠的 条评论
为什么被折叠?



