ÇóÖú £¡ GTKÓ¦ÓóÌÐò¿ª·¢
·¢²¼Ê±¼ä:2006-11-18 15:02:31À´Ô´:ºìÁª×÷Õß:jasonshengxi
ÇëÎÊÒ»¸ö¼òµ¥gtkÓ¦ÓóÌÐò£º
ÎÒ Óã£include Í·Îļþ°üº¬ºóµÄÎļþ ÔÚgccÖбàÒë·¢ÏÖ£ºÌáʾgtk/gtk.hûÓÐÕâ¸öĿ¼
ÓÚÊÇÎÒ¼ì²é·¢ÏÖgtk.hÔÚÎÒ¸ùĿ¼ÏµÄÎļþ·¾¶Îª£º/usr/include/gtk-2.0/gtk/gtk.h ËùÒÔÎÒÖØÐÂÐ޸İüº¬
ÃüÁî#include,µ«ÊDZàÒ뻹ÊÇÓдíÎ󣬷¢ÏÖÊÇgtk.hÎļþÖеİüº¬Í·Îļþ·¾¶²»´æÔÚ¡£
ÇëÎÊÓ¦¸ÃÔõÑù°üº¬£¬Ð»Ð»¡£ ÎÒÊÇÓõÄfedora 5
Linux85fan ÓÚ 2007-07-22 21:54:16·¢±í:
ÎÒÒ²Óöµ½Í¬ÑùÎÊÌâ!ͬÃüÏàÁ¬°¡.
58.217.132.* ÓÚ 2006-11-20 00:20:34·¢±í:
gcc -o filename filename.c `pkg-config --cflags --libs gtk+-2.0`