1 === === === NEW (new way) UNIX / LINUX / MacOS users === === ===
7 === === === WINDOWS users === === ===
9 0) Make sure everything you'll need is properly installed :
10 crea_Developers_tools, crea_ThirdParty_dlls, and VisualStudioExpress2008
12 http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload
14 Change your CVS user in the file All.bat
16 Copy all the .bat files into one directoy where the tests are going to be run
19 Do not forget to run your ssh key with puttyAgent
21 All the creatools projects are downloaded from the CVS, compiled and the CTest for the dashboard is run.
30 Forget the following lines !
45 === === === (new way) UNIX / LINUX users === === ===
48 1) Make sure everything you'll need is properly installed :
49 crea_Developers_tools, crea_ThirdParty_Libraries
52 http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload
57 2) make sure VTK_DIR environment variable is set properly :
60 export VTK_DIR=/usr/local/lib/vtk-5.4, for instance
62 3) make sure LATEX_COMPILER environment variable is set properly :
65 export LATEX_COMPILER=/usr/bin/latex, for instance
67 4) Make sure you got the last version of creaToolsTools.
68 cvs update -dP creaToolsTools
72 b) cp configure.sh_TEMPLATE configure.sh
74 c) modify (only once) the file configure.sh, according to your preferences:
77 -- configure.sh ---------------------
78 generationdir=<name of the Generation Directory>
79 docgeneration=<Boolean For Doc Generation> : ON / OFF
80 cvsUserName=<user Name For CVS>
81 installPrefix=<installPrefix> : /usr/local or $generationdir/creatools_install
82 buildType=<buildType> : Release / Debug
83 gdcmVersion=<GDCM Version> : GDCM1 / GDCM2
84 sourcesFrom=<where do you want to get them from> : CVS / HTML
85 --------------------------------------
88 d) if you choosed 'sourcesFrom=CVS' :
90 <type your cvs password>
94 f) make sure everything is OK
98 h) sh scripts/make-install.sh
105 === === === (old way) UNIX / LINUX users === === ===
107 0) Make sure you are a 'sudoer'.
109 --sudo configuration--
110 https://fedoraproject.org/wiki/Configuring_Sudo
113 <type your cvs password>
115 2) Make sure you got the last version of creaToolsTools.
116 cvs update -dP creaToolsTools
118 3) Make sure everything you'll need is properly installed :
119 crea_Developers_tools, crea_ThirdParty_Libraries
121 http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload
123 cd Install_ThirdParty
124 follow the Readme.txt
126 4) make sure VTK_DIR environment variable is set properly :
129 export VTK_DIR=/usr/local/lib/vtk-5.4, for instance
131 5) make sure LATEX_COMPILER environment variable is set properly :
134 export LATEX_COMPILER=/usr/bin/latex, for instance
137 cp creatools.sh_TEMPLATE creatools.sh
139 7) modify the file creatools.sh, according to your preferences, modify (only once) creatools.sh
142 -- creatools.sh ---------------------
143 creatoolsGeneration=<directory you want to generate in>
144 installPrefix=<your Install dir> or </usr/local>
146 docGeneration=<OFF|ON> let it to OFF!
147 buildType=<Release|Debug>
149 sh All.sh $creatoolsGeneration $docGeneration $cvsUser $installPrefix $buildType
151 -----------------------
153 7) Run the whole stuff :
156 8) if you performed a 'local install' (i.e : you *didn't* use installPrefix=/usr/local)
157 edit your .bash_profile
158 PATH=$PATH:<fullPathnameOfYourInstallPrefix>/creatools_install/bin
160 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<fullPathnameOfYourInstallPrefix>/creatools_install/lib
161 export LD_LIBRARY_PATH
175 Forget the following lines !
177 Tools to manage the creaTools suite (build, test, submit to dashboard, package, ...)
178 ====================================================================================
181 ctest scripts and instructions to perform automated build/testing and submission to creatis cdash dashboard
183 windows installers of the suite and instructions to package the suite for windows. subdirs:
184 * creaThirdParty_dlls:
185 project which creates the creaThirdParty_dlls win installer (using cmake and NSIS)
186 * CreaTools_win32_installers:
187 batch installers of the suite