I’m currently trying to integrate the Leap Motion module (http://www.leapmotion.com) in Blender 2.66 (64 bits on Mac OS X Mountain Lion), in order to use the controller’s input in the game engine.
I know Python 3.3 is used in Blender 2.66, and that’s why I recompiled the Leap motion sdk which was in 2.7. So, now, I have three files : Leap.py, LeapPython.so and leapLib.dylib. Some people already achieved to place these files in the correct place, to import Leap in a script in Blender and to make some stuff. Now, these people are on windows.
They put Leap.py and LeapPython.pyd (win version of the .so file mentioned above) in blender-2.65-linux-glibc211-i686/2.65/python/lib/python3.3, and the dll (win version of the .dylib) next to blender.exe.
I’ve been trying to do the equivalent on mac, by putting Leap.py and LeapPython.so in Blender.app/Contents/MacOS/2.66/python/lib/python3.3. I know that the .dylib is in the right spot because sometimes, the blender python interpreter told me that it couldn’t find it.
When it can, blender simply crashes (with console error Abort trap 6). I have absolutely no idea what to do right now and I’ve completely run out of options in google, so if anyone could help me, that would be the most amazing thing that happened to me in the last three days.
Thanks already for your help!