pkg-config can't find glibconfig.h but the file is in path
I started using GTK and i'm having problems with the compiler finding glibconfig.h i'm using Clion for programming, this is my Cmake file: cmake_minimum_required(VERSION 4.1) project(GTK C) set(CMAKE_C_STANDARD 11) add_executable(GTK main.c) include_directories(/usr/include/gtk-3.0) include_directories(/usr/lib64/glib-2.0/include) include_directories(/usr/include/glib-2.0) and when i run the program the compiler returns this error: /usr/include/glib-2.0/glib/gtypes.h:34:10: fatal error: glibconfig.h: No such file or directory 34 | #include <glibconfig.h> | ^~~~~~~~~~~~~~ compilation terminated
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.