Error 1 error LNK1104: cannot open file 'winmm.lib'

后端 未结 2 828
自闭症患者
自闭症患者 2021-01-23 05:37

Ok, so I am running Visual Basic 2010 Express and I tried to run Tutorial # 2 in the Direct X SDK; however, the program won\'t compile for some reason, although in the tutorial

相关标签:
2条回答
  • 2021-01-23 06:16
    1. Install visual studio Express C++.
    2. Install the Windows SDK for windows 7.
    3. After recreating a new project for that copy+pasted code, point the project properties to the windows sdk, as well as the direct X sdk. This includes both include folders, and lib folders. If you don't know how to do that, Go check out the "how do i" videos on msdn.com for visual studio 2010.
    4. Compile.
    0 讨论(0)
  • 2021-01-23 06:20

    I got a very similar error with Visual Studio 2013 Express:

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

    For me, it turned out I'd installed 'Visual Studio 2013 Express for Windows', when I actually needed 'Visual Studio 2013 Express for Windows Desktop'.

    Installing 'Visual Studio 2013 Express for Windows Desktop' cured the error for me.

    0 讨论(0)
提交回复
热议问题