>> Edit article
이름
제목
패스워드
[root@localhost /root]# gcc helloworld.c In file included from /usr/include/gdk/gdktypes.h:33, from /usr/include/gdk/gdk.h:31, from /usr/include/gtk/gtk.h:31, from helloworld.c:1: /usr/include/glib.h:66: glibconfig.h: 그런 파일이나 디렉토리가 없음 helloworld.c:32: macro `GTK_OBJECT' used with too many (4) args [root@localhost /root]# gcc -Wall -g helloworld.c -o hello-world 'gtk-config --c flags' 'gtk-config --libs' gcc: gtk-config --cflags: 그런 파일이나 디렉토리가 없음 gcc: gtk-config --libs: 그런 파일이나 디렉토리가 없음 In file included from /usr/include/gdk/gdktypes.h:33, from /usr/include/gdk/gdk.h:31, from /usr/include/gtk/gtk.h:31, from helloworld.c:1: /usr/include/glib.h:66: glibconfig.h: 그런 파일이나 디렉토리가 없음 helloworld.c:32: macro `GTK_OBJECT' used with too many (4) args [root@localhost /root]# gcc -Wall -g helloworld.c -o hello-world 'gtk-config --cflags' 'gtk-config --libs' 'glib-config --cflags' 'glib-config --libs' gcc: gtk-config --cflags: 그런 파일이나 디렉토리가 없음 gcc: gtk-config --libs: 그런 파일이나 디렉토리가 없음 gcc: glib-config --cflags: 그런 파일이나 디렉토리가 없음 gcc: glib-config --libs: 그런 파일이나 디렉토리가 없음 In file included from /usr/include/gdk/gdktypes.h:33, from /usr/include/gdk/gdk.h:31, from /usr/include/gtk/gtk.h:31, from helloworld.c:1: /usr/include/glib.h:66: glibconfig.h: 그런 파일이나 디렉토리가 없음 helloworld.c:32: macro `GTK_OBJECT' used with too many (4) args [root@localhost /root]# gcc -Wall -g helloworld.c -o hello_world -L/usr/X11R6lib -lgtk -lgdk -lglib -lXext -lX11 -lm In file included from /usr/include/gdk/gdktypes.h:33, from /usr/include/gdk/gdk.h:31, from /usr/include/gtk/gtk.h:31, from helloworld.c:1: /usr/include/glib.h:66: glibconfig.h: 그런 파일이나 디렉토리가 없음 helloworld.c:32: macro `GTK_OBJECT' used with too many (4) args [root@localhost /root]# find /usr -name gtk-config*.* /usr/man/man1/gtk-config.1 [root@localhost /root]# find /usr -name glib-config*.* /usr/man/man1/glib-config.1.gz [root@localhost /root]# 음... 그리구, rpm -qa | grep gtk 해서 얻은 값(?)은요 gtk+-1.2.6-7az gtk+-devel-1.2.6-7az gtk-engines-0.10-3 pygtk-0.6.4-1 pygtk-libglade-0.6.4-1 rep-gtk-0.9.1-1az rep-gtk-libglade-0.9.1-1az 이구요. 알짜 6.2를 사용하거든요. gtk-config 라는 파일을 다른 곳에서 다운 받아야 하나요? 아시는 분 있으면 좀 가르쳐주세요.--아~ 또 밤샜당~ 그래도 재밌당. ^^
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved