Changes between Version 1 and Version 2 of DevEnvironment


Ignore:
Timestamp:
04/26/11 22:34:08 (3 years ago)
Author:
matija
Comment:

Second unfinished draft.

Legend:

Unmodified
Added
Removed
Modified
  • DevEnvironment

    v1 v2  
    1414 
    1515You need to install the following packages: 
    16 * `eclipse` will be your IDE, 
     16* `eclipse` will be your IDE, and one of its plugins we will install needs `libsvn-java` to work, 
    1717* `make`, `g++`, `python-dev`, `python-numpy`, `python-matplotlib` and `python-imaging` are needed to build and use the Orange scripting environment, and 
    1818* `python-qwt5-qt4` is needed in order for the Orange Canvas (GUI) to work. 
     
    2020This is the command to install all those packages in one shot: 
    2121{{{ 
    22 sudo apt-get install eclipse make g++ python-dev python-numpy python-matplotlib python-imaging python-qwt5-qt4 
     22sudo apt-get install eclipse libsvn-java make g++ python-dev python-numpy python-matplotlib python-imaging python-qwt5-qt4 
    2323}}} 
    2424 
     
    3030Choose --All Available Sites-- for the "Work with" option and install the following choices: Subclipse, PyDev and CDT Main Features. 
    3131 
     32=== Obtaining the Code === 
     33 
     34Switch to the SVN Repository Exploring perspective and add the following repository location: http://orange.biolab.si/svn/orange. Then browse into the `trunk` directory (or elsewhere, if you know what you're doing) and checkout `source`, `orange` and, optionally, `testing` (in this order). Use the "Check out as a project configured using the New Project Wizard" option for all projects and configure projects as follows. 
     35 
     36For `source`, select C/C++->C++ Project. Select Makefile project->Empty Project->Linux GCC for Project type and Toolchain. Later in this guide it will be assumed you used the directory name (ie. `source`) for project name. 
     37 
     38To accelerate the compilation process on a multi-processor or multi-core machine, you may instruct Eclipse to use parallel build (`-j` switch to the `make`): go to project properties for `source` project and under C/C++ Build->Behaviour check "Use parallel build". Manually enter a desired parallel jobs count; do NOT use "optimal jobs number": Eclipse likes to run all possible compilations at once and you'll probably run out of RAM. 
     39 
     40For both `orange` and `testing`, select Pydev->Pydev Project. Later in this guide it will be assumed you used the directory name for project name (ie. `orange` and `testing`). Uncheck the "Create default 'src' folder" checkbox. Configure the interpreter if Eclipse requests so; you may use the Auto Config button with default settings. Select `source` as a referenced project of `orange`, and `orange` of `testing`. 
     41 
     42=== Enabling Running and Debugging === 
     43 
     44TODO