Code Blocks Installation

  • Uploaded by: Lesta Yang
  • 0
  • 0
  • October 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Code Blocks Installation as PDF for free.

More details

  • Words: 291
  • Pages: 3
step by step wxWidgets 安裝 in Ubuntu May 2nd, 2008

(備份文章) 昨天一直不能 compile 出現找不到 wx/string 的問題 其實我想應該是在/usr/include 和/usr/local/include 裡做點軟連結就好了 不過好懶得手動啊 喜歡自動化的東西 所以進 synaptic 裡查 wxwidgets,把所有出現的都砍了… 重裝總可以了吧~”~ 安裝一般寫 C 會用到的東西

sudo apt-get -y install build-essential (裝 compiler) sudo apt-get -y install gdb (裝 debugger) 再裝 Code::Blocks nightly build on Ubuntu

gksudo gedit /etc/apt/sources.list 加入

#最新 nightly 的 CB deb http://lgp203.free.fr/ubuntu/ gutsy universe deb http://lgp203.free.fr/ubuntu/ hardy universe 下載 public key

wget -q http://lgp203.free.fr/public.key -O- | sudo apt-key add sudo apt-get update sudo apt-get dist-upgrade 裝 codeblocks

sudo apt-get -y install codeblocks codeblocks-contrib codeblocks-dbg libcodeblocks0 裝 wxsmith

sudo apt-get -y install libwxsmithlib0 安裝最新版 wxWidgets

gksudo gedit /etc/apt/sources.list 加入

#安裝最新版 wxWidgets | wxGTK deb http://apt.wxwidgets.org/ gutsy-wx main deb-src http://apt.wxwidgets.org/ gutsy-wx main 下載 key

curl http://apt.wxwidgets.org/key.asc | sudo apt-key add sudo apt-get update

sudo apt-get dist-upgrade 安裝 wxgtk

sudo apt-get install libwxgtk2.6-0 libwxgtk2.6-dev wx2.6-headers wx-common wx2.6-doc (doc 文件不一定要裝) sudo update-alternatives –config wx-config |用來選預設要用哪個| 裝 wxFormBuilder

gksudo gedit /etc/apt/sources.list 加入

#裝 wxformbuilderf3.0 deb http://ppa.launchpad.net/rjmyst3/ubuntu hardy main deb-src http://ppa.launchpad.net/rjmyst3/ubuntu hardy main sudo apt-get update sudo apt-get -y install wxformbuilder 通通加起來如下 sudo gedit /etc/apt/sources.list

#最新 nightly 的 CB deb http://lgp203.free.fr/ubuntu/ hardy universe #安裝最新版 wxWidgets | wxGTK deb http://www.wxwidgets.org/ gutsy-wx main deb-src http://www.wxwidgets.org/ gutsy-wx main #裝 wxformbuilderf3.0 deb http://ppa.launchpad.net/rjmyst3/ubuntu hardy main deb-src http://ppa.launchpad.net/rjmyst3/ubuntu hardy main wget wget sudo sudo sudo sudo sudo sudo sudo sudo

-q http://lgp203.free.fr/public.key -O- | sudo apt-key add -q http://www.wxwidgets.org/key.asc | sudo apt-key add apt-get update apt-get dist-upgrade apt-get -y install build-essential apt-get -y install gdb apt-get -y install libcodeblocks0 codeblocks codeblocks-contrib libwxsmithlib0 apt-get -y install libwxgtk2.6-0 libwxgtk2.6-dev wx2.6-headers wx-common wx2.6-doc apt-get -y install wxformbuilder update-alternatives --config wx-config |用來選預設要用哪個|

理論上這樣就好了 但是 wxformbuilder 因為沒有 key 所以不能下載和更新的樣子 (之前還可以的 ~”~) 所以就隨便裝了一個 deb 檔來用 wxformbuilder_3.0.56-0ubuntu1dapper1_i386.deb 無所謂,能用就好了

sudo apt-get –force-yes install wxformbuilder (強制裝) …順便就把 wxfb-wxadditions 給裝了,深怕哪天也忽然不能用

sudo apt-get -y install wxfb-wxadditions

Related Documents

Code Blocks Installation
October 2019 16
Blocks
August 2019 36
Baby Blocks
May 2020 11
Intimacy Blocks
May 2020 16

More Documents from ""

May 2020 11
Individual Tray
May 2020 21
Code Blocks Installation
October 2019 16
Survey And Design
May 2020 9
October 2019 12