Solved

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

Posted on 2008-10-29
3
3,103 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
[X]
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
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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
Mask Input via OpenSSH 21 108
Need some help with GetPrinterDevice 4 113
Visual Studio community 2015 2 83
please insert disk adobe master collection6 9 1,509
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

749 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