winmm.lib not in VS2019

genush 61 Reputation points
2021-11-09T14:49:54.337+00:00

I recently installed the community version of Visual Studio 2019. I have a c++ MFC VS2010 project that I wanted to convert to VS2019. When I build the project, I get a link error "cannot open winmm.lib". Is winmm.lib not included in VS2019? Are there other libraries in VS2010 that are not included in VS2019? That would make backward compatibility a problem. When I installed VS2019, there were a plethora of options of what to install. It would have been nice if there was a readme that said what needed to be installed if a successful conversion of VS2010 projects to VS2019 is desired.

Developer technologies | C++
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 90,686 Reputation points
    2021-11-09T14:54:53.377+00:00

    WinMM is in the Windows SDK : Windows SDK

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.