Hi guys, I have some trouble to run opencv app in imx8qxpc0mek. I am using kernel 4.14.98.2.3.0 and
DISTRO=fsl-imx-xwayland MACHINE=imx8qxpc0mek source fsl-setup-release.sh -b build-xwayland
$ bitbake fsl-image-validation-imx and add opencv package in /conf/local.conf : CORE_IMAGE_EXTRA_INSTALL += " opencv libopencv-core-dev libopencv-highgui-dev libopencv-imgproc-dev libopencv-objdetect-dev libopencv-ml-dev"
when I run opencv app, opencv app doesn't work and error is below: : terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.0.1) /usr/src/debug/opencv/4.0.1.imx-r0/git/modules/highgui/src/window.cpp:610: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvNamedWindow'
I have checked /usr/lib/libopencv*.so and sdk as well. Should I add something to display appropriate opencv app or add some of packeges in yocto?