Solved

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

Posted on 2002-07-18
6
7,194 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
Technology Partners: 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

Technology Partners: 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!

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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…
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.
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 …

734 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