|
|
| 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
| |
Steps for Building CavePainting
- Make sandbox directory and define as $G
- 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
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