fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
Error with 39 type module Target x86
2023-09-11 14:19:35 时间
这个问题很奇怪。原来是/machine:X86 /machine:X64这两个链接器选项一起使用了。所以就冲突了。接手别人的项目就是晕啊。不知道为什么在VS中linker commandline的additional option要加个“/machine:X86”硬编码。
解决方案就是去掉其中一个就行了。
references:
http://stackoverflow.com/questions/3563756/fatal-error-lnk1112-module-machine-type-x64-conflicts-with-target-machine-typ
相关文章
- 《转》win7 安装ujson 出现的“error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27”
- Loadrunner执行https报错Action.c(7): Error -27778: SSL protocol error when attempting to connect with hos
- [Unit testing RxJS] Test error handling with marbles
- error: pathspec 'master' did not match any file(s) known to git.
- ERROR 2003 (HY000): Can't connect to MySQL server
- 源码安装mysql5.6x启动报错:[ERROR] Can't find messagefile '/data/mysqldata/3306/english/errmsg.sys'
- Loadrunner执行https报错Action.c(7): Error -27778: SSL protocol error when attempting to connect with hos
- [Node.js] Show More Lines in a Node.js Error Stack Trace
- PING[ARC2]: Heartbeat failed to connect to standby 'phydb'. Error is 16191.
- [FAQ] golang-migrate/migrate error: default addr for network '127.0.0.1:3306' unknown
- error: style attribute '@android:attr/windowEnterAnimation' not found.
- Atitit. Exception in thread "main" java.lang.Error: Unresolved compilation problem:
- 成功解决ParserError: Error tokenizing data. C error: Expected 2 fields in line 53, saw 3
- [手游新项目历程]-36- error: stray ‘357’ in program
- 解决登录druid监控首页时出现Whitelabel Error Page:There was an unexpected error (type=Not Found, status=404)的错误
- An internal error occurred during: "Launching New_configuration"
- SVN Error: “' 'x' isn't in the same repository as 'y' ” during merge (并不在同一个版本库中)
- ERROR Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket
- Ubuntu下编译COM口相关程序,报错::-1: error: Unknown module(s) in QT: serialport
- _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h':问题的解决 mysql安装python
- Why does PXE boot with grub2 and UEFI fails with error “File not found“ ?
- Chapter 4: Error checking in CUDA programs
- 嵌入式linux开发,配置uboot报错:<command-line>:0:12: fatal error: curses.h: No such file or directory
- Repo报错:GnuTLS recv error (-9): Error decoding the received TLS packet.