New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ARM systems #46

Merged
merged 3 commits into from Nov 11, 2015

Conversation

Projects
None yet
2 participants
@gohai
Contributor

gohai commented Nov 7, 2015

Currently untested.

gohai added some commits Nov 7, 2015

Add library for armv6hf
This is libfreenect v0.5.3 compiled on Raspbian "Jesse".
Fix compilation
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 gohai force-pushed the gohai:arm branch from e2ca38d to 9d0ea40 Nov 8, 2015

@gohai

This comment has been minimized.

Contributor

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

This comment has been minimized.

Collaborator

ThomasLengeling commented Nov 11, 2015

Great it works, thank you!

ThomasLengeling added a commit that referenced this pull request Nov 11, 2015

Merge pull request #46 from gohai/arm
Add support for ARM systems

@ThomasLengeling ThomasLengeling merged commit 40f6814 into shiffman:master Nov 11, 2015

@gohai

This comment has been minimized.

Contributor

gohai commented Nov 11, 2015

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

@ThomasLengeling

This comment has been minimized.

Collaborator

ThomasLengeling commented Nov 11, 2015

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

@gohai

This comment has been minimized.

Contributor

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

This comment has been minimized.

Contributor

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

This comment has been minimized.

Contributor

gohai commented Nov 11, 2015

@ThomasLengeling (Fixed it here)

@gohai gohai deleted the gohai:arm branch Nov 11, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment