Build lib & build sample

Download:

ege use some tools to manage source and build it:

need google repo:

see: http://source.android.com/source/downloading.html#installing-repo

On all platform:

1 mkdir ~/.bin
2 PATH=~/.bin:$PATH
3 curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
4 chmod a+x ~/.bin/repo

On ubuntu

1 sudo apt-get install repo

On archlinux

1 sudo pacman -S repo

lutin (build-system):

1 pip install lutin --user
2 # optionnal dependency of lutin (manage image changing size for application release)
3 pip install pillow --user

dependency:

1 mkdir -p WORKING_DIRECTORY/framework
2 cd WORKING_DIRECTORY/framework
3 repo init -u git://github.com/atria-soft/manifest.git
4 repo sync -j8
5 cd ../..

sources:

They are already download in the repo manifest in:

1 cd WORKING_DIRECTORY/framework/atria-soft/ege

Build:

library:

1 lutin -mdebug ege

Sample:

1 lutin -mdebug ege-sample-double-view
2 lutin -mdebug ege-sample-raytracing
3 lutin -mdebug ege-sample-collision
4 lutin -mdebug ege-sample-camera-position
5 lutin -mdebug ege-sample-mesh-creator

Run sample:

1 lutin -mdebug ege-sample-double-view?run
2 lutin -mdebug ege-sample-raytracing?run
3 lutin -mdebug ege-sample-collision?run
4 lutin -mdebug ege-sample-camera-position?run
5 lutin -mdebug ege-sample-mesh-creator?run