The docs for RtMidi have example compiler commands for Linux and OSX, but not Windows. It just says that it depends on the compiler. I can find no such example anywhere on the Internet.
I am trying every combination I can think of and finding that RtMidi.cpp in fact references things that are supposed to be in the Windows API, but my computer isn't finding them. The docs say winmm.lib is needed, but this doesn't exist for me; winmm.dll does, but it will not link. I'm using MinGW. The RtMidi documentation offers no information on how to compile a sample program with RtMidi on Windows. First it says to use MinGW, then it says to use a VisualStudio project, but there is no actual example of a command in either case. I have been reading for days, searching through header files, debugging, and in my searches I keep seeing references on this site to other people having problems using RtMidi - but who have compiled it. I am only using g++ as provided by MinGW; I don't want to create a project file, configure, make, etc., as the program I want to make will have about 100 lines of code. I tried doing configure and make from MSYS, but it gave me a Unix executable.
Thank you for any insight.