GTK在DEVcpp下的安装步骤

1,先安装DEVCPP
2,再安装gtk
3,打开DEVCPP--工具---编译选项
分别把”编译器“和”链接器“两个文件里面的内容加入到“编译选项“里去

 

 

 

编译器:-mms-bitfields -IC:/gtk/include/gtk-2.0 -IC:/gtk/lib/gtk-2.0/include -IC:/gtk/include/atk-1.0 -IC:/gtk/include/cairo -IC:/gtk/include/pango-1.0 -IC:/gtk/include/glib-2.0 -IC:/gtk/lib/glib-2.0/include -IC:/gtk/include/freetype2 -IC:/gtk/include -IC:/gtk/include/libpng12

 

 

链接器:-LC:/gtk/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl

你可能感兴趣的:(工具,编译器,gtk)