-
Notifications
You must be signed in to change notification settings - Fork 751
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
Raspberry Pi 2: Failed to execute JavaCPP Builder: Could not parse opencv2/core/types_c.h #37
Comments
We need to run the build script for the native libraries first. Are you having any troubles doing that with |
The build script does not support |
Right, we have to add a case for that in the scripts. Would you be able to modify them in such a way that they run fine for |
I get it compiling if I run |
The one for |
Hi Samuel, Probably this is kind of a duplicated post but I am trying to get javacpp-presets installed on a raspberry pi. Many thanks! Machine details:
Trying to install javacpp-presets I got the error:
|
We're going to need to provide a |
Yes, I'll take a look at cppbuild.sh and see what can I do. |
Hei guys...same problem here... @saudet any solution? @martinstuder can you explain how you did to build manually? thanks a lot...Ale |
@Alessandruino We just need to modify the scripts to support the |
@saudet thanks for the fast reply... martinstuder was talking about a workaround using ccmake but i don't get how to use it to compile the files cause there is not a cmakelist file...sorry for the newbie questions... |
@saudet nevermind... i'll wait for the script fix :) thanks again |
@Alessandruino Well, first, somebody has to do it. Would you be interested in giving it a try? |
Ya... I would be interested in learning by doing in this case... But I don t know where to start... I m pretty new to this... I opened the CPPbuild.sh file and we miss the Linux-arm platform specification... Don t know what to add... |
Copy the entry for |
Thanks for the pointer.. I m figuring how the script works first... And what it does... I built opencv for Linux-arm so I m replacing with the cmake I used in that case... Hope to make it worky ;) |
Good! Keep me updated 👍 |
@saudet finally i got opencv/cppbuild.sh script to work for linux-arm ! yay ! I forked the project, modified it and created a pull request... up to you the merging... if you want i can send you the javacv,javacpp,javacpp-presets/opencv bin files for linux-arm armv6 instructions (raspi) for 0.10 . Right Now i'm compiling for raspi2(armv7 instructions) for 0.10 too... |
@Alessandruino Great news! If you could send a pull request for that on the master branch, I'll merge it in! As for the binaries, I was thinking you could deploy them to the Maven Central. If you don't have an account with them already, check it out: |
@Alessandruino has linux-arm v6 & v7 build configuration made it to the master branch. Kind regards, |
Trying to build on a Raspberry Pi 2 yields the following error:
The text was updated successfully, but these errors were encountered: