I followed the following link to cross compile opencv for dpx2. The build is fone wth GTK=OFF as mentioned in the below post.
Now, facing an issue when I turn GTK=ON for my build. I get following linker error
Linking CXX executable …/…/…/bin/opencv_test_cudev
/home/sachin/NVIDIA/Drive/5050bL_SDK/DriveSDK/toolchains/tegra-4.9-nv/usr/bin/aarch64-gnu-linux/…/…/libexec/aarch64-gnu-linux/gcc/aarch64-gnu-linux/4.9.2/ld: cannot find -lgtk-x11-2.0
I would like know, how to cross compile OpenCV with GTK for DPX2.