今天编译工程遇到LNK1112错误:
网上查找原因未果,根据线索发现问题原因:当前编译的工程选择是x64平台,但是它所依赖的某个工程(这个出错的工作)却是以win32方式编译的。
具体在工程的属性中可见:Properties->Configuration Properties,点击右上的Configuration Manager,查看列表中对应工程的platform是否设置为x64。我的问题,设置为x64就解决了。
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
fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
网上查找原因未果,根据线索发现问题原因:当前编译的工程选择是x64平台,但是它所依赖的某个工程(这个出错的工作)却是以win32方式编译的。
具体在工程的属性中可见:Properties->Configuration Properties,点击右上的Configuration Manager,查看列表中对应工程的platform是否设置为x64。我的问题,设置为x64就解决了。
![](http://www.aiseminar.cn/bbs/data/attachment/forum/201202/01/1030201obb51vobjvmvene.png)
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