Solved

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

Posted on 2008-10-29
3
3,083 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

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 hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 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