Leap Motion controller and o.io.leap object

Dec 3, 2013 at 2:18am

Leap Motion controller and o.io.leap object

Hey Guys

I’m trying to use my Leap with this new object I found (i.io.leap) and have installed the .mxo and .maxhelp files in the appropriate places but whenever I try to load the .maxhelp file I get the error message:

unable to load object bundle executable
2013-12-03 10:14:19.870 Max[4730:207] Error loading /Applications/Max6/Cycling ’74/max-externals/o.io.leap.mxo/Contents/MacOS/o.io.leap: dlopen(/Applications/Max6/Cycling ’74/max-externals/o.io.leap.mxo/Contents/MacOS/o.io.leap, 262): Library not loaded:
Referenced from: /Applications/Max6/Cycling ’74/max-externals/o.io.leap.mxo/Contents/MacOS/o.io.leap
Reason: image not found

Dont know what I’m doing wrong?
Can somebody please help as I’ve been using the aka.leapmotion object prior to this but it’s totally glitchy and I’ve heard the o.io.leap one is much steadier, it’s for a hand controller granulator so I need precision.

Thanks in advance you good, good people!

Dec 3, 2013 at 3:01am

I’m thinking it might be an SDK thing perhaps?
Any thoughts?

Dec 3, 2013 at 9:21pm

First, make sure you have correctly installed the o dot packages. (I think you mean o.io.leap and not i.io.leap. ) You can find that download over at CNMAT’s page. http://cnmat.berkeley.edu/downloads

Once you have this working (you can check by making a o.message object and it correctly initializing) you need to make sure that o.io.leap.mxo and o.io.leap.maxhelp are in your path directories. If you are curious what all the data this wrapper has you can use an o.io.broadcast object to list these or I’ll include them below. I hope it works out for you!

o.io.leap- list of data



Dec 17, 2013 at 1:19am

Hi all, same error here.
I’m on MBP 10.8.5 and max 6.1.6.

The odot library seem to work well and o.io.leap.mxo and .maxhelp are in my search path…

When I try to open the help file in max window this message appear:

odot version 1.5b-14-gb7bfb80 (compiled Mon Nov 11 22:46:43 PST 2013), by John MacCallum, Adrian Freed, Rama Gottfried
Copyright (c) 2008-13 Regents of the University of California. All rights reserved.
o.io.leap: unable to load object bundle executable
2013-12-17 10:11:02.549 Max[287:c07] Error loading /Users/pjeve/Documents/MyMax/Libraries/CNMAT/CNMAT_Externals/odot/objects/o.io.leap.mxo/Contents/MacOS/o.io.leap: dlopen(/Users/pjeve/Documents/MyMax/Libraries/CNMAT/CNMAT_Externals/odot/objects/o.io.leap.mx
o/Contents/MacOS/o.io.leap, 262): Library not loaded: @loader_path/libLeap.dylib
Referenced from: /Users/pjeve/Documents/MyMax/Libraries/CNMAT/CNMAT_Externals/odot/objects/o.io.leap.mxo/Contents/MacOS/o.io.leap
Reason: image not found

I need to put the libLeap.dylib in some precise location?

Thanks in advance for the help!

Dec 18, 2013 at 6:52am

Hi, I have tried using this object but the problem is I do not have the o.route.mxo

I have downloaded the CNMAT externals library, and this has given me the o.route.maxhelp but not the o.route external.

Can someone link me to where I can get o.route.mxo ???

Cheers, Theo

Dec 18, 2013 at 8:30am

it’s weird Theos, i have it here from the latest cnmat distrib

Jan 2, 2014 at 7:08pm

Hey guys
I’m still having the same trouble as PJEVE here. I’ve found and installed the o.route.mxo and the Osc max objects but now the i.io.leap object wont load properly stating that: “o.io.leap: unable to load object bundle executable
2014-01-03 03:04:17.058 Max[25989:207] Error loading /Applications/Max6/Cycling ’74/max-externals/o.io.leap.mxo/Contents/MacOS/o.io.leap: dlopen(/Applications/Max6/Cycling ’74/max-externals/o.io.leap.mxo/Contents/MacOS/o.io.leap, 262): Library not loaded
: @loader_path/libLeap.dylib
Referenced from: /Applications/Max6/Cycling ’74/max-externals/o.io.leap.mxo/Contents/MacOS/o.io.leap
Reason: image not found”

Really stuck here fellas, would really appreciate a bit of help?! :(
Thanks in advance.

Jan 2, 2014 at 9:24pm

You have to run Max in 32-bit mode. Right click and select Get Info, then check the ‘Open in 32-bit mode’ checkbox.

Jan 3, 2014 at 4:59am

Hey BDC thanks for your reply, I’ll tried right clicking and clicking the “get info” but there’s no option for opening in 32bit mode? My version of Max is 6.0.4, this is only 32bit isn’t it? :)

Jan 3, 2014 at 7:15am

@JOHNNYC777 – I’m running Max 6.1.6 under Mavericks on a 2012 MBP w/retina display. That’s what got o.io.leap.mxo working for me. Sorry my suggestion didn’t work for you.

Jan 3, 2014 at 7:24am

No worries @BDC, thanks anyway dude I appreciate it.
I’m gonna try Max 6.1 and see what happens.

Jan 21, 2014 at 8:23am

Hi, a lot of 3rd party plugins only work in 32bit mode at the moment. I think you have to specify at install so may have to reinstall max to change.

Jan 21, 2014 at 11:43am


Ok, i don’t know why but i think that there is something wrong in the external located in the package folder.

@ Johnny: Try to use the external.zip in the main git page. This worked for me!

P.S. I’m under OSX 10.8.5 + Max 6.1.6 (32 bit)

Mar 17, 2014 at 4:58am

You should give a shot at

It’s very lightweight (see tcpigolo.js) and worked very well for us, freeing the max pc from the leap load.

Mar 31, 2014 at 11:07am

I guess there is no leapformax solution for a one mac based config running leapmotion + max ?

Edit : Oops, misread the site. I have to test this now !

Apr 14, 2014 at 6:46am

Just had the same fun installing o.io.leap
so I thought id confirm the way to get it to work :)

a) download CNMat externals from :http://cnmat.berkeley.edu/downloads
b) extract, add to file preferences… ( you can just add odot if you like)
c) download o.io.leap from https://github.com/derekrazo/o.io.leap/tree/master
(take the whole thing, as will become apparent in a moment)
d) create a new directory for the external, and put in in file preferences
e) extract the zip file, o.io.leap.mxo.zip and take the mxo and put it into (d)
f) copy the maxhelp file in the root and put it into (d)
g) copy o.io.leap-package/support/libLeap.dylib and put it into (d)

hope this helps someone

note: the issue is the mxo in o.io.leap-package doesn’t correctly reference the dylib, only the one contained in the zip file.
(ive not check yet which version of the mxo this one is, e.g. if it contains the latest code or not, also I’ve not checked if you build it in Xcode if this has the dylib correctly referenced… might be next on my list)


You must be logged in to reply to this topic.