Issue
Host: UBUNTU (Linux 4.15.0-47-generic x86_64)
Target: i.MX 8QuadXPlus (Linux imx8qxpmek 4.9.88-imx_4.9.88_imx8qxp_beta2+g05f46d3)
I`m already make WITH_GTK and WITH_GTK_2_X enable.
But after Configure, GTK+ still NO.
How can I enable GTK+ for OpenCV in cmake?
Solution
sudo apt-get install libgtk2.0-dev libgtk-3-dev
If after that you still can't enable the options, try with:
sudo apt-get install gnome-devel
Answered By - lb90