CodeBlocks

Code::Blocks runs on the Pi, although a little slow. This is the home page that has a link to their wiki and forum.

Code:Blocks is installed on Raspian using . This also installs codeblocks-common and codeblocks-contrib, which gives several libraries and compilers and some plugins (see below). The version is a little behind the current release.

Features
The following features and capabilities are available in Code::Blocks if installed as above.

Compilers
The following compliers can be selected:


 * GNU GCC Compiler (use this compiler)
 * Intel C/C++ Compiler
 * SDCC Compiler
 * Tiny C Compiler
 * GDC D Compiler
 * Digital Mars D Compiler
 * GNU ARM GCC Compiler (do not use for Raspberry Pi programs)
 * GNU AVR GCC Compiler
 * GNU GCC Compiler for PowerPC
 * GNU GCC Compiler for TriCore

Plugins
The following plugins are installed using the commands above. They are read from /usr/lib/codeblocks/plugins:


 * AStylePlugin
 * Autosave
 * AutoVersioning
 * BrowseTracker
 * BYOGames
 * CB_Koders (Koders query)
 * cbDragScroll (DragScroll)
 * cbKeyBinder (Keyboard Shortcuts)
 * Cccc
 * ClassWizard
 * CodeCompletion
 * CodeSnippets
 * CodeStat
 * Compiler
 * copystrings
 * CppCheck
 * Debugger
 * EnvVars
 * Exporter (Source Exporter)
 * FilesExtensionHandler
 * HeaderFixup
 * HelpPlugin
 * HexEditor
 * IncrementalSearch
 * lib_finder
 * MouseSap
 * OpenFilesList
 * Profiler (CodeProfiler)
 * ProjectsImporter
 * RegExTestbed
 * ScriptedWizard
 * SymTab
 * ThreadSearch
 * ToDoList
 * Valgrind
 * wxSmith
 * wxSmithAui
 * wxSmithContribItems
 * wxSmithMime

Languages
The following languages are syntax checked, using the lexers in /usr/share/codeblocks/lexers/...


 * gm
 * squirrel
 * cg
 * ada
 * matlab
 * pascal
 * masm
 * make
 * css
 * sql
 * f77
 * ruby
 * rc
 * diff
 * xml
 * bash
 * glsl
 * properties
 * vhdl
 * html
 * perl
 * batch
 * postscript
 * nsis
 * nassi
 * angelscript
 * vbscript
 * lisp
 * python
 * verilog
 * OgreCompositor
 * OgreMaterial
 * latex
 * fortran
 * prg
 * haskell
 * d
 * cpp
 * lua
 * smalltalk
 * caml
 * hitasm

GTK+ projects
To use the GTK+ libraries for graphical windowed layouts requires the following settings.
 * From the menu, Settings, Compiler and debugger settings, Other Settings, Compiler logging - set to Full command line. In the Build log, this shows the full commpiler and linker commands used, so that they can be verified.
 * From the menu, Project, Build options, Compiler settings, Other options - add " `pkg-config --cflags gtk+-3.0` " (using backticks, not apostrophies)
 * From the menu, Project, Build options, Linker settings, Other linker options - add " `pkg-config --libs gtk+-3.0` " (using backticks, not apostrophies)

Follow the standard conventions for writing the code.