root@ATK-IMX6U:~# ./opencv_test
OpenCV(3.4.1) Error: 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 cvNamedWindow,
file /home/jack/OpenCvProj/opencv_src/opencv-3.4.1/modules/highgui/src/window.cpp, line 618
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(3.4.1) /home/jack/OpenCvProj/opencv_src/opencv-3.4.1/modules/highgui/src/window.cpp:618: 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 script in function cvNamedWindow