I recently downloaded the gtk + all-in-one package downloaded from the GTK + website , which works great and allows me to create gtk + applications on Windows using the MinGW compiler.
However, when we look at the * .pc files for pkg-config in lib / pkgconfig, I noticed something strange. Here's what the beginning of glib-2.0 looks like:
prefix=c:/devel/target/059c48de6b739307c37648aba3005b29
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
My gtk + folder is on a different drive than C: \, and I donβt have a C: \ devel folder at all. So what does this prefix mean? What prefix would I use if I decided to write a * .pc file to easily link my own application?
Surprisingly, using pkg-config works as expected and returns the correct library and header path inside the gtk + folder.
smf68 source
share