Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++ 2005
Visual C++ 2005 For discussion of Visual C++ 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 26th, 2009, 08:16 PM
Registered User
Join Date: Jan 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default LNK1104 vs. (LNK2001 and LNK2019)

I'm trying to compile a C++ program in Visual Studio 2005 which generates the fatal error LNK1104: cannot open file 'LIBC.lib'. When I direct the project>properties>linker input to ignore the specific library LIBC.lib, I generate a whole raft of new errors, mostly LNK2001: unresolved external symbol _errno, but also a few LNK2019 errors. When I add LIBC.lib to my lib directory along with the other lib files I'm using, numerous "LNK2005 already defined in MSVCRTD.lib(MSVCR80D.dll)" errors are generated, along with some more LNK2001 errors.

Does anyone recognize this problem right off the bat, as my suspicions are that the solution might be (hopefully) obvious. I say this, because I have this program running on another computer without the compile failing. Thanks for the assistance.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error linker (LNK2001)TrialRun.cpp KAZTYX BOOK: Beginning Visual C++ 6 3 March 5th, 2010 10:59 AM
LNK1104 ERROR konchogrinchen Visual C++ 2005 0 February 10th, 2007 03:38 PM
errors LNK2001 and LNK2019 with VS .net 2005 rangalo Visual C++ 0 May 10th, 2006 03:07 AM
error lnk2019 Paula222 C++ Programming 3 February 27th, 2006 08:53 AM
error lnk2019 Paula222 Visual C++ 0 February 7th, 2006 06:03 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.