Install¶
How to build NGM¶
Required software:
build-essentials (gcc, ...)
cmake
zlib (Ubuntu: zlib1g-dev)
AMD-APP SDK (required for normal mapping GPU/CPU)
cudatoolkit (required for bs-mapping)
Build MASon:
wget http://www.cibiv.at/software/ngm/mason/download/mason-src-08_31_2012.tar.gz
tar xfvz mason-src-08_31_2012.tar.gz
cd mason-trunk
mkdir -p build/release
cd build/release/
cmake -DCMAKE_BUILD_TYPE=Release ../..
make
make install (root required)
If you don't have root permissions, please add the path to the MASon libs to yout LD_LIBRARY_PATH:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`
After building you find the compiled libraries in the "mason-trunk/bin" folder.
Build NGM:
wget http://www.cibiv.at/software/ngm/NGM/download/ngm-src-08_30_2012.tar.gz
tar xvfz ngm-src-08_30_2012.tar.gz
cd ngm-trunk
mkdir -p build/release
cd build/release/
cmake -DCMAKE_BUILD_TYPE=Release ../..
make
cd ../../bin
./NGM
Notes¶
NGM was tested on openSUSE 11.4 (x86_64) with GCC 4.3.4. and on Ubuntu 12.04 (x86_64) with GCC 4.6.3
|