Building CavePainting: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 2: | Line 2: | ||
== Steps for Building CavePainting == | == 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 | |||
== Old == | == Old == | ||
Revision as of 15:15, 13 June 2012
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
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