https://github.com/halfbyte/midimapper
obsoleted by halfbyte/portmidi, so please go there
https://github.com/halfbyte/midimapper
Last synced: 11 months ago
JSON representation
obsoleted by halfbyte/portmidi, so please go there
- Host: GitHub
- URL: https://github.com/halfbyte/midimapper
- Owner: halfbyte
- Created: 2009-09-27T22:50:31.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2009-11-07T18:18:19.000Z (over 16 years ago)
- Last Synced: 2025-04-15T01:46:28.322Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 129 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
Portmidi-Mapper
===============
This is a small, incomplete wrapper around the portmidi library.
Requirements
============
portmidi (who woulda thought) built as a dynamic library.
ffi gem.
Installing Portmidi on OS X Snow leopard
========================================
This is a major pita, because currently portmidi doesn't officially build for 64 bit, which
makes it impossible to use with the default Snow Leopard Ruby.
You can try to enable 64 bit support, but I don't have a frekkin clue what this means. It works
for me and my application, but YMMV and I am not responsible for any damage this does
to you or your system.
To enable 64 bit compilation (you will see quite a few warnings while compiling), open
CMakeLists.txt in the trunk folder and find the following line (around line 39 in my version)
set(CMAKE_OSX_ARCHITECTURES i386 ppc CACHE STRING "do not build for 64-bit" FORCE)
and change it to: (yes, the comment is a bit silly)
set(CMAKE_OSX_ARCHITECTURES i386 ppc x86_64 CACHE STRING "do build for 64-bit" FORCE)
Now you can call
make -f pm_mac/Makefile.osx
if it builds, you can try to install the library. Currently the process seems to be a bit broken,
so you actually need to type:
sudo env PF=/usr make -f pm_mac/Makefile.osx install
yes, this sucks - I'm currently trying to find out with the portmidi authors what it would take to fix all this.