winmm.lib not in VS2019

genush 1 Reputation point
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.

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,542 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 81,831 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