none
Missing winmm.lib

    Question

  • I've been programming with Visual Studio Express 2010 for a few weeks now and everything was working fine, then suddenly 'winmm.lib' is missing. When I compile I get:

    fatal error C1083: Cannot open include file: 'winmm.lib': No such file or directory

    I did look in the "Program Files / Microsoft SDK / Windows/ v7.0A / Lib" folder and 'winmm.lib' is in there, so it didn't get deleted or anything either.

    I've searched online and can't find out what I need to do to fix this.
    Sunday, November 07, 2010 6:55 PM

Answers

  • Hmm, the error message suggest that somewhere in the code you have something like

    #include <winmm.lib>

    That doesn't work, you can't include .lib files. Maybe you added such an include by mistake?

     

    • Marked as answer by wolfadex Sunday, November 07, 2010 7:55 PM
    Sunday, November 07, 2010 7:05 PM