error LNK1123:failure during conversion to COFF:file invalid or corrupt

在编译cpp文件时,出现了如下错误:

error LNK1123: failure during conversion to COFF: file invalid or corrupt

解决方法:

将 Project→Project Properties→Configuration Properties→Linker→General→Enable Incremental Linking 设置为: No(/INCREMENTAL:NO)

参考自:http://fisnikhasani.com/error-lnk1123-failure-during-conversion-to-coff-file-invalid-or-corrupt/


PS. 编译软件:Microsoft Visual Studio 2010

你可能感兴趣的:(C++)