fatal error LNK1104: cannot open file 'mfc42.lib' 
Author Message
 fatal error LNK1104: cannot open file 'mfc42.lib'

I don't know how to over come this linking error
fatal error LNK1104: cannot open file 'mfc42.lib'

I get this error when I build my vc++ 6 project in vs.net

Prabu



Thu, 30 Dec 2004 12:30:33 GMT  
 fatal error LNK1104: cannot open file 'mfc42.lib'
Hi Prabu,

You may want to check the steps below:

1. Perform a clean rebuild of the solution.
2. Check if one of the header file has #pragma comment(lib, "mfc42.lib")
defined.
3. Check the include path and library path:

a. Click Tools | Options.
b. Projects | VC ++ Directories.

Be sure that the MFC folder under VC 6 directly doesn't appear in the
library and include folders.

4. Check if you are including some library files that have extra
dependencies. For example, the Exchange Server 5.5 SDK may have this
problem. Please check the article below for more information:

Q187661 HOWTO: Rebuilding the Exchange SDK Library
http://support.microsoft.com/support/kb/articles/q187/6/61.asp

I hope this helps.

Best Regards,
Leo Chen

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------

| Subject: fatal error LNK1104: cannot open file 'mfc42.lib'
| Date: Sat, 13 Jul 2002 23:30:33 -0500
| Lines: 11
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

| Newsgroups: microsoft.public.dotnet.languages.vc
| NNTP-Posting-Host: 207.222.248.110
| Path: cpmsftngxa07!tkmsftngp01!tkmsftngp10
| Xref: cpmsftngxa07 microsoft.public.dotnet.languages.vc:11920
| X-Tomcat-NG: microsoft.public.dotnet.languages.vc
|
| I don't know how to over come this linking error
| fatal error LNK1104: cannot open file 'mfc42.lib'
|
| I get this error when I build my vc++ 6 project in vs.net
|
|
|
| Prabu
|
|
|
|



Sat, 01 Jan 2005 17:28:30 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. fatal error C1083: Cannot open include file: 'excpt.h': No such file or directory

2. Fatal LNK1104: Cannot open LIBCD.LIB

3. fatal error LNK1104: cannot open file 'OLDNAMES.lib'

4. LINK : fatal error LNK1104: cannot open file 'mfc42d.lib'

5. LINK : fatal error LNK1104: cannot open file 'libcpmt.lib'

6. LINK : fatal error LNK1104: cannot open file 'libci.lib'

7. Linker cannot open file 'mfc70ud.lib'

8. Newbie - Compile error (Cannot open include file: 'xmldom.idl': No such file or directory)

9. BSCMAKE: error BK1506 : cannot open file '.\Debug\StdAfx.sbr': No such file or directory

10. LNK1104: cannot open file "mfc42u.lib"

11. LINK : fatal error LNK1181: cannot open input file 'DTL32.lib'

12. Cannot open include file: 'crtdbg.h'

 

 
Powered by phpBB® Forum Software