In the case of networking, enter the following command in Ubuntu12.04 to install the SDK. 1. Install the basic compilation environment $ sudoapt-getinstallbuild-essential $ sudoapt-getinstallgdb2. Install codeblock $ sudoapt-getinstallcodeblocks-dbg
In the case of networking, enter the following command in Ubuntu 12.04 to install.
1. Install the basic compiling environment
$ Sudo apt-get install build-essential
$ Sudo apt-get install gdb
2. Install codeblock
$ Sudo apt-get install codeblocks
$ Sudo apt-get install codeblocks-dbg
$ Sudo apt-get install wxformbuilder
($ Sudo apt-get install contrib, as explained by the author in the original article, this is to install wxSmith. If it is not installed, wxfb is used .)
You can also search for the codeblock keyword in the Ubuntu Software Center to find the codeblock for installation.
I installed codeblocks-dbg in the software center, but I still don't know what to do with it. First installed.
3. Install wxWidgets
$ Sudo apt-get install libwxbase2.8
$ Sudo apt-get install libwxbase2.8-dev
$ Sudo apt-get install libwxgtk2.8-0
$ Sudo apt-get install libwxgtk2.8-dev
$ Sudo apt-get install libwxgtk2.8-dbg
$ Sudo apt-get install wx-common
$ Sudo apt-get install wx2.8-headers
$ Sudo apt-get install wx2.8-i18n
($ Sudo apt-get install wx2.8-examples
$ Sudo apt-get install wx2.8-doc
The above two documents are optional)
4. After installation, open Code: Blocks to use it directly.
I didn't set the compiler path. I just chose GCC as the compiler. I can still find some header files that I need to use when using # include. In the first reference article at the end, you need to configure the basic compiling and running environment. Otherwise, the project compilation fails. As long as the study in front of the door still does not use engineering documents, there is no configuration.
5. For other settings of Code: Blocks, see.
CodeBlock Development Environment configuration in UbuntuHttp://www.linuxidc.com/Linux/2012-10/73117.htm
6 *. Problems Encountered during installation:
Code: blocks there is an article on the official website: Instal Code: Blocks nightly build on ubuntu.
When the installation prompt "get the latest nightly build" is displayed, a link is provided to install the nightly build. As a result, no linux version is found for many versions found in that link, all of which are windows versions. Then I noticed that there was still a build named "nightly" in the title, so I checked out what this build was.
Nightly build:
Daily Build (also called Daily Build) is to extract all the latest code of a software project, compile from scratch, link, run the test software package to perform unit tests on the Code and test the main functions. This completes the process of discovering and reporting errors. It is usually completed automatically by the tool. Daily build is a best practice for continuous integration, which requires building software at least once a day. For many large projects, it may take up to a few hours to build each time. Building during the day may consume too much computer resources and may affect development, therefore, the daily construction of many large projects is carried out when no one works at night or there are few people. The premise is that the staff check in the latest code to the configuration library. Therefore, you can call the daily build as the nightly build. Then, analyze the build log at work the next day, locate the error and mail it to the module owner, and urge the solution (if this step can be completed automatically, it will be more perfect ). According to the above explanation, it is appropriate to translate daily build into "daily build. However, another important function of daily build is to verify whether the relationship between modules in the software is correct, also known as "daily integration ".
This build is not available now.
Code: Blocks: Click here
Code: Blocks: Click here
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2