首先是CB的安装,本来想自己编译一下最新的版本...但是貌似不明原因地挂了...编译完后无法启动....悲剧..然后就上网找了找,发现了官方论坛里的和我的问题一样的..先记下来,回来有时间再试~
GETTING UBUNTU BINARIES
i) enter 'sudo gedit /etc/apt/sources.list' (without the quotes) and when in editor
add lines
deb http://apt.jenslody.de/ any main
deb-src http://apt.jenslody.de/ any main
deb http://apt.wxwidgets.org/ etch-wx main
at the end of /etc/apt/sources.list
OR
select Software Sources from the GUI Administration menu, select Third Party Software
and add the three lines above
ii) enter 'apt-get install jens-lody-debian-keyring' from terminal
iii) enter 'wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -' from
terminal
iv) use apt-get update and apt-get install codeblocks OR use update and install
via Synaptic manager
BUILDING FROM SOURCE
One-time preparation:
- install libtools via synaptic
- install autoconf and automake via synaptic
i) enter svn://svn.berlios.de/codeblocks/trunk from commandline
ii) install libwxgtk2.8-dev and wx-common via synaptic
iii) install sudo apt-get install libgtk2.0-dev from terminal
iv) issue the following from the command line in the trunk directory
./bootstrap
./configure --enable-contrib
make
sudo make install
通过这个贴还找到了一个非官方的更新地方~ http://apt.jenslody.de/~
然后呢,又找到了些小Tips,先记下来:
Ubuntu+CodeBlocks里面设置使用的终端,默认是xterm,显示中文非常扯淡。。查了查资料换成了Gnome-Terminal,舒服多了~~~
Settings->Environment->"Terminal to launch console programs" = "gnome-terminal --geometry 80x20+100+100 --hide-menubar -t $TITLE -x"(不包含引号)。

应该是未完待续...
浙公网安备 33010602011771号