我有一些不能编译的C代码。Mac OS X上的pkg-config glib-2.0错误
错误消息,当我运行“make”是:
gcc -Wall -Wno-pointer-sign -g `pkg-config --cflags glib-2.0 gconf-2.0`
\ -c main.c Package glib-2.0 was not found in the pkg-config search
path. Perhaps you should add the directory containing `glib-2.0.pc' to
the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found
做上使用Mac找到我看不到任何巧舌如簧-2.0文件,所以我不知道如果我有一个快速搜索安装它。而且,如果是这样,那么最好的方法是什么?
我去登录页面,回来了,答案的顺序改变了,我提出了错误的一个。抱歉。我投赞成票。 – telliott99
这本身并不适合我。我知道现在已经有5年了 - 但这是谷歌搜索的结果。我还必须在./configure行使用--with-internal-glib标志。 – AlexK