Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3232
  • Last Modified:

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

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
thready
Asked:
thready
1 Solution
 
HooKooDooKuCommented:
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
 
threadyAuthor Commented:
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
 
crystyceCommented:
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

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now