LNK1104: cannot open file ‘LIBC.lib’

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.

Advertisements

3 thoughts on “LNK1104: cannot open file ‘LIBC.lib’”

  1. 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?

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s