Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Create mosaic from photograph 9 157
Compatibility of DLLs across .Net 5 351
Visual c++ and text files 7 71
a reliable reference for c+11? 3 73
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

791 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