Solved

fatal error LNK1104: cannot open file 'mfc71d.lib'

Posted on 2008-10-29
3
3,065 Views
Last Modified: 2012-06-22
Hi Experts,

I've opened a VS2003 project and converted it to VS2008.  I'm getting the error above - no idea how to fix this.  I'm pretty sure it's supposed to be MFC90 for VS2008....  

Can anyone please help?

Thank you,
Mike
0
Comment
Question by:thready
3 Comments
 
LVL 16

Expert Comment

by:HooKooDooKu
ID: 22833435
Perhaps something went wrong converting the project file.
Can you create a new VS2008 project and add all the source files from the old project back into it?
0
 
LVL 1

Author Comment

by:thready
ID: 22836227
I think that would take an eternity - there are about 30 projects in the solution... - there are also .rc files in some of these.......  Is there a fast way to do this?

0
 
LVL 2

Accepted Solution

by:
crystyce earned 500 total points
ID: 22838725
Switching your project to build with static library instead of shared would work but if you don't want that
you could try looking in the Linker -> Input and see if there's any reference to to mfc71d.lib and remove it, or chance it (in your case i think mfc90d.lib). If that does't work try opening one of your *dsp's with notepad and see if you could find any references to the old mfc71d.lib .

Or maybe you are using a 3rd party lib that needs to be recompiled? Look for look for" #pragma
comment( lib, "somelib.lib" )" in your sources. Any lib that you used in 2003 needs to be recompiled with 2008 for things to work.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Microsoft vcsetup.exe and vcssetup.exe 8 413
Parse a URL key value 4 179
preprocessor definition in visual studio 2 183
how to change my public IP to any country.... 9 71
The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now