If upgrading a C++ project from VS2003 to VS2005, you might run into this error. LNK1104: cannot open file ‘LIBC.lib’
I resolved it by doing the following:
Project->Properties->Configuration Properties->Linker->Input
Ignore Specific Library: libc.lib
I guess VS2003 has there by default, from what I have been reading.
3 replies on “LNK1104: cannot open file 'LIBC.lib'”
Great was searching for this for 2 hrs…
LikeLike
when i apply recoment “Project->Properties->Configuration Properties->Linker->InputIgnore Specific Library: libc.lib”, the other error appear:Error 1 error LNK2019: unresolved external symbol “public: static struct CRuntimeClass * __stdcall CLogComposite::GetThisClass(void)” (?GetThisClass@CLogComposite@@SGPAUCRuntimeClass@@XZ) referenced in function “public: virtual int __thiscall CAnnIPApp::InitInstance(void)” (?InitInstance@CAnnIPApp@@UAEHXZ) AnnIP.obj AnnIPwhat happend for me?
LikeLike
tnx! simple, but worked 🙂
LikeLike