Building CavePainting: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
== | == Setting Up and Checking Everything Out == | ||
Setting Up and Checking Everything Out | |||
#Define $G as your sandbox directory and define CVSROOT as your username@ssh.cs.brown.edu:/research/graphics/cvsroot/ | #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]] | #*An example can be found at [[Set_up_your_environment_for_diffusion_MRI_processing#Set_up_your_environment]] | ||
| Line 11: | Line 11: | ||
#cd $G/import | #cd $G/import | ||
#svn co https://vrg3d.svn.sourceforge.net/svnroot/vrg3d vrg3d | #svn co https://vrg3d.svn.sourceforge.net/svnroot/vrg3d vrg3d | ||
Installing VRPN | == Installing [[VRPN]] == | ||
#cd $G/import/vrpn/kit | #cd $G/import/vrpn/kit | ||
#unzip vrpn_07_26.zip | #unzip vrpn_07_26.zip | ||
| Line 25: | Line 26: | ||
#make clean | #make clean | ||
#make clean_g++ | #make clean_g++ | ||
Installing G3D | |||
== Installing [G3D]http://www.google.com/ == | |||
#cd $G/import/g3d/kit | #cd $G/import/g3d/kit | ||
#unzip G3D-8.01-src_cvs.zip | #unzip G3D-8.01-src_cvs.zip | ||
#cd $G/import/g3d/kit/G3D | #cd $G/import/g3d/kit/G3D | ||
#./buildg3d --install lib | #./buildg3d --install lib | ||
Configuring VRG3D | == Configuring [[VRG3D]] == | ||
#cd $G/import/vrg3d/vrg3d | #cd $G/import/vrg3d/vrg3d | ||
#python configure.py -vrg3d $G/install_linux | #python configure.py -vrg3d $G/install_linux | ||
| Line 41: | Line 45: | ||
#make install | #make install | ||
#make clean | #make clean | ||
Installing MMotion | |||
== Installing [[MMotion]] == | |||
#cd $G/common/MMotion | #cd $G/common/MMotion | ||
#make | #make | ||
| Line 50: | Line 56: | ||
#make | #make | ||
#make install | #make install | ||
Installing CavePainting | |||
== Installing [[CavePainting]] == | |||
#cd $G/project/kuchora/cavepainting | #cd $G/project/kuchora/cavepainting | ||
#make | #make | ||
| Line 57: | Line 65: | ||
Allowing CavePainting to be Executed | Allowing CavePainting to be Executed | ||
#chmod 775 run | #chmod 775 run | ||
Creating Symbolic Links to Work With Directory Structure | == Creating Symbolic Links to Work With Directory Structure == | ||
# | # | ||
Revision as of 15:57, 6 July 2012
Setting Up and Checking Everything Out
- 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 $G/import
- svn co https://vrg3d.svn.sourceforge.net/svnroot/vrg3d vrg3d
Installing VRPN
- cd $G/import/vrpn/kit
- unzip vrpn_07_26.zip
- cd $G/import/vrpn/kit/quat
- make
- Before performing this step, edit the Makefile, and uncomment the line corresponding to your machine's architecture
- make install
- make clean
- cd $G/import/vrpn/kit/vrpn
- make
- make install
- make clean
- make clean_g++
Installing [G3D]http://www.google.com/
- cd $G/import/g3d/kit
- unzip G3D-8.01-src_cvs.zip
- cd $G/import/g3d/kit/G3D
- ./buildg3d --install lib
Configuring VRG3D
- 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
Installing MMotion
- cd $G/common/MMotion
- make
- make install
- make clean
Installing Common Kuchora Packages
- cd $G/common/kuchora
- make
- make install
Installing CavePainting
- cd $G/project/kuchora/cavepainting
- make
- make install
- make clean
Allowing CavePainting to be Executed
- chmod 775 run
Creating Symbolic Links to Work With Directory Structure
Steps for Running CavePainting in Desktop Mode
- cd $G/project/kuchora/cavepainting
- ./run desktop
Steps for Running CavePainting in the CAVE
- cd #G/project/kuchora/cavepainting
- ./run cave