关于 Visual Studio(致命错误 LNK1112:模块机器类型“X86"与目标机器类型“x64"冲突) [英] Regarding Visual Studio (fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64')

查看:73
本文介绍了关于 Visual Studio(致命错误 LNK1112:模块机器类型“X86"与目标机器类型“x64"冲突)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 Abaqus 6.14-2 版本软件中的用户子程序.为此,我通过安装 VS 2013 更新 5 社区版和英特尔 Parallel Studio 更新 6 对其进行了配置,并通过了 Abaqus 中的验证测试.

i am trying to use to user subroutines in Abaqus 6.14-2 version Software. For that i configured it by installing VS 2013 update 5 community version and Intel Parallel studio update 6 and it has passed the verification test in Abaqus.

但是当我运行我的工作时,我收到以下错误:MSVCRT.lib(chkstk.obj):致命错误 LNK1112:模块机器类型X86"与目标机器类型x64"冲突

But when i run my job, i get the following error : MSVCRT.lib(chkstk.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

推荐答案

似乎您正在尝试使用已编译为 X86 模块的库(obj 文件),但您的项目是针对 64 位操作系统的.考虑在构建设置中将项目的目标切换到 X64.或者,如果可能,为 x64 重建使用过的库.

Seems like you are trying to use a library (obj file) which has been compiled as X86 module, but your project is targeted for 64bit OS. Consider switching target of your project to X64, in build settings. Or rebuilding used library for x64, if possible.

这篇关于关于 Visual Studio(致命错误 LNK1112:模块机器类型“X86"与目标机器类型“x64"冲突)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆