Categories
Geeky/Programming

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.

By Steve Novoselac

Director of Digital Technology @TrekBikes, Father, Musician, Cyclist, Homebrewer

3 replies on “LNK1104: cannot open file 'LIBC.lib'”

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 )

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.