SpherePackingScenarioGenerator
How to build the generator

Prerequisites

I assume you have Qt, version 4 (http://qt.nokia.com) and vtk (http://www.vtk.org) with qt-support installed.

In Ubuntu 10, that requires the following packages:

VTK:

QT:

Building the generator from the command line

Go to the root folder of Generator project and run scons target=sc-basic build=debug.

Move the libtarch.a from build/debug/sc-basic/g++/ to the folder of src (which decide by the command above)

Building the generator with Eclipse CDT

Basically perform the steps from Building the generator from the command line. When checking out the project in eclipse with the svn-plugin subclipse, choose as project type a "Makefile Project". Then generate the the Makefile as described below.

Specify in the "Project Properties" / "C/C++-Build" / "Builder Properties" the Makefile generated (in the build command:

To ease the regeneration of the Makefile, you can optionally install the qt eclipse integration plugin from http://qt.nokia.com/developer/eclipse-integration

QMake Links

Building the DummyGenerator

Along with the Scenario Generator comes a DummyGenerator, to demonstrate the concepts. To build it, type

Alternatively, specify a new build configuration in Eclipse.

Running the ScenarioGenerator with the DummyGenerator

Make sure, that the libraries of the DummyGenerator are located in the directory ./libs. Then just execute the ScenarioGenerator in the folder of ScenGen:

./ScenGen

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines