Skip to main content.
  1. Compiling NgPlant from source code (Ubuntu Gutsy/Hardy)
    1. Install dependencies
    2. Get source code
    3. Compile
    4. Execute

Compiling NgPlant from source code (Ubuntu Gutsy/Hardy)

Start by installing development environment:

sudo apt-get install build-essential

sudo apt-get install scons

top

Install dependencies

sudo apt-get install libwxgtk2.8-dev

sudo apt-get install libglu1-mesa-dev

Optional (if you want Python API)

sudo apt-get install python-dev

Optional (if you want to use system version of libglew)

sudo apt-get install libglew1.4-dev

Optional (if you want to compile NgpView):

sudo apt-get install freeglut3-dev

top

Get source code

Download .tar.gz file from NgPlant's homepage:

http://ngplant.sourceforge.net/

Extract it and move to the newly created directory:

tar -zxvf ngplant_version_number.tar.gz

cd ngplant_version_number

top

Compile

scons

top

Execute

ngplant/ngplant