Link Error: cannot open input file 'winmm.lib' - compile error in Visual C++ 2005

I am simply trying to Compile/Link the source Code for wolfenstein (3-d).

I am using Visual C++ 2005 AND I get the following error:

LINK : fatal error LNK1181: cannot open input file 'winmm.lib'

I did a search for this file and the result was file not found. I read somewhere that DirectSDK was needed
but after installing (DX_SDK) app the error still remained. Any help is appreciated!!
LVL 3
Curtis ShullFounderAsked:
Who is Participating?
 
Jose ParrotConnect With a Mentor Graphics ExpertCommented:
Hi,

This file is part of Platform SDK, not DirectX.

Also 'winmm.lib' isn't included in Visual C++ Express Edition.
If it is the case, you may want download the right SDK at
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
BTW, the instructions are valid too for Standard and Pro editions.

Anyway, make sure you have installed all the features of the SDK, not just the core components.

Jose

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.