Hello, I am following the directions here:
https://visualgdb.com/tutorials/raspberry/opencv/build/
I copied pkg-config.exe to C:/SysGCC/Raspberry/bin
I added cmake environment variables:
PKG_CONFIG_SYSROOT_DIR=C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot
PKG_CONFIG_PATH=C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig;C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/share/pkgconfig
All those folders are in correct place.
The problem is it’s not building GTK+ support
I’m getting build warnings, like:
can’t find ffmpeg – ‘pkg-config’ utility is missing
Which indicates pvk-config is not found.
What is missing in the tutorial?
I noticed pkg-config requires some complex installation on windows,
https://stackoverflow.com/questions/1710922/how-to-install-pkg-config-in-windows