Closed ghost closed 11 years ago
Thanks for submitting this issue.
For 1) it appears that you are using Windows, do you have cygwin or are you using the command shell? I can add additional build scripts if that might help.
For 2) there appears to be a problem with the native code to Java interface. My device is supposed to arrive this week, so I'll be able to look further into that soon.
See issue #3 for Windows build scripts.
I was using the command shell. What would I need to use in order to properly run the build script using the github versioin as per 1)?
I have added an ant build script that should work across all platforms, and works for me in Windows command shell.
Just got my dev kit, I'm seeing the same issue in Mac OSX.
FedEx says tomorrow for me, hopefully I'll be able to replicate then.
Any idea where I'd look?
Google "null upcall object" leads me to believe the error is coming from LeapJava.lib, possibly from SWIG (http://www.swig.org) generated code.
If this error doesn't show up in java examples, then perhaps it is a problem with Processing finding or linking to the native libraries.
Processing 1.5.1 works - sorting out controller -> data model access now. Awesome, thanks!
I can confirm that the ant build works successfully and allowed the library to be imported into Processing on Windows. Running the sample sketch still crashes the JRE after some frames though. Thanks!
I wrote the outlines of a processing library that is working on windows, which is based on your library here. It's not using reflection, which made it to work. Check it out here: https://github.com/mrzl/LeapMotionP5
Can you make a suggestion on how to continue on this- i dont really like the idea of having two libraries for the same issue.
@mrzl very cool. I don't have a Windows box so I can't test on one very often.
I like the pattern of using reflection in Processing libraries -- here it means that the user's sketch implements com.leapmotion.leap.Listener without having to say so. Odd that using it would cause trouble on only one platform.
As for how to proceed, email me @gmail to discuss.
All,
According to Leap support, Windows XP is not supported, only Windows 7 and Windows 8. I only have access to XP. Can anyone reproduce this issue on Windows 7 or Windows 8?
Fixed in commit a3be21ed84a930a176a252cf6a8457faae2f3b0d and released in version 1.4, tagged at https://github.com/heuermh/leap-motion-processing/tree/1.4
Two main problems: First, when I tried to use the version of the library cloned from Github, I could not get it to correctly install and show up in Processing.
When I used the version available from Google Docs, the library installed correctly and was recognized, but after getting about a half-second's worth of frames, the JRE crashed.