我在哪里可以找到'winmm.lib'(我使用Visual Studio 2012) [英] Where can I find 'winmm.lib' (I'm using Visual Studio 2012)

查看:2281
本文介绍了我在哪里可以找到'winmm.lib'(我使用Visual Studio 2012)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的操作系统是64位Windows 7.

我想在
中构建DirectX示例C:\Program Files(x86)\Microsoft DirectX SDK(2010年6月)\Samples \ C ++ \Direct3D10\Tutorials\Tutorial02。
,但当我构建错误发生致命错误


LNK1104:'winmm.lib'无法打开文件。 / p>

我重新安装了Direct SDK,但没有更改。我也添加了路径(include,lib)到设置。



如果我从项目设置中删除'winmm.lib','comctl32.lib'打开。
这两个库已经存在于属性>链接器>输入中。



如何解决这个问题?

> /www.microsoft.com/en-us/download/details.aspx?id=3138rel =nofollow> Windows SDK 。



最新Windows SDK版本也进行了重组,但它包括您正在寻找的库。


My OS is 64Bit Windows 7.
I wanted to build the DirectX Sample in C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Samples\C++\Direct3D10\Tutorials\Tutorial02. but when I build error occured with fatal error

LNK1104: 'winmm.lib' can't open the file.

I reinstalled Direct SDK, but no change. I also added the path (include, lib) to the settings.

If I remove 'winmm.lib' from the project settings, 'comctl32.lib' can't be opened. both libs were already present in properties>Linker>Input.

How can I solve this problem?

解决方案

winmm.lib isn't part of the DirectX SDK but is part of the Windows SDK.

Latest Windows SDK versions were also heavily reorganized but it includes the library you're looking for.

这篇关于我在哪里可以找到'winmm.lib'(我使用Visual Studio 2012)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆