Pages

2008年5月6日 星期二

Gtk+-2.0 初步

OS:Ubuntu 8.04 Hardy Heron
IDE: Code::Blocks svn build rev 5020 with Gtk+-2.0
/etc/apt/sources.list 中加入以下網址:
# Code::Blocks
deb http://apt.wxwidgets.org/ gutsy-wx main
deb http://archive.ubuntu.com/ubuntu/ gutsy multiverse restricted universe main
deb http://lgp203.free.fr/ubuntu/ gutsy universe
linly-desktop:$ wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -
linly-desktop:$ wget -q http://lgp203.free.fr/public.key -O- | sudo apt-key add -
linly-desktop:$ sudo apt-get update
linly-desktop:$ sudo apt-get install libgtk2.0-dev
linly-desktop:$ sudo apt-get install codeblocks
準備工作完成後,接著開始我的第一支 Gtk+ 程式...
 
Blogger Templates