I am somewhat new to both Linux and C programming. My goal is to set up an environment to program GTK+ GUIs. I am programming on Linux Mint using CLion. I am able to locate the GTK (2 and 3 header) files in the expected place. According to the internet, everything is in order wrt the return value of pkg-config --cflags gtk+-2.0
However, I cannot find the object or .c files for GTK. Everything is compiling but I am getting linking errors, which is what made me look for the files in the first place.
My question is- does Debian and its derivatives come with GTK already installed and are those binaries accessible for programmers such as myself writing new applications ? Are we supposed to use them and not install GTK? Or do I have to install GTK from the GTK site and use those ?
Is there some reason I only have .h files? Is it normal? Or is my machine in an aberrant state?