问题
I want to install OpenCV 2.2 on a Ångström Linux enviroment. I tried to install, but I didn't succeed. What are the steps to install OpenCV on Ångström Linux?
回答1:
I am using Angstrom 2011.03 on a BeagleBoard-xM. This has OpenCV 2.2 in the package manager (see e.g. [1]).
So I just did:
opkg install libopencv-highgui-dev
However, this only was successful at the 3rd attempt.
回答2:
I've the same issue...
I have a BeagleBoard-xM rev.C and I made an Ångström Linux base-image using openembedded. All works fine! Now, I'm trying to cross-compile a simple OpenCV application for the target using Ubuntu 11.04 (Natty Narwhal) 64-bit and a cross-compile toolchain (Sourcery CodeBench Lite 2011.09-70 for ARM GNU/Linux), but some error occurred.
I tried to cross-compile another application, like nano, and it's OK.
回答3:
You have provided very little information, but here is what I'm assuming:
- You're using a BeagleBoard
- Your beagleboard has enough "umph" to actually run OpenCV applications
- You have compilation working on your BeagleBoard.
I would recommend you follow this walkthrough.
And then, if
- It fails to compile, check your toolchain, and try compiling nano or some other small application.
- If it compiles, but your OpenCV based applications don't work, make sure you have updated Ångström Linux recently, and your toolchain is recent.
回答4:
This will be helpful.
opkg update
opkg install opencv
opkg install opencv-apps
来源:https://stackoverflow.com/questions/5682678/how-to-install-opencv-on-%c3%85ngstr%c3%b6m-linux