【发布时间】:2015-04-05 12:00:50
【问题描述】:
我有一个 VC++ 代码 (VS2013),它在 32 位中编译得非常好。但是当我尝试在 64 位编译相同的代码时,我得到了下面的链接器错误。
1>LINK : fatal error C1905: Front end and back end not compatible (must target same processor).
1>LINK : fatal error LNK1257: code generation failed
我参考了链接:: Stackoverflow-link
能否请我帮忙解决这个问题以及为 64 位编译的代码。 无法在此处附加代码 sn-p 因为它是一个非常大的代码库。
【问题讨论】:
-
您为目标机器架构指定了什么?确保您没有为您的构建混淆不同的 64 位架构类型。
标签: visual-c++ visual-studio-2013 64-bit 32bit-64bit