opencv on yocto in imx8qm

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

opencv on yocto in imx8qm

1,105件の閲覧回数
yibhan
Contributor III

Hi guys,

I am curious about adding opencv library on yocto in imx8qm. Actually, when i build bitbake fsl-image-qt5-validation-imx, there is no opencv library in rootfs. So, I have added IMAGE_INSTALL_append = " opencv" in conf/local.conf, and I have found opencv library in rootfs, but when I run opencv app, below error occured: 

"error: (-2) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure"

Should I add some of package to fix the above issue?

 

ラベル(1)
0 件の賞賛
返信
1 返信

1,102件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hi Yibhan,

  Try this configuration in local.conf, please!

CORE_IMAGE_EXTRA_INSTALL += " opencv libopencv-core-dev libopencv-highgui-dev libopencv-imgproc-dev libopencv-objdetect-dev libopencv-ml-dev"

 

Have a nice day!

B.R

Weidong

0 件の賞賛
返信