Skip to content
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 a linux-arm build for the OpenCV preset #116

Merged
merged 1 commit into from Dec 2, 2015

Conversation

ThomasJClark
Copy link
Contributor

This should make it possible to run JavaCV on non-android arm systems (probably including a Raspberry Pi, although I don't have one to try it on)

I've tested this on Fedora 23 using the ARM toolchains from lantw44/arm-linux-gnueabi-toolchain. Basically it just adds a linux-arm option to cppbuild.sh.

./cppbuild.sh -platform linux-arm install opencv
mvn install --projects .,opencv -Dplatform=linux-arm -Dplatform.compiler=arm-linux-gnueabi-g++

Closes #37

@saudet
Copy link
Member

saudet commented Nov 23, 2015

Oh, if a cross-compiler works, that would be neat. Have you actually tested on any ARM devices?

@ThomasJClark
Copy link
Contributor Author

@saudet I'm in the process of trying to get this tested on a roboRIO. I have something compiled, but it'll be a little bit before I have physical access to the machine. I'll post an update then.

@saudet
Copy link
Member

saudet commented Nov 23, 2015

Cool. BTW, some people have been asking the same for FFmpeg. It doesn't look like it would be too hard to adapt it in the same way. Could you try it out and add it this PR if possible? :)

@JLLeitschuh
Copy link
Contributor

👍 (same project)

@saudet
Copy link
Member

saudet commented Nov 27, 2015

BTW, even if you don't get FFmpeg done, let me know when you confirm this works on roboRIO or what not, and I'll merge this PR in! Thanks

@ThomasJClark
Copy link
Contributor Author

It works on the roboRIo, just with the ARM toolchains replaced with a roboRIO-specific one.

I don't know if I'm gonna get around to doing ffmpeg. Sorry.

@saudet
Copy link
Member

saudet commented Nov 27, 2015

Ok, thanks. It would be nice to hear about someone trying this out on Raspberry Pi at least though...

@saudet
Copy link
Member

saudet commented Dec 2, 2015

Well, anyway, I'll merge this in, and we'll let someone else test it out and let us know if it works. Thanks for the contribution!

saudet added a commit that referenced this pull request Dec 2, 2015
Add a linux-arm build to the presets for OpenCV
@saudet saudet merged commit dda3be3 into bytedeco:master Dec 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants