How to install OpenCV on Ångström Linux?
I want to install OpenCV 2.2 on a Ångström Linux 开发者_JAVA技巧enviroment. I tried to install, but I didn't succeed. What are the steps to install OpenCV on Ångström Linux?
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.
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.
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.
This will be helpful.
opkg update
opkg install opencv
opkg install opencv-apps
精彩评论