gpt4 book ai didi

c++ - 错误 LNK1112 : module machine type 'x64' conflicts with target machine type 'X86'

转载 作者:太空宇宙 更新时间:2023-11-04 12:00:41 28 4
gpt4 key购买 nike

<分区>

Possible Duplicate:
linking problem: fatal error LNK1112: module machine type ‘x64’ conflicts with target machine type ‘X86’

我尝试为 x64 编译项目,比方说 Project_A,并收到这样的 LNK1112 错误

.\x64\Debug\Project_B.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'

Project_A 依赖于 Project_B 并使用它的接口(interface)等。我的问题是这两个项目中的哪个是模块机器,哪个是目标机器?我完全糊涂了,因为两个输出目录中的 Project_B.obj 几乎相同。并且仅编译 Project_B 成功。有任何想法吗?

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com