Solved

LINK : fatal error LNK1104: cannot open file mfc42ud.lib  ?????

Posted on 2002-07-18
6
7,217 Views
Last Modified: 2013-11-20
I downloaded the "chatsrvr" mfc aplication from the MSDN disks. When I tried to build the executeable I got the error:

LINK : fatal error LNK1104: cannot open file "mfc42ud.lib"


I have visual studio 6. Ive run service pack 5 and I still get this error. Help!! Why dont I have this library and where can I get it.

thanks


0
Comment
Question by:rangers99
[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
6 Comments
 
LVL 4

Expert Comment

by:mblat
ID: 7163983
u in library name probably indicates that application trying to compile as UNICODE.  In default installation of VC++ unicode librararies not installed.  So you need to rerun setup and select unicode libraries to be installed.  Or you can try to compile this app as non-unocode.  

Take a look at project configurations - you see what I mean.


Hope it helps...
0
 

Expert Comment

by:LucaMoreschi
ID: 7165078
You have to install the Unicode Debug library.
mfc42ud.lib (mfc = Microsoft Foudation Class, 42 = version 4.2, U = unicode, D = debug)
Bye

0
 
LVL 1

Accepted Solution

by:
ackava earned 100 total points
ID: 7166546
Forget everything else, just open the project, click on menu Build, click on Set Active Configuration, and select Win32 Debug (non unicode version) , it will work.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:rangers99
ID: 7169341
Ackava, I want to accept you answer but I dont know how to. I am only being offered an acceptance to  LucaMoreschi's answer.
0
 

Author Comment

by:rangers99
ID: 7176122
cheers, works like a dream
0
 
LVL 1

Expert Comment

by:ackava
ID: 7176453
thanks rangers99
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

695 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