The code repository for the Affordance++ master thesis
-
opening up a virtual env for python (3.4) virtualenv -p /usr/bin/python3.4 <path/to/new/virtualenv/>
-
pip install -r requirements.txt
-
git clone https://github.com/rpavlik/vrpn.git make the main C library (cmake, make)
-
ccmake with te follwoing command: ccmake ../ -DPYTHON_LIBRARIES=/Library/Frameworks/Python.framework/Versions/3.4/lib/libpython3.4m.dylib -DPYTHON_INCLUDE_PATH=/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -DPYTHON_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4m -DPYTHON_INCLUDE_DIR=/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m or ccmake ../ -DPYTHON_LIBRARIES=/Library/Frameworks/Python.framework/Versions/3.4/lib/libpython3.4m.dylib -DPYTHON_INCLUDE_PATH=/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -DPYTHON_INCLUDE_DIR=/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m
and then make
-
cd into ../python and edit GNUMakefile and uncommet #mac unversal and #python 3.4 and then make make install copy manually the universal(or whatever build name)/vrpn.so to your libs place, for instance venv/lib/Python/site-packages
-
install mondodb
mongod --dbpath mongodata/
- Install Unity
Should run.
use coffee -j compiled.js -cwo www/static/js www/static/coffee/ for coffee compiling