青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

Thronds

一問(wèn)你會(huì)什么 二問(wèn)你做出過(guò)什么 三問(wèn)你為了什么

  C++博客 :: 首頁(yè) :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
  36 隨筆 :: 0 文章 :: 56 評(píng)論 :: 0 Trackbacks
     Code::Blocks是一個(gè)開(kāi)源的跨平臺(tái)的C/C++的IDE,和VC++系列的IDE非常類(lèi)似,這對(duì)于從windows下轉(zhuǎn)型到 Linux的用戶(hù)是一個(gè)非常不錯(cuò)的選擇。windows下早就安裝過(guò)了,體驗(yàn)之后非常不錯(cuò),雖然和vc不能相提并論,但是在linux下面能夠使用到這么 強(qiáng)大的IDE已經(jīng)非常了不起了。那么開(kāi)始把,本人的系統(tǒng)是ubuntu8.04,幾經(jīng)周折,終于成功完成。(來(lái)自csdn的xugang_2001)

    開(kāi)始到處google資料,最后嘗試N次之后才發(fā)現(xiàn),官方就有CB的安裝方法,具體鏈接在wiki上:

Installing Code::Blocks nightly build on Ubuntu


這個(gè)因?yàn)槭菄?guó)外網(wǎng)站打開(kāi)速度可能比較慢,我就替大家貼出來(lái)吧:

Installing 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

You'll 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

(注:上面2個(gè)步驟非常重要,缺了gtklib后面的deb包安裝就會(huì)失?。?/font>

5. (OPTIONAL) Install the wxWidgets documentation.

sudo apt-get install wx2.6-doc

(注:在下載wxWidgets系列庫(kù)的時(shí)候其實(shí)可以直接使用新立得軟件更新包管理器來(lái) 搜索wxWidgets字眼,然后從當(dāng)中的列表中選擇最新的庫(kù)來(lái)裝.直接選就可以省掉上面一對(duì)麻煩的命令,其實(shí)上面的幾個(gè)步驟無(wú)非就是完成libgtk庫(kù) 和wxWidgets相關(guān)庫(kù)的安裝,這在新利得上搜索wxWidgets很容易選擇。)
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 the Ubuntu version you are running to the end of the file. The repository listed below is referenced on the wxWidgets.org download page and appears to be for the stable version.

deb http://apt.tt-solutions.com/ubuntu/ edgy main

or

deb http://apt.tt-solutions.com/ubuntu/ feisty main

4. Save and close the file.

5. Add the key for tt-solutions.com.

sudo wget http://www.tt-solutions.com/vz/key.asc
sudo apt-key add key.asc

Alternate wxWidgets repository. Some users of Code::Blocks have received critical errors related to libwxgtk when using the above repository packages. They were able to solve their problems by installing newer packages available from an alternate repository from wxWidgets.org. To use these packages make the following changes to the above directions:

Add deb http://apt.wxwidgets.org/ edgy-wx main or deb http://apt.wxwidgets.org/ feisty-wx main to your sources.list.

Download the gpg key using wget http://apt.wxwidgets.org/key.asc and install the same as above.

6. Update your sources.list and run upgrade to make sure everything is up-to-date.

sudo apt-get update
sudo apt-get dist-upgrade

7. Now you're finally ready to install wxWidgets 2.8.4.

sudo apt-get install libwxgtk2.8-0 libwxgtk2.8-dev wx2.8-headers wx-common

8. Set wxWidgets 2.8 as default version for your machine. Select number for the wxgtk2.8 version.

sudo update-alternatives --config wx-config

Now go get the nightly build and install it. All dependencies should now be met.

1. Get the latest nigtly build of Code::Blocks from the nightly builds forum.

2. Install Code::Blocks.

sudo dpkg -i <Name_Of_Daily_Build.deb>

NOTE: Since revision 4281 and after, the nightly builds are made differently. Codeblocks is now packaged into separate Debian packages and the packages are archived together in a tar.gz file.

(編 者注:其實(shí)所謂的nightly build版本只是在version4281之前才有效,后來(lái)的的版本是不需要下載所謂的nightly&&deb版本,直接到官方網(wǎng)站下載deb包,里 頭有6個(gè)小包,直接使用后面的dpkg -i *.deb就可以了。這里頭千萬(wàn)別被nighlt弄混了,直接無(wú)視就是了。)

1. Download the tar.gz file to your computer and extract the files to an empty directory, such as one called temp for example.

tar xvf CB_date-of-build_revision-number_Ubuntu6.10+7.04_wx2.8.4.tar.gz

(編者注:這里只是解壓deb的命令,也可以直接在IDE上右鍵選擇“解壓縮到此處。。。”即可)

2. Install all the packages at the same time.

sudo dpkg -i *.deb
(注:大功告成的語(yǔ)句)

The packages can be installed individually, if you prefer not to install everything. The first package to install is libcodeblocks0 followed by the codeblocks package. All the other packages are optional. If you want to install the wxsmith and/or contrib packages, you must install the libwxsmithlib0 package first.




NOTE: Here is a complete command line for the above steps. Watch for word wrap. Replace wx2.6 with wx2.8 when needed.


(編者注:這里只是提供一個(gè)替換wx2.6到最新版(目前為止)2.8時(shí)的命令)

sudo apt-get install build-essential gdb libwxgtk2.6-0 libwxgtk2.6-dev wx2.6-headers wx2.6-doc wx-common


Without optional steps:

sudo apt-get install build-essential gdb libwxgtk2.6-0 libwxgtk2.6-dev wx2.6-headers wx-common

也許大家要問(wèn)了,如果是想自己用源碼從頭到尾進(jìn)行編譯怎么辦?我這里也有一個(gè)解決方案,
原理和步驟基本上和上文類(lèi)似,大家可以參考一下:

1. Linux平臺(tái)下編譯安裝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加入后,運(yùn)行l(wèi)dconfig

可以通過(guò)以下操作的輸出檢查安裝是否正確
wx-config --prefix
wx-config --libs
which wx-config

2.下載Code::Block
通過(guò)svn+http下載code::blocks
安裝subversion,在 .subversion/servers 文件的global段設(shè)置代理服務(wù)器
svn checkout http://svn.berlios.de/svnroot/repos/codeblocks/trunk

如果不需要設(shè)置代理服務(wù)器,則可以用
svn checkout svn://svn.berlios.de/codeblocks/trunk
直接下載代碼

3.編譯安裝Code::Block
直接運(yùn)行bootsrtap可能會(huì)遇到宏AM_PATH_WXCONFIG 沒(méi)定義等錯(cuò)誤

1) cp /usr/local/share/aclocal/wxwin.m4 /usr/share/aclocal/wxwin.m4
2)./bootstrap
./configure
make
make install

至此全部ok了 經(jīng)測(cè)驗(yàn)第一種方法完全可行,并且在我的Ubuntu8.04上順利啟動(dòng),哈哈,Ejoy it!

http://blog.csdn.net/xugang_2001/archive/2008/11/05/3230598.aspx
posted on 2009-01-11 16:56 thronds 閱讀(3289) 評(píng)論(6)  編輯 收藏 引用 所屬分類(lèi): C++技術(shù) 、Linux桌面技術(shù)

評(píng)論

# re: 轉(zhuǎn)載 ubuntu上關(guān)于Code::Blocks(8.02RC)的安裝全記錄 2010-07-09 09:52 MCCARTYDionne19
The custom research paper creating would not always be a kind of fun. The <a href="http://www.supremeessays.com/custom-term-paper-writing-service.html">custom term paper writing service</a> essays would cost a lot of time. Bright people will advice to <a href="http://www.supremeessays.com/buy-an-essay-online.html">buy an essay online</a>. I do opine that it is the most simple way.   回復(fù)  更多評(píng)論
  

# re: 轉(zhuǎn)載 ubuntu上關(guān)于Code::Blocks(8.02RC)的安裝全記錄 2010-07-09 10:22 university essay
Begin your research paper composing and do not get know how to finish it? You not have to be worried, simply buy custom term paper writing service Online and be sure that your essays papers online are written by distinguished writers.   回復(fù)  更多評(píng)論
  

# re: 轉(zhuǎn)載 ubuntu上關(guān)于Code::Blocks(8.02RC)的安裝全記錄 2010-08-08 00:15 humanities essays
Did not make up your mind whether to buy religion essays or to compose that your own? I could suggest to get term paper at the professional writing service, when you had no time.   回復(fù)  更多評(píng)論
  

# re: 轉(zhuǎn)載 ubuntu上關(guān)于Code::Blocks(8.02RC)的安裝全記錄 2010-08-23 22:13 essay writing services
Make composition alone, without relief assistance from others very difficult. And it is very necessary to prefer the decent priorities in life! We can support you prosper in publish essay writing services.  回復(fù)  更多評(píng)論
  

# essay. 2010-10-18 13:44 termpaper99@gmail.com
該網(wǎng)站是非常偉大,我想?yún)⒂^(guān)這里,因?yàn)樗鼉?nèi)容豐富,從這里我得到的信息  回復(fù)  更多評(píng)論
  

# re: 轉(zhuǎn)載 ubuntu上關(guān)于Code::Blocks(8.02RC)的安裝全記錄 2012-09-07 14:34 resume writing
The customers count on this resume service cause they are very responsible! This company performs buy resume to fit the precise area of science you wish.  回復(fù)  更多評(píng)論
  

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
      <noscript id="pjuwb"></noscript>
            <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
              <dd id="pjuwb"></dd>
              <abbr id="pjuwb"></abbr>
              欧美日韩午夜在线| 牛夜精品久久久久久久99黑人 | 久久综合九色欧美综合狠狠| 国产日韩欧美高清免费| 久久久成人精品| 亚洲国产精品电影| 亚洲一本视频| 国产亚洲一级高清| 欧美电影在线| 亚洲欧美日韩另类精品一区二区三区| 久久久五月天| 一本色道久久88综合日韩精品| 国产精品电影网站| 久久婷婷综合激情| 一本大道久久精品懂色aⅴ| 久久精品国产久精国产思思| 91久久线看在观草草青青| 国产精品久久午夜夜伦鲁鲁| 久久精品一本久久99精品| 亚洲免费观看视频| 玖玖玖国产精品| 亚洲天堂成人在线视频| 伊人精品在线| 欧美激情无毛| 亚洲欧美精品伊人久久| 一区二区三区我不卡| 欧美日韩一区二区欧美激情| 欧美专区亚洲专区| 在线综合亚洲欧美在线视频| 中日韩男男gay无套| 精品av久久707| 国产精品视频一二三| 欧美大尺度在线| 欧美一区二区视频在线| 99re这里只有精品6| 嫩草国产精品入口| 久久精品99无色码中文字幕 | 亚洲自拍偷拍视频| 亚洲激情在线视频| 国产亚洲精品综合一区91| 欧美日韩另类一区| 欧美成年人视频网站欧美| 久久大逼视频| 午夜在线a亚洲v天堂网2018| 日韩亚洲视频在线| 欧美激情精品久久久久久免费印度 | 国产精品视频网| 欧美精品日韩www.p站| 久久人人超碰| 久久久久久**毛片大全| 午夜精品久久久久久久99黑人| 日韩视频不卡| 亚洲精品免费在线播放| 欧美成黄导航| 猫咪成人在线观看| 麻豆成人精品| 老司机精品导航| 久久久久久久尹人综合网亚洲 | 欧美国内亚洲| 欧美影院视频| 亚洲午夜一二三区视频| 一本色道久久综合狠狠躁篇怎么玩| 亚洲电影免费观看高清完整版在线| 狠狠色噜噜狠狠色综合久 | 在线日韩欧美| 亚洲国产高清视频| 亚洲丰满少妇videoshd| 最新国产の精品合集bt伙计| 亚洲福利视频一区| 亚洲国产精品传媒在线观看| 亚洲国产va精品久久久不卡综合| 1000精品久久久久久久久| 亚洲国产91| 日韩视频第一页| 在线一区亚洲| 亚洲伊人网站| 欧美一区二区三区免费在线看| 午夜欧美大尺度福利影院在线看 | 亚洲精品久久久久久久久久久 | 榴莲视频成人在线观看| 麻豆精品精品国产自在97香蕉| 免费成人高清视频| 欧美精品三区| 国产精品乱人伦一区二区| 国产精品视频你懂的| 国内伊人久久久久久网站视频 | 亚洲人被黑人高潮完整版| 亚洲裸体在线观看| 亚洲男女毛片无遮挡| 久久精品视频在线免费观看| 欧美大胆a视频| 亚洲三级电影在线观看| 亚洲欧美另类在线观看| 久久婷婷成人综合色| 欧美精品日日鲁夜夜添| 国产精品三级视频| 亚洲缚视频在线观看| 国产精品99久久久久久久久| 久久都是精品| 亚洲国产精品黑人久久久| 亚洲视频观看| 久久一区免费| 国产精品黄色| 亚洲国产精品成人va在线观看| 亚洲一区国产视频| 鲁鲁狠狠狠7777一区二区| 日韩视频在线一区| 久久视频这里只有精品| 欧美午夜在线| 亚洲高清一区二区三区| 午夜精品久久久久久99热| 欧美成人国产| 午夜精品久久久久久久99樱桃| 免费亚洲一区二区| 国产日韩一区二区三区在线播放| 亚洲精品女人| 久久久久久久尹人综合网亚洲| 亚洲精品欧美激情| 亚洲日本激情| 欧美在线看片a免费观看| 欧美日韩一区综合| 亚洲高清不卡在线| 欧美在线一区二区| 日韩亚洲欧美一区二区三区| 美女精品在线| 国产日韩av高清| 亚洲网站啪啪| 亚洲激情视频在线观看| 久久精品国产精品亚洲| 国产精品色在线| 国产精品99久久久久久宅男 | 久久精品亚洲一区二区三区浴池| 欧美视频在线一区二区三区| 91久久精品久久国产性色也91| 久久久久久国产精品一区| 亚洲天堂偷拍| 欧美日韩一区免费| 99精品免费视频| 欧美激情综合色| 久久久久国产成人精品亚洲午夜| 国产精品自拍视频| 午夜精品在线观看| 一区二区高清在线观看| 欧美精品日韩三级| 日韩视频在线观看国产| 亚洲高清123| 美腿丝袜亚洲色图| 亚洲国产精品悠悠久久琪琪| 久热精品视频在线观看一区| 久久国产精彩视频| 国内精品伊人久久久久av一坑| 永久555www成人免费| 久久久久久久精| 欧美在线视频在线播放完整版免费观看| 国产精品久久久久久久久久直播| 亚洲午夜性刺激影院| 一区二区三区你懂的| 欧美午夜精品久久久| 亚洲自拍偷拍视频| 亚洲欧美成人一区二区三区| 国产精品久久毛片a| 欧美一级精品大片| 欧美在线黄色| 在线高清一区| 亚洲国产福利在线| 欧美精品久久99| 亚洲天堂成人| 亚洲一区二区三区免费观看| 国产午夜精品美女毛片视频| 久久综合给合久久狠狠狠97色69| 久久天天狠狠| 99国产一区| 亚洲综合国产激情另类一区| 国产字幕视频一区二区| 欧美a一区二区| 欧美精品aa| 欧美一区二区三区视频免费| 欧美淫片网站| 91久久精品视频| 一区二区三区黄色| 国产一区二区三区在线观看免费视频| 久久久青草青青国产亚洲免观| 久久这里有精品视频| 99re亚洲国产精品| 亚洲欧美另类久久久精品2019| 狠狠色综合播放一区二区| 亚洲国产精品久久精品怡红院| 欧美特黄一级| 久久婷婷影院| 欧美精品色综合| 欧美一区二区精品久久911| 久久野战av| 亚洲一区久久| 久久久在线视频| 亚洲一区久久| 另类av一区二区| 亚洲欧美在线免费| 免费在线日韩av| 欧美一区二区免费视频| 欧美二区不卡|