Building CavePainting
Steps for Building CavePainting
- Define $G as your sandbox directory and define CVSROOT as your username@ssh.cs.brown.edu:/research/graphics/cvsroot/
- An example can be found at Set_up_your_environment_for_diffusion_MRI_processing#Set_up_your_environment
- cd $G
- cvs co common
- cvs co project
- cvs co import
- mkdir install_linux
- cd import
- svn co https://vrg3d.svn.sourceforge.net/svnroot/vrg3d vrg3d
- TEST STEPS FOLLOW------------------------------------------------
- cd vrpn/kit
- unzip vrpn_07_26.zip
- cd quat
- make
- Before performing this step, edit the Makefile, and uncomment the line corresponding to your machine's architecture
- make install
- make clean
- cd ../vrpn
- make
- make install
- make clean
- make clean_g++
- cd $G/import/g3d/kit
- unzip G3D-8.01-src_cvs.zip
- cd G3D
- ./buildg3d --install lib
- TEST STEPS DONE------------------------------------------------
- cd $G/import/vrg3d/vrg3d
- python configure.py -vrg3d $G/install_linux
- If working on a 64 bit system, edit configure.py and make the following replacements before running this command
- lib/libSDL to lib64/libSDL
- lib/libGLU to lib64/libGLU
- If working on a 64 bit system, edit configure.py and make the following replacements before running this command
- make allclean
- make all
- make install
- make clean
- cd $G/common/MMotion
- make
- make install
- make clean
- cd $G/common/kuchora
- make
- make install
- cd $G/project/kuchora/cavepainting
- make
- make install
- make clean
- chmod 775 run
- EXPERIMENTAL STEPS FOLLOW------------------------------------------------
Steps for Running CavePainting in Desktop Mode
- cd $G/project/kuchora/cavepainting
- ./run desktop