wxMidi installation

wxMidi installation and usage

No installation needed. Use wxMidi source files as part of your application source code. wxMidi is just two source files and one header file. Copy them to your application source tree, and compile them with your code.

Obviously you will also require the portmidi library and you will have to modify your application makefile or project build file to link with this library.

In Linux, portmidi ia normally already installed in your system.

In MS Windows the situation is just the contrary: unless another package has already installed portmidi, you have great chances to have to install it. For your convenience, I have included the portmidi libraries I am using on my machine, so that you could avoid having to download and build them.

IMPORTANT NOTES FOR MICROSOFT WINDOWS USERS

  • In Windows, portmidi needs the portmidi.dll, but there is no simple way to set up projects to use this dll. Therefore, YOU MUST COPY this dll to your application executable file folder.

Package structure

After downloading and unzipping you will find the following directories and content:

DirectoryContents
build/mswmakefiles and project files for compiling the sample application using MS VisualStudio .NET 2003
build/gtkmakefiles and project files for compiling the sample application using Code::Blocks IDE
build/msvc-e2010makefiles and project files for compiling the sample application using MS VisualC++ Express 2010
samples/midisoundsource files the sample application
srcsource and include files for wxMidi
portmidiprebuild pormidi libraries for MS Windows
locale.po and .mo files with current translations
docdocumentation

Last updated: 2011/12/08