killer_xc fatal error LNK1104: cannot open file 'LIBC.lib' error

A link error occurred when recompiling a VC6.0 project with VS2005. The error is as follows:
  fatal error LNK1104: Could not open file 'LIBC.lib'.
Now share this solution process.
method one:
The solution is as follows: Project->Properties->Configuration Properties->Linker->Input->Write the name of the file that cannot be opened in Ignore a specific library LIBC.lib;
Method Two:
Add this sentence to stdafx.h  
#pragma   comment   (linker,"/NODEFAULTLIB:libc.lib")
Method three:
The next libc.lib, or include in VC6.0
Method 4:
Error message:
LINK : fatal error LNK1104: cannot open file 'LIBC.lib'
查了一下资料:LIBC.LIB Single-threaded, static link /MLLIBCMT.LIB Multithreaded, static link /MT _MTMSVCRT.LIB Multithreaded, dynamic link (import library for MSVCR71.DLL).
Two solutions are provided below, please choose according to the actual situation:
Method 1: "Project Properties" -> "Configuration Properties" -> "C/C++" -> "Runtime Library" in "Code Generation", set to "/MT (static link )"
 Method 2: "Project Properties" -> "Configuration Properties" -> "Linker" -> "All Default Libraries" in "Input", set to "/NODEFAULTLIB (static link )" 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324756776&siteId=291194637