1 === === === (new way) UNIX / LINUX users === === ===
4 1) Make sure everything you'll need is properly installed :
5 crea_Developers_tools, crea_ThirdParty_Libraries
7 http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload
12 2) make sure VTK_DIR environment variable is set properly :
15 export VTK_DIR=/usr/local/lib/vtk-5.4, for instance
17 3) make sure LATEX_COMPILER environment variable is set properly :
20 export LATEX_COMPILER=/usr/bin/latex, for instance
22 4) Make sure you got the last version of creaToolsTools.
23 cvs update -dP creaToolsTools
27 b) cp configure.sh_TEMPLATE configure.sh
29 c) modify (only once) the file configure.sh, according to your preferences:
32 -- configure.sh ---------------------
33 generationdir=<name of the Generation Directory>
34 docGeneration=<Boolean For Doc Generation> : ON / OFF
35 cvsUserName=<user Name For CVS>
36 installPrefix=<installPrefix> : /usr/local or $generationdir/creatools_install
37 buildType=<buildType> : Release / Debug
38 gdcmVersion=<GDCM Version> : GDCM1 / GDCM2
39 sourcesFrom=<where do you want to get them from> : CVS / HTML
40 --------------------------------------
43 d) if you choosed 'sourcesFrom=CVS' :
45 <type your cvs password>
49 f) make sure everything is OK
53 h) sh scripts/make-install.sh
60 === === === (old way) UNIX / LINUX users === === ===
62 0) Make sure you are a 'sudoer'.
64 --sudo configuration--
65 https://fedoraproject.org/wiki/Configuring_Sudo
68 <type your cvs password>
70 2) Make sure you got the last version of creaToolsTools.
71 cvs update -dP creaToolsTools
73 3) Make sure everything you'll need is properly installed :
74 crea_Developers_tools, crea_ThirdParty_Libraries
76 http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload
81 4) make sure VTK_DIR environment variable is set properly :
84 export VTK_DIR=/usr/local/lib/vtk-5.4, for instance
86 5) make sure LATEX_COMPILER environment variable is set properly :
89 export LATEX_COMPILER=/usr/bin/latex, for instance
92 cp creatools.sh_TEMPLATE creatools.sh
94 7) modify the file creatools.sh, according to your preferences, modify (only once) creatools.sh
97 -- creatools.sh ---------------------
98 creatoolsGeneration=<directory you want to generate in>
99 installPrefix=<your Install dir> or </usr/local>
101 docGeneration=<OFF|ON> let it to OFF!
102 buildType=<Release|Debug>
104 sh All.sh $creatoolsGeneration $docGeneration $cvsUser $installPrefix $buildType
106 -----------------------
108 7) Run the whole stuff :
111 8) if you performed a 'local install' (i.e : you *didn't* use installPrefix=/usr/local)
112 edit your .bash_profile
113 PATH=$PATH:<fullPathnameOfYourInstallPrefix>/creatools_install/bin
115 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<fullPathnameOfYourInstallPrefix>/creatools_install/lib
116 export LD_LIBRARY_PATH
120 === === === WINDOWS users === === ===
124 0) Make sure everything you'll need is properly installed :
125 crea_Developers_tools, crea_ThirdParty_dlls, and VisualStudioExpress2008
127 http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload
129 Change your CVS user in the file All.bat
131 Copy all the .bat files into one directoy where the tests are going to be run
134 Not forget to run your ssh key with puttyAgent
136 All the creatools projects are downloaded from the CVS, compiled and the CTest for the dashboard is run.
148 Forget the following lines !
150 Tools to manage the creaTools suite (build, test, submit to dashboard, package, ...)
151 ====================================================================================
154 ctest scripts and instructions to perform automated build/testing and submission to creatis cdash dashboard
156 windows installers of the suite and instructions to package the suite for windows. subdirs:
157 * creaThirdParty_dlls:
158 project which creates the creaThirdParty_dlls win installer (using cmake and NSIS)
159 * CreaTools_win32_installers:
160 batch installers of the suite