fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

来源:互联网 发布:sql select返回结果 编辑:程序博客网 时间:2024/05/03 02:34
今天编译工程遇到LNK1112错误:
fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

网上查找原因未果,根据线索发现问题原因:当前编译的工程选择是x64平台,但是它所依赖的某个工程(这个出错的工作)却是以win32方式编译的。

具体在工程的属性中可见:Properties->Configuration Properties,点击右上的Configuration Manager,查看列表中对应工程的platform是否设置为x64。我的问题,设置为x64就解决了。

x64cm.png (73.79 KB, 下载次数: 0)

下载附件  保存到相册

2012-2-1 10:30 上传



Refered to:
fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'ARM
http://hi.baidu.com/%CA%AE%C6%DF%C8%D5%D4%C2/blog/item/4f317d8625d61e3566096ea3.html
0 0
原创粉丝点击