Can’t initialize GTK backend in function ‘cvInitSystem’

The platform is odroid-xu4 board with Ubuntu 18.04 kernel version 4.14.180+.

root@odroid:~/build/bin# ./example_tutorial_cornerHarris_Demo
terminate called after throwing an instance of ‘cv::Exception’
what(): OpenCV(4.6.0-dev) /home/odroid/opencv-4.x/modules/highgui/src/window_gtk.cpp:635: error: (-2:Unspecified error) Can’t initialize GTK backend in function ‘cvInitSystem’

Aborted

did you stop reading at “instance of cv::Exception”? the important part is yet to come! what do you think it means? (I’ve fixed the title)