Where can I find "winmm.lib" (I am using Visual Studio 2012)

My OS is 64-bit Windows 7.
I wanted to create a DirectX sample in C: \ Program Files (x86) \ Microsoft DirectX SDK (June 2010) \ Samples \ C ++ \ Direct3D10 \ Tutorials \ Tutorial02. but when I create an error that occurred with a fatal error

LNK1104: "winmm.lib" cannot open the file.

I reinstalled the 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" does not open. both libs were already present in properties> Linker> Input.

How can I solve this problem?

+4
source share
3

winmm.lib DirectX SDK, Windows SDK.

Windows SDK , , .

+1

- SDK DirectX VS 2012 VS 2013, include/libs MSDN. , Include/Lib:

VS 2010 :

$(DXSDK_DIR)Include;$(IncludePath)

$(DXSDK_DIR)Lib\x86;$(LibraryPath) $(DXSDK_DIR)Lib\x64;$(LibraryPath)

VS 2012/2013 :

$(IncludePath);$(DXSDK_DIR)Include

$(LibraryPath);$(DXSDK_DIR)Lib\x86 $(LibraryPath);$(DXSDK_DIR)Lib\x64

, - API Direct3D 10 Direct3D 11 Win32 desktop tutorials on MSDN. , SDK DirectX, VS 2012/2013 Express Windows Desktop VS 2012/2013 Pro + DirectX SDK .

:

DirectX SDK

DirectX SDK

D3DX

DirectX SDK

CodePlex:

DirectX Tool Kit

DirectXMesh

DirectXTex

DXUT Direct3D 11

11

+1

stdafx.h

#pragma comment(lib, "winmm.lib")
+1

All Articles