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

  1. In a terminal type
    
    cd ~/developer/build_linuxx86/build
    Xcpp Object.xcpp mode=gen
    
    Since this is a workspace with projects that require translation using Xcpp you must type:
    
    make dtranslate
    
  2. Run the Code::Blocks IDE
  3. In the IDE open the workspace file : ~/developer/build_linuxx86/build/Object.workspace
  4. Right click on a project (e.g. exObject) and activate it
  5. 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.