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 ..
  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