vs2013编译osg缺少mfc120d.lib

因为MFC MBCS DLL缺少导致的,微软的解释如下(http://msdn.microsoft.com/en-us/library/dn251007.aspx):

MFC libraries (DLLs) for multibyte character encoding (MBCS) are no longer included in Visual Studio, but are available as an add-on that you can download and install on any machine that has Visual Studio Professional, Visual Studio Premium, or Visual Studio Ultimate. (In Visual Studio, MFC must be enabled.) The installation requires about 440 MB of disk space and includes the English (United States) and localized versions of the DLLs.

You need this download in order to build an MFC project that has the Character Set property set to Use Multi-Byte Character Set or Not Set.

只需要安装Multibyte MFC Library for Visual Studio 2013就可以解决了。下载地址:http://www.microsoft.com/zh-CN/download/confirmation.aspx?id=40770




今天在用VS2013编译OSG的时候报错:无法打开mfc120.lib。仔细查了下资料。

我是这么解决的:

安装Multibyte MFC Library for Visual Studio 2013。下载地址

猜你喜欢

转载自blog.csdn.net/qq_35040828/article/details/78597005