Building CavePainting: Difference between revisions

From VrlWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
#cd import
#cd import
#svn co https://vrg3d.svn.sourceforge.net/svnroot/vrg3d vrg3d
#svn co https://vrg3d.svn.sourceforge.net/svnroot/vrg3d vrg3d
#cd 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 ..
#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
#python configure.py -vrg3d $G/install_linux
#*Note: If working on a 64 bit system, edit configure.py and make the following replacements before running this command
#*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/libSDL to lib64/libSDL
#**lib/libGLU to lib64/libGLU
#**lib/libGLU to lib64/libGLU
Line 19: Line 38:
#make all
#make all
#make install
#make install
#make clean
#cd $G/common/MMotion
#cd $G/common/MMotion
#make
#make
#make install
#make install
#make clean
#cd $G/common/kuchora
#cd $G/common/kuchora
#make
#make
Line 28: Line 49:
#make
#make
#make install
#make install
#make clean
#chmod 775 run
#chmod 775 run


EXPERIMENTAL STEPS FOLLOW
EXPERIMENTAL STEPS FOLLOW
<pre>
<pre>
</pre>
All setup commands after step 1:
<pre>
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
cd vrg3d/vrg3d
python configure.py -vrg3d $G/install_linux
make allclean
make all
make install
cd $G/common/MMotion
make
make install
cd $G/common/kuchora
make
make install
cd $G/project/kuchora/cavepainting
make
make install
chmod 775 run


</pre>
</pre>

Revision as of 16:46, 4 July 2012

Steps for Building CavePainting

  1. Define $G as your sandbox directory and define CVSROOT as your username@ssh.cs.brown.edu:/research/graphics/cvsroot/
  2. cd $G
  3. cvs co common
  4. cvs co project
  5. cvs co import
  6. mkdir install_linux
  7. cd import
  8. svn co https://vrg3d.svn.sourceforge.net/svnroot/vrg3d vrg3d
  9. TEST STEPS FOLLOW
  10. cd vrpn/kit
  11. unzip vrpn_07_26.zip
  12. cd quat
  13. make
    • Before performing this step, edit the Makefile, and uncomment the line corresponding to your machine's architecture
  14. make install
  15. make clean
  16. cd ..
  17. cd vrpn
  18. make
  19. make install
  20. make clean
  21. make clean_g++
  22. cd $G/import/g3d/kit
  23. unzip G3D-8.01-src_cvs.zip
  24. cd G3D
  25. ./buildg3d --install lib
  26. TEST STEPS DONE
  27. cd $G/import/vrg3d/vrg3d
  28. 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
  29. make allclean
  30. make all
  31. make install
  32. make clean
  33. cd $G/common/MMotion
  34. make
  35. make install
  36. make clean
  37. cd $G/common/kuchora
  38. make
  39. make install
  40. cd $G/project/kuchora/cavepainting
  41. make
  42. make install
  43. make clean
  44. chmod 775 run

EXPERIMENTAL STEPS FOLLOW


Steps for Running CavePainting in Desktop Mode

  1. cd $G/project/kuchora/cavepainting
  2. ./run desktop



Steps for Running CavePainting in the CAVE