Giter VIP home page Giter VIP logo

midimapper's Introduction

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.

midimapper's People

Contributors

halfbyte avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.