Building CavePainting

From VrlWiki
Jump to navigation Jump to search

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 ../vrpn
  17. make
  18. make install
  19. make clean
  20. make clean_g++
  21. cd $G/import/g3d/kit
  22. unzip G3D-8.01-src_cvs.zip
  23. cd G3D
  24. ./buildg3d --install lib
  25. TEST STEPS DONE
  26. cd $G/import/vrg3d/vrg3d
  27. 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
  28. make allclean
  29. make all
  30. make install
  31. make clean
  32. cd $G/common/MMotion
  33. make
  34. make install
  35. make clean
  36. cd $G/common/kuchora
  37. make
  38. make install
  39. cd $G/project/kuchora/cavepainting
  40. make
  41. make install
  42. make clean
  43. 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