您的位置:首页 > 运维架构 > Linux

Codeblocks 安装

2015-12-03 17:09 501 查看

Codeblocks 安装

CodeBlocks 安装方法参考:
http://www.centoscn.com/image-text/install/2014/0605/3085.html

CentOS6.5编译安装CodeBlocks13.12

时间:2014-06-05 01:03来源:blog.csdn.net 作者:lzq0101 举报 点击:1963次

在CentOS6.5上安装Codelocks的过程。

1.安装gcc,需要c和c++两部分,默认安装下,CentOS不安装编译器的,在终端输入以下命令即可

yum install gcc

yum install gcc-c++

2.安装gtk2-devel,因为默认已经安装了正式产品需要的支持库,但是没有安装开发所需要的文档.

yum install gtk2*

3. 安装wxGTK,下载地址http://pkgs.repoforge.org/wxGTK/,需要下面两个文件:

wxGTK-devel-2.8.12-1.el6.rf.x86_64.rpm

wxGTK-2.8.12-1.el6.rf.x86_64.rpm

使用rpm命令或者双击安装

4. 安装hunspell

yum install hunspell

yum install hunspell-devel

5. 安装gamin

yum install gamin

yum install gamin-devel

6. 安装gamin

yum install boost

yum install boost-devel

7. 编译并安装Code::Blocks

tar zxvf codeblocks_13.12-1.tar.gz

cd codeblocks-13.12

./configure --prefix=/usr --with-contrib-plugins=all

make

make install

8. 安装好后,在Application下会出现Programming菜单项,在这里可以启动codeblocks

9. 如果出现无法启动的情况,则:

编辑这个: /etc/ld.so.conf

最后添加: /usr/local/lib

然后运行: /sbin/ldconfig

10. 如果不出现调试的命令行窗口,则:

Settings ->

Environment ->

General settings ->

Terminal to launch console programs ->

gnome-terminal --disable-factory -t $TITLE -x

11. 取消系统F10菜单键

安装gconf-editor: yum install gconf-editor

打开gconf-editor: desktop/gnome/interface/menubar_accel清空
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Linux 安装Codeblocks