How to install OpenCV on Ångström Linux?

非 Y 不嫁゛ 提交于 2020-01-07 02:50:10

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!