1.win10系统怎么安装pygtk
1.安装环境windows xp2.安装包版本和下载地址python-2.5.2.msi 或 python-2.5.2-stackless.msi/binaries/python-2.5.2-stackless.msi或/gtk-win/gtk2-runtime-2.12.1-2007-10-28-ash.exe?modtime=1197422568&big_mirror=0pygtk-2.12.1-1.win32-py2.5.exe/gtk-win/GTK-Runtime-Environment-2.2.4-3.exe),安装到D:/Program/GTK2/Runtime目录下。
2.然后下载GTK-Development-Environment(/gtk-win/GTK-Development-Environment-2.2.4-3.exe),安装到D:/Program/GTK2/DevEnv目录下。3.再下载DevCPP(/gtk-win/GTK-Runtime-Environment-2.2.4-3.exe),安装到D:/Program/GTK2/Runtime目录下。
2.然后下载GTK-Development-Environment(/gtk-win/GTK-Development-Environment-2.2.4-3.exe),安装到D:/Program/GTK2/DevEnv目录下。
3.再下载DevCPP(/sourceforge/gtk-win/GTK-Runtime-Environment-2.2.4.1.exe(运行时库,dll)
/sourceforge/gtk-win/GTK-Development-Environment-2.2.4.1.exe(开发包,头文件和lib库)
3. 开发包安装完成后,打开VC6,菜单-》工具-》选项-》目录选项卡,将开发包安装目录下所有包含.h文件的目录加入到include files下(子目录也要加进来)。然后将所有包含.lib文件的目录加入到library files里面。
4. 开发GTK程序时,在项目设置-》链接中,加入如下这些库glib-2.0.lib gtk-win32-2.0.lib gdk-win32-2.0.lib gobject-2.0.lib gdk_pixbuf-2.0.lib gthread-2.0.lib gmodule-2.0.lib pango-1.0.lib intl.lib
转载请注明出处windows之家 » win10下安装gtk库