122 Using the Code Blocks IDE
Installation
On a Ubuntu Linux machine the Code::Blocks IDE can be installed using the Ubuntu Software Centre
Build a workspace under Linux using the Code::Blocks IDE
- In a terminal type
Since this is a workspace with projects that require translation using Xcpp you must type:cd ~/developer/build_linuxx86/build Xcpp Object.xcpp mode=genmake dtranslate - Run the Code::Blocks IDE
- In the IDE open the workspace file : ~/developer/build_linuxx86/build/Object.workspace
- Right click on a project (e.g. exObject) and activate it
- Click on the 'Build' icon, then the 'Run' icon.
Note that the IDE supports both release and debug configurations for projects that don't use Xcpp. However for projects that use Xcpp the IDE is only referencing the translated debug versions, so it's no good editing those in the IDE. You will need to edit the source files in some other editor (using Visual Studio under Windows is recommended), and you need to run 'make dtranslate' in a terminal each time before rebuilding in the Code::Blocks IDE.