Skip to content

Conversation

@gohai
Copy link
Contributor

@gohai gohai commented Nov 7, 2015

Currently untested.

gohai added 3 commits November 8, 2015 18:34
This is libfreenect v0.5.3 compiled on Raspbian "Jesse".
I also had to change build.properties to point javac to a jna.jar & gluegen-rt.jar before I could compile the library by running "ant library.run" in OpenKinect-Processing/resources.
@gohai
Copy link
Contributor Author

gohai commented Nov 8, 2015

@shiffman @ThomasLengeling
I believe I got the native library side figured out, but the example sketches throw a NullPointerException in the Kinect constructor for me. Let me know if you have an idea, else I'll debug this some more some other day.

I'll put a zip of the status quo up at http://sukzessiv.net/~gohai/p5-arm

Best
Gottfried

@ThomasLengeling
Copy link
Collaborator

Great it works, thank you!

ThomasLengeling added a commit that referenced this pull request Nov 11, 2015
Add support for ARM systems
@ThomasLengeling ThomasLengeling merged commit 40f6814 into shiffman:master Nov 11, 2015
@gohai
Copy link
Contributor Author

gohai commented Nov 11, 2015

@ThomasLengeling Does it work? (I got this NullPointerException.)

@ThomasLengeling
Copy link
Collaborator

Just don't compile the lib with the test file sources (org.openkinect.test), I'll fix this though

@gohai
Copy link
Contributor Author

gohai commented Nov 11, 2015

@ThomasLengeling That's not the problem, the problem I have is in the Kinect constructor. In Freenect.java, method createContext ctxPtr.getValue() is NULL, which makes NativeContext crash.

@gohai
Copy link
Contributor Author

gohai commented Nov 11, 2015

@ThomasLengeling The odd thing is that the return value of freenect_init is zero, indicating success, which shouldn't happen when the pointer of the stucture is NULL. Thinking perhaps something with JNA is amiss..

@gohai
Copy link
Contributor Author

gohai commented Nov 11, 2015

@ThomasLengeling (Fixed it here)

@gohai gohai deleted the arm branch November 11, 2015 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants