文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>在Debian上安装Code::Blocks

在Debian上安装Code::Blocks

时间:2007-04-02  来源:linxh

1. 准备工作

1) aptitide install libtool autoconf automake zip

2) 从http://www.wxwidgets.org/下载wxGTK

3) 下载Code::Blocks
svn checkout svn://svn.berlios.de/codeblocks/trunk
或下载打包后的文件

2. 编译安装wxGTK(以wxGTK-2.6.2 为例)

下载wxGTK-2.6.2.tar.gz(http://www.wxwidgets.org/
tar zxvf wxGTK-2.6.2.tar.gz
cd wxGTK-2.6.2
./configure --enable-xrc --enable-monolithic --enable-unicode
make
make install

vi /etc/ld.so.conf
将/usr/local/lib加入后,运行ldconfig

可以通过以下操作的输出检查安装是否正确
wx-config --prefix
wx-config --libs
which wx-config

3.编译安装Code::Block

cd trunk

1)find . -type f -and -not -name "*.cpp" -and -not -name "*.h" -and -not -name "*.png" -and -not -name "*.bmp" | sed "s/.*/\"\\0\"/" | xargs dos2unix
chmod +x bootstrap

2)在aclocal.m4的末尾加上
m4_include([/usr/share/aclocal/libtool.m4])

3)export ACLOCAL_FLAGS="--acdir=`wx-config --prefix`/share/aclocal"

echo `wx-config --prefix`/share/aclocal >> /usr/share/aclocal/dirlist

运行aclocal更新

4)./bootstrap
./configure
make
make install

安装过程参考http://bbs.linuxsir.org/showthread.php?t=248092

相关阅读 更多 +
排行榜 更多 +
爱变幻智能清理

爱变幻智能清理

游戏工具 下载
MIYI泊松足球

MIYI泊松足球

浏览阅读 下载
Edius剪视频

Edius剪视频

图像拍照 下载