Help With CMake For Gtk3 with cpluscplus

Hello Everyone :wave:

So How I Can Setup Gtk3 With CMake For C++ Project

find_package(PkgConfig REQUIRED)     pkg_check_modules(GTK3 REQUIRED gtk+-3.0)

Same Error Like That

CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:41 (find_package_handle_standard_args)
  CMakeLists.txt:62 (find_package)

Which OS? Most likely you only have to install the pkg-config program

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.