1 === === === (new way) UNIX / LINUX users === === ===
4 1) Make sure everything you'll need is properly installed :
5 crea_Developers_tools, crea_ThirdParty_Libraries
8 http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload
13 2) make sure VTK_DIR environment variable is set properly :
16 export VTK_DIR=/usr/local/lib/vtk-5.4, for instance
18 3) make sure LATEX_COMPILER environment variable is set properly :
21 export LATEX_COMPILER=/usr/bin/latex, for instance
23 4) Make sure you got the last version of creaToolsTools.
24 cvs update -dP creaToolsTools
28 b) cp configure.sh_TEMPLATE configure.sh
30 c) modify (only once) the file configure.sh, according to your preferences:
33 -- configure.sh ---------------------
34 generationdir=<name of the Generation Directory>
35 docgeneration=<Boolean For Doc Generation> : ON / OFF
36 cvsUserName=<user Name For CVS>
37 installPrefix=<installPrefix> : /usr/local or $generationdir/creatools_install
38 buildType=<buildType> : Release / Debug
39 gdcmVersion=<GDCM Version> : GDCM1 / GDCM2
40 sourcesFrom=<where do you want to get them from> : CVS / HTML
41 --------------------------------------
44 d) if you choosed 'sourcesFrom=CVS' :
46 <type your cvs password>
50 f) make sure everything is OK
54 h) sh scripts/make-install.sh
61 === === === (old way) UNIX / LINUX users === === ===
63 0) Make sure you are a 'sudoer'.
65 --sudo configuration--
66 https://fedoraproject.org/wiki/Configuring_Sudo
69 <type your cvs password>
71 2) Make sure you got the last version of creaToolsTools.
72 cvs update -dP creaToolsTools
74 3) Make sure everything you'll need is properly installed :
75 crea_Developers_tools, crea_ThirdParty_Libraries
77 http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload
82 4) make sure VTK_DIR environment variable is set properly :
85 export VTK_DIR=/usr/local/lib/vtk-5.4, for instance
87 5) make sure LATEX_COMPILER environment variable is set properly :
90 export LATEX_COMPILER=/usr/bin/latex, for instance
93 cp creatools.sh_TEMPLATE creatools.sh
95 7) modify the file creatools.sh, according to your preferences, modify (only once) creatools.sh
98 -- creatools.sh ---------------------
99 creatoolsGeneration=<directory you want to generate in>
100 installPrefix=<your Install dir> or </usr/local>
102 docGeneration=<OFF|ON> let it to OFF!
103 buildType=<Release|Debug>
105 sh All.sh $creatoolsGeneration $docGeneration $cvsUser $installPrefix $buildType
107 -----------------------
109 7) Run the whole stuff :
112 8) if you performed a 'local install' (i.e : you *didn't* use installPrefix=/usr/local)
113 edit your .bash_profile
114 PATH=$PATH:<fullPathnameOfYourInstallPrefix>/creatools_install/bin
116 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<fullPathnameOfYourInstallPrefix>/creatools_install/lib
117 export LD_LIBRARY_PATH
121 === === === WINDOWS users === === ===
125 0) Make sure everything you'll need is properly installed :
126 crea_Developers_tools, crea_ThirdParty_dlls, and VisualStudioExpress2008
128 http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload
130 Change your CVS user in the file All.bat
132 Copy all the .bat files into one directoy where the tests are going to be run
135 Not forget to run your ssh key with puttyAgent
137 All the creatools projects are downloaded from the CVS, compiled and the CTest for the dashboard is run.
149 Forget the following lines !
151 Tools to manage the creaTools suite (build, test, submit to dashboard, package, ...)
152 ====================================================================================
155 ctest scripts and instructions to perform automated build/testing and submission to creatis cdash dashboard
157 windows installers of the suite and instructions to package the suite for windows. subdirs:
158 * creaThirdParty_dlls:
159 project which creates the creaThirdParty_dlls win installer (using cmake and NSIS)
160 * CreaTools_win32_installers:
161 batch installers of the suite