]> Creatis software - creaToolsTools.git/blob - README.txt
Automatic generation of 'export' environment variables in bashrc for Third Party...
[creaToolsTools.git] / README.txt
1 === === ===  UNIX / LINUX users === === ===
2
3 0)  Make sure you are a 'sudoer'.
4 have a look at :
5 --sudo configuration--
6 https://fedoraproject.org/wiki/Configuring_Sudo
7
8 1) ssh-add
9 <type your cvs password>
10
11 2) Make sure you got the last version of creaToolsTools.
12 cvs update -dP creaToolsTools
13
14 3) Make sure everything you'll need is properly installed :
15 crea_Developers_tools, crea_ThirdParty_Libraries
16 have a look at :
17 http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload
18 and/or :
19 cd Install_ThirdParty
20 follow the Readme.txt
21
22 4) make sure VTK_DIR environment variable is set properly :
23 echo $VTK_DIR
24 Set it, if not OK:
25 export VTK_DIR=/usr/local/lib/vtk-5.4, for instance
26
27 5) make sure LATEX_COMPILER environment variable is set properly :
28 echo $LATEX_COMPILER 
29 Set it, if not OK:
30 export LATEX_COMPILER=/usr/bin/latex, for instance
31
32 6)cd Install
33 cp creatools.sh_TEMPLATE creatools.sh
34
35 7) modify the file creatools.sh, according to your preferences, modify (only once) creatools.sh
36 vim creatools.sh
37 as follows :
38
39 -- creatools.sh ---------------------
40 creatoolsGeneration=<directory you want to generate in>
41 installPrefix=<your Install dir> or </usr/local> 
42 cvsUser=<USER>
43 docGeneration=<OFF|ON> let it to OFF!
44 buildType=<Release|Debug>
45 cd scripts
46 sh All.sh $creatoolsGeneration $docGeneration $cvsUser $installPrefix $buildType
47 cd .. 
48 -----------------------
49
50 7) Run the whole stuff :
51 sh creatools.sh
52
53 8) if you performed a 'local install' (i.e : you *didn't* use installPrefix=/usr/local)
54 edit your .bash_profile
55 PATH=$PATH:<fullPathnameOfYourInstallPrefix>/creatools_install/bin
56 export PATH
57 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<fullPathnameOfYourInstallPrefix>/creatools_install/lib
58 export LD_LIBRARY_PATH
59
60
61
62 === === === WINDOWS users === === ===
63
64
65
66 0) Make sure everything you'll need is properly installed :
67 crea_Developers_tools, crea_ThirdParty_dlls, and VisualStudioExpress2008
68 Have a look at :
69 http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload
70
71 Change your CVS user in the file All.bat
72
73 Copy all the .bat files into one directoy where the tests are going to be run
74 execute All.bat
75
76 Not forget to run your ssh key with puttyAgent
77
78 All the creatools projects are downloaded from the CVS, compiled and the CTest for the dashboard is run.
79
80
81
82
83
84
85
86
87
88
89
90 Forget the following lines !
91
92 Tools to manage the creaTools suite (build, test, submit to dashboard, package, ...)
93 ====================================================================================
94
95 * ctest:
96 ctest scripts and instructions to perform automated build/testing and submission to creatis cdash dashboard
97 * windows:
98 windows installers of the suite and instructions to package the suite for windows. subdirs:
99   * creaThirdParty_dlls:
100     project which creates the creaThirdParty_dlls win installer (using cmake and NSIS)
101   * CreaTools_win32_installers:
102     batch installers of the suite
103