cannot open file "mfc42u.lib"的解决方案
2010-09-02 17:27
423 查看
问题提出:VC提示找不到mfc42u.lib错误(cannot open file "mfc42u.lib")
说明:
LINK: fatal error LNK1104: cannot open file "mfc42u.lib" 表明安装VC时没有安装 Unicode版本
解决问题方法总结:
方法一:
从VC的安装盘中拷贝文件“MFC42U.LIB”、“MFC42UD.LIB”、“MFCS42U.LIB”、“MFCS42UD.LIB”几个对Unicode支持的代码“VC的安装目录/VC98/MFC/Lib”下即可,不必要重装:)。
方法二:
在build选择非 Unicode版本进行编译
方法三:
在Build菜单下面的Set Active Configuation...子菜单里面设置当前的配置为Win32 Release 或win32 debug,不要设置成Unicode Release 或unicode Debug。
这个问题是你的编译配置设置成了unicode的配置,而VC在安装的时候默认不安装Unicode的库,所以找不到mfc42u.lib或mfc42u.dll。
方法四:重新安装VC,选择 Full install
说明:
LINK: fatal error LNK1104: cannot open file "mfc42u.lib" 表明安装VC时没有安装 Unicode版本
解决问题方法总结:
方法一:
从VC的安装盘中拷贝文件“MFC42U.LIB”、“MFC42UD.LIB”、“MFCS42U.LIB”、“MFCS42UD.LIB”几个对Unicode支持的代码“VC的安装目录/VC98/MFC/Lib”下即可,不必要重装:)。
方法二:
在build选择非 Unicode版本进行编译
方法三:
在Build菜单下面的Set Active Configuation...子菜单里面设置当前的配置为Win32 Release 或win32 debug,不要设置成Unicode Release 或unicode Debug。
这个问题是你的编译配置设置成了unicode的配置,而VC在安装的时候默认不安装Unicode的库,所以找不到mfc42u.lib或mfc42u.dll。
方法四:重新安装VC,选择 Full install
相关文章推荐
- cannot open file "mfc42u.lib"的解决方案
- VC:cannot open file "mfc42u.lib"的解决方案
- 看程序 fatal error LNK1104: cannot open file "mfc42u.lib"
- cannot open file "mfc42u.lib"
- LINK : fatal error LNK1104: cannot open file "mfc42u.lib"
- cannot open file "mfc42u.lib"怎么回事,怎么改动配置选项?
- cannot open file "mfc42u.lib"
- cannot open file "mfc42u.lib"怎么改动配置选项
- VC 6.0 LINK : fatal error LNK1104: cannot open file "mfc42u.lib"(VC 6下,无法找到mfc42u.lib的解决办法
- LINK : fatal error LNK1104: cannot open file "mfc42u.lib"(vc)
- VC 6.0 “fatal error LNK1104: cannot open file "mfc42u.lib"”问题解决
- LINK : fatal error LNK1104: cannot open file "mfc42u.lib"
- LINK : fatal error LNK1104: cannot open file "mfc42u.lib"
- VC 6.0 “fatal error LNK1104: cannot open file "mfc42u.lib"”问题解决
- fatal error LNK1104: cannot open file "mfc42u.lib"
- cannot open file "mfc42u.lib"
- vc 下 cannot open file "mfc42u.lib" 出错的解决方法
- 关于Eclipse报:" cannot be read or is not a valid ZIP file"的解决方案
- iar7.3建立工程报错:cannot open the source file "XXXxxx.h
- Win7下Platform Builder6.0出现"fatal error C1033: cannot open program database '' 解决方案