Solved

Visual C++ 20005 error cannot open input file 'winmm.lib'

Posted on 2006-11-03
2
684 Views
Last Modified: 2010-07-27
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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 500 total points
ID: 17872319
On my computer this library can be found at C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Lib. Try to run VS installation again and select all SDK components. If your installation doesn't contain this library, install Microsoft SDK:
http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en

winmm.lib is part if Windows Multimedia SDK.
0
 
LVL 3

Author Comment

by:Onyx23
ID: 17885674
I installed MS SDK and still.....


1>------ Build started: Project: game, Configuration: Release Win32 ------
1>Building game function table...
1>Linking...
1>LINK : fatal error LNK1181: cannot open input file 'winmm.lib'
1>Build log was saved at "file://c:\Wolf_Source\SP\SP_source\src\game\Release\BuildLog.htm"
1>game - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
looking for books on c++ and javascript 4 171
Pointers - Drive letter 1 77
AVI wait icons for CAnimateCtrl in Visual Studio 2008 MFC 1 169
Remove Office macro by VC++ 10 125
The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

734 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