AnsweredAssumed Answered

OPENCV Error in I.MX8MMini

Question asked by Santhosh Kumar on Jan 16, 2020
Latest reply on May 25, 2020 by Santhosh Kumar

I am getting the below error when i try to run a simple opencv code

 


terminate called after throwing a[24778.491458] audit: type=1701 audit(1579182772.146:15): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=4288 comm="motiondetection" exe="/home/root/motiondetection" sig=6 res=1
n instance of 'cv::Exception'
  what():  OpenCV(3.4.2) /usr/src/debug/opencv/3.4.2+gitAUTOINC+9e1b1e5389_d4e0286945_a62e20676a_34e4206aef_fccf7cd6a4-r0/git/modules/highgui/src/window.cpp:615: error: (-2:Unspecified error) 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 script in function 'cvNamedWindow'

 

I have added below package in local.conf

 

#opencv - for image processing
CORE_IMAGE_EXTRA_INSTALL += "opencv opencv-samples libopencv-core libopencv-imgproc"
CORE_IMAGE_EXTRA_INSTALL += "libopencv-core-dev libopencv-highgui-dev libopencv-imgproc-dev libopencv-objdetect-dev libopencv-ml-dev"

 

How to resolve it, I have attached the local.conf let me know if i had missed any package

Attachments

Outcomes