Solved

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

Posted on 2006-11-03
3
1,729 Views
Last Modified: 2010-10-05
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!!
0
Comment
Question by:Onyx23
3 Comments
 
LVL 18

Accepted Solution

by:
JoseParrot earned 500 total points
ID: 17893635
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question