title: trying to build a PortMidi example in Mingw
body: <p>Im trying to build a PortMidi example in Mingw but it depends on two libraries portmidi and winmm, I recompiled portmidi to get a portimidi.a but Im getting errors of missing code.</p>
  
  <p><strong>Is posible to link winmm to mingw, and I have to use ".a" or ".lib" libraries?</strong></p>
  
  <p>Im using this command to compile the source:</p>
  
  <pre><code>g++ -o prg latency.c -IHeaders -LLib -lportmidi -lwinmm 
  </code></pre>
  
  <p>Thanks for your help.</p>