I’ve been trying to cross-compile from my PC (running Debian Jessie) to my BBB.
Simple cross-compiling worked fine.
Then I was trying to cross-compile openCV.
After building and then trying to run on the BBB, I had some problems.
First, the versions of openCV libraries didn’t match, so I copied over the ones I built on my PC to the BBB.
That fixed that problem.
Then, it was complaining that some basic GCC libraries weren’t the right version.
So…
I copied all the contents of arm-linux-gnueabihf from my PC to the BBB.
After that, even simple things like “ls” won’t work.
Am I completely hosed?
Do I need to re-install the image?
HELLLP!
Also, once I get back up and going, what’s the root cause of my library problem, and what’s the right way to solve it?
I think I’m in pretty bad shape now.
After power cycling the BBB, I can’t get it to boot at all.
I’ve tried downloading an image to an SD card, but no luck.
Thanks…I’m familiar with that page.
However, the only links for Jessie img files are “Testing Snapshots”.
Would these be the same as the official release (as far as libraries…I want to make sure I can cross compile openCV)?
Is the image I’d get with “sudo apt-get install linux-image-armmp” the same as one of these snapshots, or is it an official release?
If it’s official, and if I updated with one of those img files, could I then install as above?
And finally, is there a reason why I can’t locate the image with “sudo apt-get install linux-image-armmp” ?
Yes, I just tried this. Updated /etc/apt/sources.list to make sure the Debian repositories were listed (had Ubuntu installed), but it still failed to locate the package.
Thanks...I'm familiar with that page.
However, the only links for Jessie img files are "Testing Snapshots".
They are only labled "Testing" as beagleboard.org has't moved them to
the "release" directory on their server.
Would these be the same as the official release (as far as libraries...I
want to make sure I can cross compile openCV)?
Is the image I'd get with "sudo apt-get install linux-image-armmp" the same
as one of these snapshots, or is it an official release?
If it's official, and if I updated with one of those img files, could I then
install as above?
And finally, is there a reason why I can't locate the image with "sudo
apt-get install linux-image-armmp" ?
Thanks everyone for the answers.
One final question:
What I’m ultimately trying to accomplish is developing a custom app w/ openCV in Eclipse on a PC.
And cross-compiling for the BBB.
From what I understand (from Derek Molloy), getting emdebian, cross-compiling, and openCV working on Wheezy is much more difficult than on Jessie.
That’s why I chose Jessie for my VM on my PC.
However, there’s no bone Jessie yet (if I understand everyone’s help so far).
So, are my only options:
Put a Wheezy VM on my PC and try to muddle through the setup?
I’m still fighting version issues and have a couple more questions.
I put the latest Jessie on my BBB.
It comes with openCV already.
However, it’s not the latest openCV (2.4 vs. 3.0).
So, what I cross-compiled and built on my linux PC (3.0) still didn’t match what was on the BBB.
No big deal…now that both the PC and BBB were running Jessie, I just copied the 3.0 openCV libraries from the PC to the BBB.
That was great, except…
For some reason I can’t possibly understand, there are about 5 openCV libraries that just aren’t a part of 3.0 that were a part of 2.4.
They’re just not there.
Any reason why BBB Jessie wouldn’t be using the latest 3.0 opencv?
Would the best solution be to just download, build, and install the 2.4 version on my PC?
I'm still fighting version issues and have a couple more questions.
I put the latest Jessie on my BBB.
It comes with openCV already.
However, it's not the latest openCV (2.4 vs. 3.0).
So, what I cross-compiled and built on my linux PC (3.0) still didn't match
what was on the BBB.
No big deal...now that both the PC and BBB were running Jessie, I just
copied the 3.0 openCV libraries from the PC to the BBB.
That was great, except...
For some reason I can't possibly understand, there are about 5 openCV
libraries that just aren't a part of 3.0 that were a part of 2.4.
They're just not there.
Any reason why BBB Jessie wouldn't be using the latest 3.0 opencv?
Jessie was released on April 26th, 2015, the version of opencv had
been frozen the previous november, so it has 2.4..
btw, there doesn't seem to be a push to get 3.0 in sid/testing either: