- 1、本文档共7页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
1 如何在ubuntu下使用 codeblocks46
如何在ubuntu下使用 codeblocksInstalling Code::Blocks nightly build on Ubuntu
From CodeBlocks
Jump to:?navigation?,?search
This is a quick guide to get Code::Blocks up and running on your Ubuntu based Linux distribution. It is also going to make sure you can develop wxWidgets applications on your box as well. Look at the bottom of this guide for a complete command line that will install all the packages in one operation.
First be sure you have the necessary software to compile and debug programs.
1. Install the compiler.
sudo apt-get install build-essential
2. Install the debugger.
sudo apt-get install gdb
Youll need to install wxWidgets to use Codeblocks. Revisions prior to revision 4051 use wxWidgets 2.6 and revisions from 4051 and after use wxWidgets 2.8.4. If you want to install a revision prior to revision 4051, make sure you have your universe and multiverse?repositories enabled?and install the following packages.
3. Install wxWidgets library. (This package is all that is needed to run any application that uses wxWidgets. ie. Code::Blocks)
sudo apt-get install libwxgtk2.6-0
4. Install the wxWidgets developement packages. (This is used to develop wxWidgets applications of your own.)
sudo apt-get install libwxgtk2.6-dev wx2.6-headers wx-common
5.?(OPTIONAL)?Install the wxWidgets documentation.
sudo apt-get install wx2.6-doc
To install wxWidgets 2.8.4?you need to be using Ubuntu 6.10 (Edgy Eft) or Ubuntu 7.04 (Feisty Fawn) and you need to add the wxWidget repository to your sources.list.?You can install wxWidgets 2.8.4 on Ubuntu 6.06 (Dapper Drake), but the nightly builds are not made to run on Dapper.
1. Backup your current sources.list first for precaution.
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
2. Open your sources.list in a text editor to edit it.
gksudo gedit /etc/apt/sources.list
3. Add the correct repository for
您可能关注的文档
- 04书籍装帧-分类和特征42.ppt
- 04吉宝西格斯垃圾焚烧技术在中国的实践与应用35.pdf
- 04章中的沸点升高推导31.ppt
- 04中国金融租赁基本原理与实务操作(杨博钦 2012.5.26 北京 DW-YH-jrs)5.pdf
- 04统计试卷(已更正)3.pdf
- 042_加快制订汽车行业CAE分析标准5.pdf
- 04路基力学特性分析33.pdf
- 05 零件的基准和定位44.ppt
- 05-2月初三物理竞赛训练题1.doc
- 03预制板临时道路33.ppt
- 新高考生物二轮复习讲练测第6讲 遗传的分子基础(检测) (原卷版).docx
- 新高考生物二轮复习讲练测第12讲 生物与环境(检测)(原卷版).docx
- 新高考生物二轮复习讲练测第3讲 酶和ATP(检测)(原卷版).docx
- 新高考生物二轮复习讲练测第9讲 神经调节与体液调节(检测)(原卷版).docx
- 新高考生物二轮复习讲练测第11讲 植物生命活动的调节(讲练)(原卷版).docx
- 新高考生物二轮复习讲练测第8讲 生物的变异、育种与进化(检测)(原卷版).docx
- 新高考生物二轮复习讲练测第5讲 细胞的分裂、分化、衰老和死亡(讲练)(原卷版).docx
- 新高考生物二轮复习讲练测第5讲 细胞的分裂、分化、衰老和死亡(检测)(原卷版).docx
- 新高考生物二轮复习讲练测第12讲 生物与环境(讲练)(原卷版).docx
- 新高考生物二轮复习讲练测第11讲 植物生命活动的调节(检测)(原卷版).docx
文档评论(0)