Building CavePainting: Difference between revisions

From VrlWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 27: Line 27:
Commands from step 2 through step # together:
Commands from step 2 through step # together:
<pre>
<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
</pre>
</pre>
== Old ==
Note:Replace $G with the absolute directory path of your sandbox. Although $G is recognized by the cd command, it cannot be used in include statements in c++ source files.
#Gather Required Packages
#*vrg3d
#*cvs: common, import, project
#*build utility, gg
#*import/vrpn_7.28_gcc_64
#*import/g3d_8.01_64
#*sdl.rpm
#*project/kuchora/cavepainting
#Follow [[Set_up_your_environment_for_diffusion_MRI_processing]] tutorial
#Change all include vrg3d header file statements in $G/common/kuchora to correct filepath*
#Change all include MMotion header file statements in $G/common/kuchora to correct filepath*
#Make in $G/common/kuchora
#Make install in $G/common/kuchora
#Make in $G/common/MMotion
#Make install in $G/common/MMotion
#In $G/project/kuchora/cavepainting/main.cpp
#*change #include <kuchora/Kuchora.H> to #include <$G/common/kuchora/Kuchora.H>
#In $G/common/kuchora/AnnotationModel.H
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In $G/common/kuchora/TextInputWidget.H
#*change #include <kuchora/EventMgr.H> to #include <$G/common/kuchora/include/kuchora/EventMgr.H>
#*change #include <kuchora/GfxMgr.H> to #include <$G/common/kuchora/include/kuchora/GfxMgr.H>
#In $G/common/kuchora/BrushState.H
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In $G/common/kuchora/CavePaintingCursors.H
#*change #include <kuchora/GfxMgr.H> to #include <$G/common/kuchora/include/kuchora/GfxMgr.H>
#In $G/common/kuchora/PointModel.H
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In $G/common/kuchora/FishtankDepthCues.H
#*change #include <kuchora/GfxMgr.H> to #include <$G/common/kuchora/include/kuchora/GfxMgr.H>
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In $G/common/kuchora/TriStripModel.H
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In $G/common/kuchora/WorkingLimits.H
#*change #include <kuchora/GfxMgr.H> to #include <$G/common/kuchora/include/kuchora/GfxMgr.H>
#In $G/common/kuchora/HCIMgr.H
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In $G/common/kuchora/ForceNetInterface.H
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In $G/common/kuchora/Selection.H
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In $G/common/kuchora/Markers.H
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In $G/common/kuchora/AnnotationModel.H
#*change #include <kuchora/MoveMarkersHCI.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In $G/common/kuchora/Shadows.H
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
*Will be expanded upon

Revision as of 15:49, 13 June 2012

Steps for Building CavePainting

  1. Make sandbox directory and define as $G
  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. cd vrg3d/vrg3d
  10. python configure.py -vrg3d $G/install_linux
  11. make allclean
  12. make all
  13. make install
  14. cd $G/common/MMotion
  15. make
  16. make install
  17. cd $G/common/kuchora
  18. make
  19. make install
  20. cd $G/project/kuchora/cavepainting
  21. make
  22. make install

Commands from step 2 through step # together:

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