LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 735|回复: 1

请教Gnome/GTK+ 编程

[复制链接]
发表于 2005-1-11 14:00:56 | 显示全部楼层 |阅读模式
小弟乃菜鸟
  正在看一本Gnome/GTK+编程宝典的编程书,有例子,不过好象我的编程环境还没有设置好.
请教大侠帮忙 ,谢谢先.
小弟系统为debian
非常感谢
liaosk@debian:~/gnomebible/examples/chap01$ make
gcc -Wall -g `gnome-config --cflags gnomeui`   -c -o gshow.o gshow.c
/bin/sh: gnome-config: command not found
gshow.c:2:19: gnome.h: 没有那个文件或目录
gshow.c: In function `main':
gshow.c:6: warning: implicit declaration of function `g_print'
gshow.c:6: error: `gchar' undeclared (first use in this function)
gshow.c:6: error: (Each undeclared identifier is reported only once
gshow.c:6: error: for each function it appears in.)
gshow.c:7: error: `guchar' undeclared (first use in this function)
gshow.c:8: error: `gint8' undeclared (first use in this function)
gshow.c:9: error: `guint8' undeclared (first use in this function)
gshow.c:10: error: `gshort' undeclared (first use in this function)
gshow.c:11: error: `gushort' undeclared (first use in this function)
gshow.c:12: error: `gint16' undeclared (first use in this function)
gshow.c:13: error: `guint16' undeclared (first use in this function)
gshow.c:14: error: `gint' undeclared (first use in this function)
gshow.c:15: error: `guint' undeclared (first use in this function)
gshow.c:16: error: `gint32' undeclared (first use in this function)
gshow.c:17: error: `guint32' undeclared (first use in this function)
gshow.c:18: error: `glong' undeclared (first use in this function)
发表于 2005-1-11 15:51:12 | 显示全部楼层
makefile的内容是什么呀?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表