2 个解决方案
#1
fatal error RC1015: cannot open include file 'afxres.h'.
需要在Tools->Option->Directories->Include files下添加:
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\INCLUDE
一般是头文件路径的问题吧
fatal error RC1015: cannot open include file 'l.chs\\afxres.rc'.
需要在Tools->Option->Directories->Include files下添加:
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\MFC\INCLUDE
fatal error LNK1104: cannot open file "mfc42d.lib"
需要在Tools->Option->Directories->Include files下添加:
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\ATL\INCLUDE
需要在Tools->Option->Directories->Library files下添加:
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\LIB
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\MFC\LIB
若还是不行就重装一下vc
需要在Tools->Option->Directories->Include files下添加:
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\INCLUDE
一般是头文件路径的问题吧
fatal error RC1015: cannot open include file 'l.chs\\afxres.rc'.
需要在Tools->Option->Directories->Include files下添加:
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\MFC\INCLUDE
fatal error LNK1104: cannot open file "mfc42d.lib"
需要在Tools->Option->Directories->Include files下添加:
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\ATL\INCLUDE
需要在Tools->Option->Directories->Library files下添加:
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\LIB
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\MFC\LIB
若还是不行就重装一下vc
#2
Include没有包含相关VC的基本头文件吧
Tools->Option->Directories->Include files下
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE
Library files:
C:\Program Files\Microsoft Visual Studio\VC98\MFC\LIB
C:\Program Files\Microsoft Visual Studio\VC98\LIB
Tools->Option->Directories->Include files下
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE
Library files:
C:\Program Files\Microsoft Visual Studio\VC98\MFC\LIB
C:\Program Files\Microsoft Visual Studio\VC98\LIB
#1
fatal error RC1015: cannot open include file 'afxres.h'.
需要在Tools->Option->Directories->Include files下添加:
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\INCLUDE
一般是头文件路径的问题吧
fatal error RC1015: cannot open include file 'l.chs\\afxres.rc'.
需要在Tools->Option->Directories->Include files下添加:
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\MFC\INCLUDE
fatal error LNK1104: cannot open file "mfc42d.lib"
需要在Tools->Option->Directories->Include files下添加:
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\ATL\INCLUDE
需要在Tools->Option->Directories->Library files下添加:
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\LIB
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\MFC\LIB
若还是不行就重装一下vc
需要在Tools->Option->Directories->Include files下添加:
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\INCLUDE
一般是头文件路径的问题吧
fatal error RC1015: cannot open include file 'l.chs\\afxres.rc'.
需要在Tools->Option->Directories->Include files下添加:
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\MFC\INCLUDE
fatal error LNK1104: cannot open file "mfc42d.lib"
需要在Tools->Option->Directories->Include files下添加:
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\ATL\INCLUDE
需要在Tools->Option->Directories->Library files下添加:
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\LIB
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\MFC\LIB
若还是不行就重装一下vc
#2
Include没有包含相关VC的基本头文件吧
Tools->Option->Directories->Include files下
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE
Library files:
C:\Program Files\Microsoft Visual Studio\VC98\MFC\LIB
C:\Program Files\Microsoft Visual Studio\VC98\LIB
Tools->Option->Directories->Include files下
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE
Library files:
C:\Program Files\Microsoft Visual Studio\VC98\MFC\LIB
C:\Program Files\Microsoft Visual Studio\VC98\LIB