CentOS6.4 安装 codeblocks-12.11

FROM: http://blog.csdn.net/theegao/article/details/8750239

一、下载 

1.   codeblocks-12.11-1.el6.x86_64.tar.bz2

地址:http://www.codeblocks.org/downloads/26

 2.   wxWidgets-2.8.12.tar.gz

地址:http://sourceforge.net/projects/wxwindows/files/2.8.12/


二、解压wxWidgets 

tar -zxvf wxWidgets-2.8.12.tar.gz

在/home/username/下新建一个文件夹,名为libs

username是你的登录用户名

使用root登陆,直接在root下新建libs文件夹


三、然后进入解压缩后的文件夹

先确保使用root用户安装

./configure --prefix=${HOME}/libs --enable-xrc --enable-monolithic --enable-unicode && make && make install

root目录下

./configure --prefix=/root/libs --enable-xrc --enable-monolithic --enable-unicode && make && make install



四、安装codeblocks

用root用户安装一下安装包

codeblocks-12.11-1.el6.x86_64.rpm

codeblocks-contrib-12.11-1.el6.x86_64.rpm
codeblocks-contrib-devel-12.11-1.el6.x86_64.rpm

codeblocks-devel-12.11-1.el6.x86_64.rpm

命令:

rpm -ivh *.rpm

安装这些需要一些库的支持

libc.so.6(GLIBC_2.14)(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libm.so.6(GLIBC_2.15)(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libstdc++.so.6(GLIBCXX_3.4.15)(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_baseu-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_baseu-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_baseu-2.8.so.0(WXU_2.8.2)(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_baseu_net-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_baseu_net-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_baseu_xml-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_baseu_xml-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_gtk2u_adv-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_gtk2u_adv-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_gtk2u_aui-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_gtk2u_aui-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_gtk2u_aui-2.8.so.0(WXU_2.8.5)(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_gtk2u_core-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_gtk2u_core-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_gtk2u_core-2.8.so.0(WXU_2.8.5)(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_gtk2u_html-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_gtk2u_html-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_gtk2u_qa-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_gtk2u_richtext-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_gtk2u_xrc-2.8.so.0()(64bit) is needed by codeblocks-12.11-1.el16.x86_64
libwx_gtk2u_xrc-2.8.so.0(WXU_2.8)(64bit) is needed by codeblocks-12.11-1.el16.x86_64
wxGTK >= 2.8.0 is needed by codeblocks-12.11-1.el16.x86_64

这些可以通过yum install ..安装

install ok;

CodeBlocks汉化 用root用户
下载CodeBlocks的中文补丁
1. cd /usr/share/codeblocks
2. mkdir local
3. cd local
4. cp -R /home/zhao/zh_CN/ .
5.  chmod -R 777 /usr/share/codeblocks/locale/zh_CN/

 

转载于:https://www.cnblogs.com/wmx3ng/p/3264964.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值