Greetings, ladies and gentlemen. I can not automatically "hook" the gtkmm directory using CMake. CMakeList , CMake infers that gtkmm was not found (although gtkmm on C: /) and, accordingly, the variables are empty. What is the problem and how to solve it?

    1 answer 1

    Good day!

    The problem may be in several places:

    1. gtkmm3 dependencies (for example, gtk-3 ) are not installed
    2. Missing PkgConfig file indicating where to find gtkmm3
    3. The environment variable (not windows, but POSIX environments) PKG_CONFIG_PATH does not cover the gtkmm-3.0.pc file directory

    It would be great to see your team output.

    pkg-config --list-all | grep -i gtk

    to understand where to go next

    • Your environment simply does not see anything. Try installing the original instructions from the Gnome community: wiki.gnome.org/Projects/gtkmm/MSWindows With this instruction it is very convenient to install everything (including the dependencies, pkg-config itself and its files for gtkmm) - sever2715
    • I installed pkg-config manually. pacman is not in msys. Maybe there are some suggestions? - continue98
    • But after all, it is in MSYS2, and the installation of it is only the launch of the installer. Try this option, however, it assumes a smaller number of actions, especially manual ones, if not to count the pacman command input :) - sever2715
    • put, but zero sense. still does not find. - continue98