]> Creatis software - creaTools.git/blob - Steps.txt
win64
[creaTools.git] / Steps.txt
1 # ---------------------------------------------------------------------
2 #
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image 
4 #                        pour la Santé)
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 #
7 #  This software is governed by the CeCILL-B license under French law and 
8 #  abiding by the rules of distribution of free software. You can  use, 
9 #  modify and/ or redistribute the software under the terms of the CeCILL-B 
10 #  license as circulated by CEA, CNRS and INRIA at the following URL 
11 #  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html 
12 #  or in the file LICENSE.txt.
13 #
14 #  As a counterpart to the access to the source code and  rights to copy,
15 #  modify and redistribute granted by the license, users are provided only
16 #  with a limited warranty  and the software's author,  the holder of the
17 #  economic rights,  and the successive licensors  have only  limited
18 #  liability. 
19 #
20 #  The fact that you are presently reading this means that you have had
21 #  knowledge of the CeCILL-B license and that you accept its terms.
22 # ------------------------------------------------------------------------   
23
24
25
26 -----------------------------------------------------------
27
28 1)
29
30 Download BOOST <1.40.0>
31 Extract in directory boost_1_40_0
32 Create a CMAKE project in boost_1_40_0BinCM28VC9
33 Options in CMAKE
34         CMAKE_INSTALL_REFIX    C:/temp2_CM28VC9/Boost-<version>
35 Compile in Debug
36 Compile in Release
37         
38
39         Download VTK <5.4.2>
40 Extract in directory VTK-5.4.2
41 Create a CMAKE project in VTK-5.4.2BinCM28VC9
42 Options in CMAKE
43         BUILD_SHARED_LIBS       on
44         BUILD_TESTING           off
45         CMAKE_INSTALL_REFIX    C:/temp2_CM28VC9/VTK-<version>
46 Compile in Debug
47 Compile in Release
48
49
50 Download ITK <3.16.0>
51 Extract in directory InsightToolkit-3.16.0
52 Create a CMAKE project in InsightToolkit-3.16.0BinCM28VC9
53 Options in CMAKE
54         BUILD_SHARED_LIBS       on
55         BUILD_EXAMPLES          off
56         BUILD_TESTING           off
57         CMAKE_INSTALL_REFIX    C:/temp2_CM28VC9/ITK-<version>
58 Compile in Debug
59 Compile in Release
60
61 Download GDCM <13>
62 Extract in directory gdcm<version>
63 Create a CMAKE project in gdcm13BinCM28VC9
64 Options in CMAKE
65         BUILD_TESTING           off
66         GDCM_NAME_SPACE     gdcm13
67         GDCM_VTK            on  
68         CMAKE_INSTALL_REFIX    C:/temp2_CM28VC9/gdcm<version>
69 Compile in Debug
70 Compile in Release
71
72
73
74 Download wxWidgents <2.8.10>
75 Extract in directory wxWidgets-2.8.10
76 run wxWidgets-2.8.10\build\msw/wx_dlls.dsw
77 Compile in Debug
78 Compile in Release
79
80
81 Download xerces
82 site Web : http://xerces.apache.org/xerces-c/
83 file: xerces-c-3.1.0-x86-windows-vc-9.0.zip
84 Extract this file
85 ----------------------------------------------------------------
86
87 2)
88
89 create directory C:/temp2_CM28VC9/dlls
90 install boost, then move dlls in dlls directory
91 install vtk, then move dlls in dlls directory
92 install itk, then move dlls in dlls directory
93 install GDCM, then move dlls AND exe in dlls directory
94
95 copy wxWidgets in C:/temp2_CM28VC9/ directory, then move dlls in dlls directory
96 copy Qt4.5.2 in C:/temp2_CM28VC9/ directory, then move dlls in dlls directory
97
98 xerces
99 copy C:\Creatis\sofa\xerces-c-3.1.0-x86-windows-vc-9.0\xerces-c-3.1.0-x86-windows-vc-9.0\include 
100             in C:/temp2_CM28VC9/xerces-c-3.1.0/include 
101 copy C:\Creatis\sofa\xerces-c-3.1.0-x86-windows-vc-9.0\xerces-c-3.1.0-x86-windows-vc-9.0\lib 
102             in C:/temp2_CM28VC9/xerces-c-3.1.0/lib 
103 copy C:\Creatis\sofa\xerces-c-3.1.0-x86-windows-vc-9.0\xerces-c-3.1.0-x86-windows-vc-9.0\bin/*.dll 
104             in C:/temp2_CM28VC9/dlls
105
106 ----------------------------------------------------------------
107
108 3)
109 -Create crea_ThirdParty_dlls installer with C:/temp2_CM28VC9/dlls
110
111 4)
112 -copy tth in C:/temp2_CM28VC9/ directory
113 -copy MikTex-2.7 in C:/temp2_CM28VC9/ directory
114
115 5)
116 -Create crea_ThirdParty_Libraries installer with 
117    C:/temp2_CM28VC9/boost
118    C:/temp2_CM28VC9/gdcm
119    C:/temp2_CM28VC9/itk
120    C:/temp2_CM28VC9/QT
121    C:/temp2_CM28VC9/vtk
122    C:/temp2_CM28VC9/wxWidgets
123        copy directorries 
124                 lib/vc_dll      (*.lib) 
125                 include         (*.h)
126                 src/png         (*.h)
127                 src/zlib        (*.h)
128                 src/jpeg        (*.h)
129                 src/tiff        (*.h)
130    C:/temp2_CM28VC9/tth
131    C:/temp2_CM28VC9/MikTex-2.7
132
133
134
135 ----------------------------------------------------------------
136 6)
137 Compile creaInstall = creaTools
138 with :
139   crea, bbtk, creaMaracasVisu, creaImageIO, creaBruker,creaContours, creaEnvironment, CreaRecalage
140