]> Creatis software - bbtk.git/blob - kernel/doc/bbtkWebSite/install.html
b2199402557518fbd761d83b50a5bedd68af461b
[bbtk.git] / kernel / doc / bbtkWebSite / install.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4   <meta content="text/html; charset=ISO-8859-1"
5  http-equiv="content-type">
6   <title>Install</title>
7 </head>
8 <body>
9 <div style="text-align: center; font-weight: bold;"><big><big><big><small></small></big></big></big>
10 <div style="text-align: left;">
11 <div style="text-align: center;"><big><big style="font-weight: normal;"><big><big>Install</big></big></big></big><br>
12 <div style="text-align: left;">
13 <ol id="mozToc">
14 <!--mozToc h1 1 h2 2 h3 3 h4 4 h5 5 h6 6-->
15   <li><a href="#mozTocId820435">Linux</a>
16     <ol>
17       <li><a href="#mozTocId745245">Requirements</a></li>
18       <li><a href="#mozTocId775505">Known working configurations</a></li>
19       <li><a href="#mozTocId410988">Install from sources</a></li>
20     </ol>
21   </li>
22   <li><a href="#mozTocId777026">Windows </a>
23     <ol>
24       <li><a href="#mozTocId761363">Requirements</a></li>
25       <li><a href="#mozTocId681503">Known working configurations</a></li>
26       <li><a href="#mozTocId618885">Steps </a></li>
27     </ol>
28   </li>
29   <li><a href="#mozTocId915759">CMake build options</a></li>
30 </ol>
31 <hr style="width: 100%; height: 2px;"></div>
32 </div>
33 <h1><a class="mozTocH2" name="mozTocId820435"></a><big><big><big><small><small><span
34  style="font-weight: normal;">Linux</span></small></small></big></big></big></h1>
35 <h2><a class="mozTocH3" name="mozTocId745245"></a><big><big><big><small><small><span
36  style="font-weight: normal;">Requirements</span></small></small></big></big></big></h2>
37 <ul>
38   <li><span style="font-weight: normal;">cmake &gt;= 2.4.6</span></li>
39   <ul>
40     <ul>
41       <li><span style="font-weight: normal;"><a
42  href="http://www.cmake.org/HTML/Download.html">http://www.cmake.org/HTML/Download.html</a><br>
43         </span></li>
44     </ul>
45   </ul>
46   <li><span style="font-weight: normal;">optional : <br>
47     </span></li>
48   <ul>
49     <li><span style="font-weight: normal;">wxWidgets&nbsp; &gt;= &nbsp;
50 2.6.3<br>
51       </span></li>
52     <ul>
53       <li><span style="font-weight: normal;">yum install wxGTK-devel
54 (fedora extras repos)<br>
55         </span></li>
56     </ul>
57     <li><span style="font-weight: normal;">L<sub>a</sub>T<sub>e</sub>X
58 to generate the pdf doc</span><br>
59       <span style="font-weight: normal;"></span></li>
60     <li><span style="font-weight: normal;">tth to generate the html doc</span></li>
61     <ul>
62       <li><span style="font-weight: normal;"><a
63  href="http://hutchinson.belmont.ma.us/tth/">http://hutchinson.belmont.ma.us/tth/</a><br>
64         </span></li>
65     </ul>
66     <li><span style="font-weight: normal;">itk to compile packages itk,
67 itkvtk</span></li>
68     <ul>
69       <li><span style="font-weight: normal;">yum install
70 InsightToolkit-devel (creatis repos)<br>
71         </span></li>
72     </ul>
73     <li><span style="font-weight: normal;">vtk to compile package vtk,
74 wxvtk</span></li>
75     <ul>
76       <li><span style="font-weight: normal;">yum Install vtk-devel
77 (fedora extras repos)</span><big><big><big><small><small><span
78  style="font-weight: normal;"></span></small></small></big></big></big></li>
79       <li style="font-weight: bold;"><big><big><small><small><span
80  style="font-weight: normal;">Patches needed:</span></small></small></big></big></li>
81       <ul>
82         <li style="font-weight: bold;"><big><big><small><small><span
83  style="font-weight: normal;">problem with
84 /usr/lib/vtk-5.0/VTKConfig.cmake : </span></small></small></big></big><big><big><small><small><span
85  style="font-weight: normal;">had
86 to change line 9: SET(VTK_INSTALL_PREFIX "${VTK_DIR}") by
87 SET(VTK_INSTALL_PREFIX "") to be compatible with
88 CMake/Modules/FindVTK.cmake</span></small></small></big></big><big><big><small><small><span
89  style="font-weight: normal;"></span></small></small></big></big></li>
90         <li style="font-weight: bold;"><big><big><small><small><span
91  style="font-weight: normal;">add /usr/local/lib in /etc/ld.so.conf or
92 set LD_LIBRARY_PATH</span></small></small></big></big></li>
93       </ul>
94     </ul>
95   </ul>
96 </ul>
97 <big><big><big><small><small></small></small></big></big></big>
98 <h2><a class="mozTocH3" name="mozTocId775505"></a><big><big><big><small><small><span
99  style="font-weight: normal;">Known working configurations</span></small></small></big></big></big></h2>
100 <big><big><big><small><small><span style="font-weight: normal;">&nbsp;<small>
101 - gcc: <br>
102 </small></span></small></small></big></big></big><big><big><small><small><span
103  style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
104  style="font-weight: normal;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
105 4.2.0 (OpenSuse 10.3)<br style="font-weight: normal;">
106 </span></small></small></big></big><big><big><small><small><span
107  style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
108  style="font-weight: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
109 4.1.2 20070925 (Red Hat 4.1.2-33)<br>
110 </span></small></small></big></big><big><big><small><small><span
111  style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
112  style="font-weight: normal;">&nbsp;&nbsp;</span></small></small></big></big><big><big><small><small><span
113  style="font-weight: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4.1.2
114 20070626 (Red Hat 4.1.2-13)<br>
115 </span></small></small></big></big><big><big><small><small><span
116  style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
117  style="font-weight: normal;">&nbsp;
118 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4.1.1 20070105 (Red Hat 4.1.1-51)</span></small></small></big></big><small><br
119  style="font-weight: normal;">
120 </small><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
121  style="font-weight: normal;">&nbsp;&nbsp;&nbsp;
122 &nbsp;&nbsp;&nbsp; 4.0.2 20051125 (Red Hat 4.0.2-8)</span></small></small></big></big><small><br
123  style="font-weight: normal;">
124 </small><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
125  style="font-weight: normal;">&nbsp;</span></small></small></big></big><big><big><small><small><span
126  style="font-weight: normal;">&nbsp;&nbsp;
127 - cmake: </span></small></small></big></big><small><br
128  style="font-weight: normal;">
129 </small><big><big><small><small><span style="font-weight: normal;">&nbsp;&nbsp;&nbsp;
130 &nbsp;&nbsp;&nbsp; 2.4-patch 6</span></small></small></big></big><small><br
131  style="font-weight: normal;">
132 </small><big><big><small><small><span style="font-weight: normal;">&nbsp;&nbsp;
133 - wxGTK-devel: </span></small></small></big></big><small><br
134  style="font-weight: normal;">
135 </small><big><big><small><small><span style="font-weight: normal;">&nbsp;</span></small></small></big></big><big><big><small><small><span
136  style="font-weight: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
137 2.8.6</span></small></small></big></big><small><br
138  style="font-weight: normal;">
139 </small><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
140  style="font-weight: normal;">&nbsp;</span></small></small></big></big><big><big><small><small><span
141  style="font-weight: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
142 2.6.3</span></small></small></big></big><small><br
143  style="font-weight: normal;">
144 </small><big><big><small><small><span style="font-weight: normal;">&nbsp;</span></small></small></big></big><big><big><small><small><span
145  style="font-weight: normal;">&nbsp;
146 - InsightToolkit:</span></small></small></big></big><small><br
147  style="font-weight: normal;">
148 </small><big><big><small><small><span style="font-weight: normal;">&nbsp;&nbsp;&nbsp;
149 &nbsp;&nbsp;&nbsp; 3.4</span></small></small></big></big><small><br
150  style="font-weight: normal;">
151 </small><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
152  style="font-weight: normal;">&nbsp;&nbsp;&nbsp;
153 &nbsp;&nbsp;&nbsp; 3.2</span></small></small></big></big><small><br
154  style="font-weight: normal;">
155 </small><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
156  style="font-weight: normal;">&nbsp;&nbsp;&nbsp;
157 &nbsp;&nbsp;&nbsp; 2.8.1-5</span></small></small></big></big><small><br
158  style="font-weight: normal;">
159 </small><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
160  style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
161  style="font-weight: normal;">&nbsp;&nbsp;
162 - vtk:</span></small></small></big></big><small><br
163  style="font-weight: normal;">
164 </small><big><big><small><small><span style="font-weight: normal;">&nbsp;&nbsp;&nbsp;
165 &nbsp;&nbsp;&nbsp; 5.0.3-1</span></small></small></big></big><big><big><big><small><small><span
166  style="font-weight: normal;"></span></small></small></big></big></big><br>
167 <h2><a class="mozTocH3" name="mozTocId410988"></a><big><span
168  style="font-weight: normal;">Install from sources<span
169  style="font-weight: bold;"></span></span></big></h2>
170 <span style="font-weight: normal;">&nbsp;&nbsp;&nbsp; Uncompress the
171 archive or checkout the source from the cvs repository (see <a
172  href="download.html">Download page</a>).<br>
173 &nbsp;&nbsp;&nbsp; In the parent folder of the bbtk sources type :<br>
174 &nbsp;&nbsp;&nbsp; &gt; mkdir bbtkbin; cd bbtkbin<br>
175 &nbsp;&nbsp;&nbsp; &gt; ccmake ../bbtk<br>
176 &nbsp;&nbsp;&nbsp; <span style="font-style: italic;">Check the desired
177 options. See </span><a style="font-style: italic;"
178  href="#mozTocId915759">CMake build options</a><span
179  style="font-style: italic;"> for a description. </span><br>
180 <span style="font-style: italic;">&nbsp;&nbsp;&nbsp; Type 'c' many
181 times then 'g'.</span><br>
182 &nbsp;&nbsp;&nbsp; &gt; make<br>
183 &nbsp;&nbsp;&nbsp; &gt; sudo make install<br>
184 &nbsp;&nbsp; Enjoy !<br>
185 <br>
186 </span>
187 <hr style="width: 100%; height: 2px;">
188 <h1><a class="mozTocH2" name="mozTocId777026"></a><big><big><big><small><small><span
189  style="font-weight: normal;">Windows </span></small></small></big></big></big></h1>
190 <big><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big></big>
191 <h2><a class="mozTocH3" name="mozTocId761363"></a><big><big><big><small><small><span
192  style="font-weight: normal;"></span></small></small></big></big></big><big><big><big><small><small><span
193  style="font-weight: normal;">Requirements</span></small></small></big></big></big></h2>
194 <h3>Mandatory</h3>
195 <ul>
196   <li><big><span style="font-weight: normal;">.net </span></big><br>
197     <big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big></li>
198   <li><big><big><small><small><span style="font-weight: normal;"><a
199  href="download/win/cmake-2.4.6-win32-x86.exe">CMake
200 2.4 patch 6</a></span></small></small></big></big><big
201  style="font-weight: normal;"><big><big><small><small><small> to
202 generate the project file for .net</small><br>
203     </small></small></big></big></big></li>
204 </ul>
205 <h3><big><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big></big>Optional</h3>
206 <ul>
207   <li><big><big><small><small><span style="font-weight: normal;"><a
208  href="download/win/TortoiseCVS-1.8.31.exe">TortoiseVCS</a> (Direct CVS
209 tool within Explorer) and </span></small></small></big></big><big><big><small><small><span
210  style="font-weight: normal;"><a
211  href="http://www.creatis.insa-lyon.fr/mywiki/SSH">Putty</a> (Telnet
212 and SSH client) to get the sources from the cvs module</span></small></small></big></big></li>
213   <li><big><big><small><small><span style="font-weight: normal;"><a
214  href="download/wxWidgets-2.8.5.zip">wxWidgets-2.8.5</a> (sources) to
215 build graphical interface boxes<br>
216     </span></small></small></big></big></li>
217   <li><big><big><small><small><span style="font-weight: normal;"><a
218  href="download/vtk-5.0.3.tar.gz">VTK
219 5.0.3 source</a> (VTK 5.0.3 source code) to build vtk boxes (and if you
220 want :&nbsp; </span></small></small></big></big><big><big><small><small><span
221  style="font-weight: normal;"><a href="download/vtkdata-5.0.3.tar.gz">VTK
222 5.0.3 data</a> (VTK 5.0.3 data folder) and </span></small></small></big></big><big><big><small><small><span
223  style="font-weight: normal;"><a href="download/vtkDocHtml-5.0.3.tar.gz">VTK
224 5.0.3 documentation</a> (VTK 5.0.3 html documentation))</span></small></small></big></big></li>
225   <li><big><big><small><small><span style="font-weight: normal;"><a
226  href="download/InsightToolkit-3.4.0.tar.gz">InsightToolkit-3.4.0</a>
227 to build itk boxes</span></small></small></big></big><big><big><small><small><span
228  style="font-weight: normal;"></span></small></small></big></big></li>
229   <li><big><big><small><small><span style="font-weight: normal;"><a
230  href="download/win/basic-miktex-2.6.2742.exe">Miktex</a> (TeX compiler
231 and TeX-Pdf
232 translation tool) to build documentations</span></small></small></big></big><big><big><small><small><span
233  style="font-weight: normal;"></span></small></small></big></big></li>
234   <li><big><big><small><small><span style="font-weight: normal;"><a
235  href="download/win/tth_exe.zip">TTH</a>&nbsp;(TeX to HTML translation
236 tool) to build html documentations</span></small></small></big></big></li>
237   <li><big><big><small><small><span style="font-weight: normal;"><a
238  href="download/win/doxygen-1.5.3-setup.exe">Doxygen</a> to build the
239 code documentations</span></small></small></big></big></li>
240   <li><big><big><small><small><span style="font-weight: normal;"><a
241  href="download/win/graphviz-2.2.1.exe">Graphviz</a> to generate the
242 graphs in doxygen doc and black box pipelines graphs</span></small></small></big></big>&nbsp;&nbsp;
243     <br>
244   </li>
245 </ul>
246 <big><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big></big>
247 <h2><a class="mozTocH2" name="mozTocId681503"></a><big><big><big><small><small><span
248  style="font-weight: normal;">Known working configurations</span></small></small></big></big></big></h2>
249 <ul style="font-weight: bold;">
250   <li><big><big><small><small><span style="font-weight: normal;">.net
251 ????<br>
252     </span></small></small></big></big></li>
253   <li><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
254  style="font-weight: normal;">cmake</span></small></small></big></big></li>
255   <ul>
256     <li><big><big><small><small><span style="font-weight: normal;">2.4
257 patch 6</span></small></small></big></big><big><big><small><small><span
258  style="font-weight: normal;"></span></small></small></big></big></li>
259   </ul>
260   <li><big><big><small><small><span style="font-weight: normal;">wxWidgets</span></small></small></big></big></li>
261   <ul>
262     <li><big><big><small><small><span style="font-weight: normal;">2.8.5</span></small></small></big></big></li>
263   </ul>
264   <li><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
265  style="font-weight: normal;">InsightToolkit</span></small></small></big></big></li>
266   <ul>
267     <li><big style="font-weight: normal;"><big><small><small><span
268  style="font-weight: normal;">3.4.0</span></small></small></big></big><big><big><small><small><span
269  style="font-weight: normal;"></span></small></small></big></big></li>
270   </ul>
271   <li><big><big><small><small><span style="font-weight: normal;">vtk</span></small></small></big></big></li>
272   <ul>
273     <li><big><big><small><small><span style="font-weight: normal;">5.0.3</span></small></small></big></big><small><span
274  style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
275       </span></small><br>
276     </li>
277   </ul>
278 </ul>
279 <big><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big></big>
280 <h2><a class="mozTocH2" name="mozTocId618885"></a><big><big><big><small><small><span
281  style="font-weight: normal;">Steps<br>
282 </span></small></small></big></big></big></h2>
283 <big><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big></big>
284 <ul>
285   <li><big><big><small><small><span style="font-weight: normal;">Download
286 the required files listed before.</span></small></small></big></big></li>
287 </ul>
288 <ul>
289   <li><big><big><small><small><span style="font-weight: normal;">CMAKE
290 2.4.6</span></small></small></big></big><big><big><small><small><span
291  style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
292  style="font-weight: normal;"></span></small></small></big></big></li>
293 </ul>
294 <big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
295  style="font-weight: normal;"> 1.
296 Uninstall previous versions of CMake (if any)</span></small></small></big></big><small><br
297  style="font-weight: normal;">
298 </small><big><big><small><small><span style="font-weight: normal;">2.
299 Double clic on the installation file cmake-2.4.6-win32-x86.exe</span></small></small></big></big><small><br
300  style="font-weight: normal;">
301 </small><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big>
302 <ul>
303   <li><big><big><small><small><span style="font-weight: normal;">Install
304 VTK 5.0.3</span></small></small></big></big></li>
305 </ul>
306 <big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
307  style="font-weight: normal;"> 1.
308 Decompress in C:\Creatis\VTK5.0.3, each one in a separate
309 folder, the
310 files </span></small></small></big></big><small><br
311  style="font-weight: normal;">
312 </small><big><big><small><small><span style="font-weight: normal;">&nbsp;&nbsp;
313 - vtkdata-5.0.3.tar.gz<br>
314 &nbsp;&nbsp; - vtkDocHtml-5.0.3.tar.gz<br>
315 &nbsp;&nbsp; - basic-miktex-2.6.2742.exe.</span></small></small></big></big><small><br
316  style="font-weight: normal;">
317 </small><big><big><small><small><span style="font-weight: normal;">2.
318 Create the project of VTK5.0.3 in CMake with:</span></small></small></big></big><small><br
319  style="font-weight: normal;">
320 </small><big><big><small><small><span style="font-weight: normal;">&nbsp;&nbsp;
321 - Binary folder C:\Creatis\VTK5.0.3Bin</span></small></small></big></big><small><br
322  style="font-weight: normal;">
323 </small><big><big><small><small><span style="font-weight: normal;">&nbsp;&nbsp;
324 - Configuration:</span></small></small></big></big><small><br
325  style="font-weight: normal;">
326 </small><big><big><small><small><span style="font-weight: normal;">&nbsp;&nbsp;&nbsp;&nbsp;
327 </span></small></small></big></big><small><small
328  style="font-weight: bold;"><small><span style="font-weight: normal;"></span></small></small><span
329  style="font-weight: bold;">BUILD_SHARED_LIBS --&gt; ON</span><br
330  style="font-weight: normal;">
331 </small><big><big><small><small><span style="font-weight: normal;">&nbsp;&nbsp;&nbsp;&nbsp;
332 If you want to compile the examples set: </span></small></small></big></big><small><small
333  style="font-weight: bold;"><small><span style="font-weight: normal;"></span></small></small><span
334  style="font-weight: bold;">BUILD_EXAMPLES&nbsp; --&gt; ON</span><br
335  style="font-weight: normal;">
336 </small><big><big><small><small><span style="font-weight: normal;">&nbsp;&nbsp;
337 - Check that the VTK_DATA_ROOT variable at CMake is
338 C:\Creatis\VTK5.0.3\VTKData</span></small></small></big></big><small><br
339  style="font-weight: normal;">
340 </small><big><big><small><small><span style="font-weight: normal;">&nbsp;&nbsp;
341 - Clic configure once again and create (ok) the project</span></small></small></big></big><small><br
342  style="font-weight: normal;">
343 </small><big><big><small><small><span style="font-weight: normal;">3.
344 Open
345 the created VTK project at C:\Creatis\VTK5.0.3Bin\VTK.sln and build the
346 entire solution</span></small></small></big></big><small><br
347  style="font-weight: normal;">
348 </small><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big>
349 <ul>
350   <li><big><big><small><small><span style="font-weight: normal;"> TTH</span></small></small></big></big><big><big><small><small><span
351  style="font-weight: normal;"> : Decompress </span></small></small></big></big><big><big><small><small><span
352  style="font-weight: normal;">the file tth_exe.zip</span></small></small></big></big><small>
353     </small><big><big><small><small><span style="font-weight: normal;">in
354 C:\Creatis\tth_exe </span></small></small></big></big><big><big><small><small><span
355  style="font-weight: normal;"></span></small></small></big></big><br>
356   </li>
357 </ul>
358 <big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big>
359 <ul>
360   <li><big><big><small><small><span style="font-weight: normal;">MikTeX</span></small></small></big></big><big><big><small><small><span
361  style="font-weight: normal;"> : Double clic on the installation file
362 basic-miktex-2.6.2742.exe (it is
363 not necessary to change the default installation path)</span></small></small></big></big><br
364  style="font-weight: normal;">
365   </li>
366 </ul>
367 <small></small>
368 <ul>
369   <li><big><big><small><small><span style="font-weight: normal;">BBTK</span></small></small></big></big></li>
370 </ul>
371 <big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big>
372 <ul>
373   <ul>
374     <li><big><big><small><small><span style="font-weight: normal;">Uncompress
375 the sources in C:\Creatis\bbtk or checkout the source from the cvs </span></small></small></big></big><span
376  style="font-weight: normal;">(see <a href="download.html">Download
377 page</a>).</span></li>
378     <li><big><big><small><small><span style="font-weight: normal;">Create
379 the build folder </span></small></small></big></big><big><big><small><small><span
380  style="font-weight: normal;">C:\Creatis\bbtkBin</span></small></small></big></big><span
381  style="font-weight: normal;"></span></li>
382     <li><span style="font-weight: normal;">Drag and drop the file
383 C:\Creatis\bbtk\CMakeLists.txt on the CMakeSetup icon</span><big
384  style="font-weight: bold;"><big><small><small><span
385  style="font-weight: normal;"></span></small></small></big></big></li>
386     <ul>
387       <li><big style="font-weight: bold;"><big><small><small><span
388  style="font-weight: normal;"></span></small></small></big></big><span
389  style="font-weight: normal;">Check the desired
390 options for the build. See </span><a style="font-weight: normal;"
391  href="install.html#mozTocId915759">CMake build options</a><span
392  style="font-weight: normal;"> for a description.</span><span
393  style="font-weight: normal;"></span></li>
394       <li><span style="font-weight: normal;">If
395 you want to build with vtk :</span><big><big><small><small><span
396  style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
397  style="font-weight: normal;"></span></small></small></big></big></li>
398       <ul>
399         <li><big><big><small><small><span style="font-weight: normal;">Enable
400 Show Advanced Values</span></small></small></big></big><big><big><small><small><span
401  style="font-weight: normal;"></span></small></small></big></big></li>
402         <li><big><big><small><small><span style="font-weight: normal;">Clic
403 configure twice and check that the VTK_DIR variable at CMake
404 is C:/Creatis/VTK5.0.3Bin</span></small></small></big></big></li>
405         <li><big><big><small><small><span style="font-weight: normal;">Clic
406 configure one more time</span></small></small></big></big></li>
407       </ul>
408       <li><big><big><small><small><span style="font-weight: normal;">If
409 you want to build with itk :</span></small></small></big></big></li>
410       <ul>
411         <li><big><big><small><small><span style="font-weight: normal;">Enable
412 Show Advanced Values</span></small></small></big></big><big><big><small><small><span
413  style="font-weight: normal;"></span></small></small></big></big></li>
414       </ul>
415       <ul>
416         <li><big><big><small><small><span style="font-weight: normal;">Clic
417 configure twice and check that the ITK_DIR variable at CMake
418 is C:/Creatis/InsightToolkitBin</span></small></small></big></big></li>
419       </ul>
420       <ul>
421         <li><big><big><small><small><span style="font-weight: normal;">Clic
422 configure one more time</span></small></small></big></big></li>
423       </ul>
424       <li><big><big><small><small><span style="font-weight: normal;">Clic
425 configure many times and create the project </span></small></small></big></big><big><big><small><small><span
426  style="font-weight: normal;"> (click ok).</span></small></small></big></big><big><big><small><small><span
427  style="font-weight: normal;"></span></small></small></big></big></li>
428     </ul>
429     <li><big><big><small><small><span style="font-weight: normal;"><span
430  style="font-weight: bold;">To build with WxWidgets</span> : Copy
431 the debug dll files like wxbase26d_&lt;LIBRARY_NAME&gt;*.dll from
432 wxWidgets to the bbtk binaries directory.&nbsp; Example : copy </span></small></small></big></big><big><big><small><small><span
433  style="font-weight: normal;">C:\Creatis\wxWidgets-2.6.3\wxWidgets-2.6.3\lib\vc_dll
434       </span></small></small></big></big><big><big><small><small><span
435  style="font-weight: normal;">to: C:\Creatis\bbtkBin\bin\debug</span></small></small></big></big><big><big><small><small><span
436  style="font-weight: normal;"></span></small></small></big></big></li>
437     <li><big><big><small><small><span style="font-weight: normal;"><span
438  style="font-weight: bold;">To build with VTK</span> : Copy
439 all the debug dll files from VTK5.0.3 to the bbtk binaries directory.
440 Example : copy</span></small></small></big></big><big><big><small><small><span
441  style="font-weight: normal;"> all files in
442 C:\Creatis\VTK5.0.3Bin\bin\debug to</span></small></small></big></big><big><big><small><small><span
443  style="font-weight: normal;">: C:\Creatis\bbtkBin\bin\debug</span></small></small></big></big></li>
444     <li><big><big><small><small><span style="font-weight: normal;">To
445 build with ITK : ...</span></small></small></big></big><big><big><small><small><span
446  style="font-weight: normal;"></span></small></small></big></big></li>
447     <li><big><big><small><small><span style="font-weight: normal;">Open
448 the solution created by cmake : C:\Creatis\bbtkBin\BBTK.sln and build
449 the entire solution.</span></small></small></big></big></li>
450     <ul>
451       <li><big><big><small><small><span style="font-weight: normal;">If
452 you get dll error messages close the message(s) and after it's
453 done, rebuild the complete solution.</span></small></small></big></big><big><big><small><small><span
454  style="font-weight: normal;"></span></small></small></big></big></li>
455       <li><big><big><small><small><span style="font-weight: normal;">If
456 you get package intallation messages for missing and required
457 files like <span style="font-style: italic;">fileName.sty</span>,
458 install them all.</span></small></small></big></big></li>
459       <li style="font-weight: normal;">The packages correspond to
460 on-line complements that the MikTex program
461 needs to build the BBTK documentation.</li>
462     </ul>
463   </ul>
464 </ul>
465 Enjoy !<br>
466 </div>
467 <div style="text-align: left;">
468 <hr style="width: 100%; height: 2px;"></div>
469 <div style="text-align: left;">
470 <h1><a class="mozTocH1" name="mozTocId915759"></a>CMake build options</h1>
471 <span style="font-weight: normal;">The options in grey only appear if
472 the last non grey option is set to
473 ON (e.g. itk_IMAGE_DIM_2 and the following ones in grey only appear if
474 BUILD_BBTK_PACKAGE_itk is ON).<br>
475 The variables in dark grey and italics are NOT options but are
476 automatically set by cmake according to the options selected. In
477 particular the variables 'USE_<span style="font-style: italic;">something</span>'
478 indicate the dependencies on external libraries or utilities.<br
479  style="font-weight: normal;">
480 </span><span style="font-weight: normal;">Advanced options are not
481 shown
482 here... </span><br>
483 <br>
484 <table border="1" cellpadding="2" cellspacing="2" width="100%">
485   <tbody>
486     <tr>
487       <td style="vertical-align: top;"><span style="font-weight: bold;">Option</span><br>
488       </td>
489       <td style="vertical-align: top;"><span style="font-weight: bold;">Explaination</span><br>
490       </td>
491       <td style="vertical-align: top;"><span style="font-weight: bold;">Default</span></td>
492     </tr>
493     <tr>
494       <td>--BUILD_ALL<br>
495       </td>
496       <td>Set to ON to build all the components of the toolkit<br>
497       </td>
498       <td style="vertical-align: top;">OFF<br>
499       </td>
500     </tr>
501     <tr>
502       <td style="vertical-align: top;">BBTK_COMPILE_DEBUG_MESSAGES</td>
503       <td style="vertical-align: top;">Compile debug messages in bbtk ?<br>
504       </td>
505       <td style="vertical-align: top;">OFF<br>
506       </td>
507     </tr>
508     <tr>
509       <td style="vertical-align: top;">BBTK_COMPILE_ERROR_MESSAGES</td>
510       <td style="vertical-align: top;">Compile error messages in bbtk ?<br>
511       </td>
512       <td style="vertical-align: top;">ON<br>
513       </td>
514     </tr>
515     <tr>
516       <td style="vertical-align: top;">BBTK_COMPILE_MESSAGES</td>
517       <td style="vertical-align: top;">Compile normal messages in bbtk ?<br>
518       </td>
519       <td style="vertical-align: top;">ON<br>
520       </td>
521     </tr>
522     <tr>
523       <td style="vertical-align: top;">BBTK_COMPILE_WARNING_MESSAGES</td>
524       <td style="vertical-align: top;">Compile warning messages in bbtk
525 ?<br>
526       </td>
527       <td style="vertical-align: top;">ON<br>
528       </td>
529     </tr>
530     <tr>
531       <td style="vertical-align: top;">BBTK_USE_SHIPPED_BOOST<br>
532       </td>
533       <td style="vertical-align: top;">Use the boost C++ library
534 provided with bbtk ?<br>
535 If not set you need to have boost installed <br>
536       </td>
537       <td style="vertical-align: top;">ON<br>
538       </td>
539     </tr>
540     <tr>
541       <td style="vertical-align: top;">BBTK_USE_WXWIDGETS<br>
542       </td>
543       <td style="vertical-align: top;">Build with the wxWidgets library
544 ? <br>
545       </td>
546       <td style="vertical-align: top;">ON<br>
547       </td>
548     </tr>
549     <tr>
550       <td>BUILD_APPLICATIONS<br>
551       </td>
552       <td> Build bbtk applications : development studio (bbStudio),
553 interpreter
554 (bbi), xml to C++ code (bbfy), etc. ?<br>
555       </td>
556       <td style="vertical-align: top;">ON<br>
557       </td>
558     </tr>
559     <tr>
560       <td>BUILD_BBS_APPLI_BINARIES<br>
561       </td>
562       <td>Build executables for all bbs applications of all packages ?<br>
563 If set will compile all bbs of folder appli of all packages using bbc<br>
564       </td>
565       <td style="vertical-align: top;">OFF<br>
566       </td>
567     </tr>
568     <tr>
569       <td style="vertical-align: top;">BUILD_BBTK_DOC<br>
570       </td>
571       <td style="vertical-align: top;">Build bbtk documentations ?<br>
572       </td>
573       <td style="vertical-align: top;">OFF<br>
574       </td>
575     </tr>
576     <tr>
577       <td
578  style="vertical-align: top; background-color: rgb(192, 192, 192);">BUILD_BBTK_DOC_DOXYGEN<br>
579       </td>
580       <td
581  style="vertical-align: top; background-color: rgb(192, 192, 192);">Build
582 doxygen documentation for bbtk and packages?<br>
583 Requires doxygen<br>
584       </td>
585       <td
586  style="vertical-align: top; background-color: rgb(192, 192, 192);">ON<br>
587       </td>
588     </tr>
589     <tr>
590       <td
591  style="vertical-align: top; background-color: rgb(192, 192, 192);">BUILD_BBTK_DOC_GUIDES_HTML<br>
592       </td>
593       <td
594  style="vertical-align: top; background-color: rgb(192, 192, 192);">Build
595 html versions of the guides ?<br>
596 Requires latex, pdftex, tth<br>
597       </td>
598       <td
599  style="vertical-align: top; background-color: rgb(192, 192, 192);">ON<br>
600       </td>
601     </tr>
602     <tr>
603       <td
604  style="vertical-align: top; background-color: rgb(192, 192, 192);">BUILD_BBTK_DOC_GUIDES_PDF<br>
605       </td>
606       <td
607  style="vertical-align: top; background-color: rgb(192, 192, 192);">Build
608 pdf versions of the guides ?<br>
609 Requires latex, pdftex<br>
610       </td>
611       <td
612  style="vertical-align: top; background-color: rgb(192, 192, 192);">ON<br>
613       </td>
614     </tr>
615     <tr>
616       <td
617  style="vertical-align: top; background-color: rgb(192, 192, 192);">BUILD_BBTK_DOC_PACKAGE<br>
618       </td>
619       <td
620  style="vertical-align: top; background-color: rgb(192, 192, 192);">Build
621 packages html documentations ?<br>
622       </td>
623       <td
624  style="vertical-align: top; background-color: rgb(192, 192, 192);">ON<br>
625       </td>
626     </tr>
627     <tr>
628       <td>BUILD_BBTK_PACKAGE_itk<br>
629       </td>
630       <td>Build the package 'itk' ?<br>
631 Requires : itk<br>
632       </td>
633       <td style="vertical-align: top;">OFF<br>
634       </td>
635     </tr>
636     <tr>
637       <td
638  style="vertical-align: top; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;
639 itk_IMAGE_DIM_2<br>
640       </td>
641       <td
642  style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
643 itk images of dimension 2 ?<br>
644       </td>
645       <td
646  style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
647       </td>
648     </tr>
649     <tr>
650       <td
651  style="vertical-align: top; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;
652 itk_IMAGE_DIM_3</td>
653       <td
654  style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
655 itk images of dimension 3 ?<br>
656       </td>
657       <td
658  style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
659       </td>
660     </tr>
661     <tr>
662       <td
663  style="vertical-align: top; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;
664 itk_IMAGE_DIM_4 </td>
665       <td
666  style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
667 itk images of dimension 4 ?<br>
668       </td>
669       <td
670  style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
671       </td>
672     </tr>
673     <tr>
674       <td
675  style="vertical-align: top; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;
676 itk_IMAGE_TYPE_CHAR<br>
677       </td>
678       <td
679  style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
680 itk images of type char ?<br>
681       </td>
682       <td
683  style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
684       </td>
685     </tr>
686     <tr>
687       <td
688  style="vertical-align: top; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;
689 itk_IMAGE_TYPE_DOUBLE</td>
690       <td
691  style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
692 itk images of type double ?<br>
693       </td>
694       <td
695  style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
696       </td>
697     </tr>
698     <tr>
699       <td
700  style="vertical-align: top; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;
701 itk_IMAGE_TYPE_FLOAT<br>
702       </td>
703       <td
704  style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
705 itk images of type float ?<br>
706       </td>
707       <td
708  style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
709       </td>
710     </tr>
711     <tr>
712       <td
713  style="vertical-align: top; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;
714 itk_IMAGE_TYPE_INT<br>
715       </td>
716       <td
717  style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
718 itk images of type int ?<br>
719       </td>
720       <td
721  style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
722       </td>
723     </tr>
724     <tr>
725       <td
726  style="vertical-align: top; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;
727 itk_IMAGE_TYPE_SHORT<br>
728       </td>
729       <td
730  style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
731 itk images of type short ?<br>
732       </td>
733       <td
734  style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
735       </td>
736     </tr>
737     <tr>
738       <td
739  style="vertical-align: top; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;
740 itk_IMAGE_TYPE_UCHAR<br>
741       </td>
742       <td
743  style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
744 itk images of type unsigned char ?<br>
745       </td>
746       <td
747  style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
748       </td>
749     </tr>
750     <tr>
751       <td
752  style="vertical-align: top; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;
753 itk_IMAGE_TYPE_UINT<br>
754       </td>
755       <td
756  style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
757 itk images of type unsigned int ?<br>
758       </td>
759       <td
760  style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
761       </td>
762     </tr>
763     <tr>
764       <td
765  style="vertical-align: top; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;
766 itk_IMAGE_TYPE_USHORT<br>
767       </td>
768       <td
769  style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
770 itk images of type unsigned&nbsp; short ?<br>
771       </td>
772       <td
773  style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
774       </td>
775     </tr>
776     <tr>
777       <td>BUILD_BBTK_PACKAGE_itkvtk<br>
778       </td>
779       <td>Build the package 'itkvtk' ?<br>
780 Requires : itk, vtk<br>
781       </td>
782       <td style="vertical-align: top;">OFF<br>
783       </td>
784     </tr>
785     <tr>
786       <td>BUILD_BBTK_PACKAGE_std<br>
787       </td>
788       <td>Build the package 'std ? </td>
789       <td style="vertical-align: top;">OFF<br>
790       </td>
791     </tr>
792     <tr>
793       <td style="vertical-align: top;">BUILD_BBTK_PACKAGE_test</td>
794       <td style="vertical-align: top;">Build the package 'test' ?</td>
795       <td style="vertical-align: top;">OFF<br>
796       </td>
797     </tr>
798     <tr>
799       <td style="vertical-align: top;">BUILD_BBTK_PACKAGE_toolsbbtk</td>
800       <td style="vertical-align: top;">Build the package 'toolsbbtk' ?</td>
801       <td style="vertical-align: top;">OFF<br>
802       </td>
803     </tr>
804     <tr>
805       <td>BUILD_BBTK_PACKAGE_vtk<br>
806       </td>
807       <td>Build the package 'vtk' ?<br>
808 Requires : vtk<br>
809       </td>
810       <td style="vertical-align: top;">OFF<br>
811       </td>
812     </tr>
813     <tr>
814       <td>BUILD_BBTK_PACKAGE_wx<br>
815       </td>
816       <td>Build the package 'wx' ?<br>
817 Requires : wxWidgets<br>
818       </td>
819       <td style="vertical-align: top;">OFF<br>
820       </td>
821     </tr>
822     <tr>
823       <td>BUILD_BBTK_PACKAGE_wxvtk<br>
824       </td>
825       <td>Build the package 'wxvtk' ?<br>
826 Requires : wxWidgets, vtk<br>
827       </td>
828       <td style="vertical-align: top;">OFF<br>
829       </td>
830     </tr>
831     <tr>
832       <td>CMAKE_BUILD_TYPE<br>
833       </td>
834       <td>Set to "Debug" or "Release" <br>
835       </td>
836       <td style="vertical-align: top;">-<br>
837       </td>
838     </tr>
839     <tr>
840       <td>CMAKE_INSTALL_PREFIX<br>
841       </td>
842       <td> Set the install folder<br>
843       </td>
844       <td style="vertical-align: top;">/usr/local<br>
845       </td>
846     </tr>
847     <tr>
848       <td>GENERATE_RPMBUILD_SPEC<br>
849       </td>
850       <td> Set to ON to create a .spec file to generate a rpm with
851 rpmbuild <br>
852       </td>
853       <td style="vertical-align: top;">OFF<br>
854       </td>
855     </tr>
856     <tr>
857       <td
858  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_BOOST<br>
859       </td>
860       <td
861  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">Automatically
862 set to ON when boost C++ library is needed with the choices made<br>
863       </td>
864       <td
865  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>
866       </td>
867     </tr>
868     <tr>
869       <td
870  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_DOXYGEN<br>
871       </td>
872       <td
873  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">Automatically
874 set to ON when doxygen is needed with the choices made</td>
875       <td
876  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>
877       </td>
878     </tr>
879     <tr>
880       <td
881  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_ITK<br>
882       </td>
883       <td
884  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">Automatically
885 set to ON when ITK library is needed with the choices made</td>
886       <td
887  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>
888       </td>
889     </tr>
890     <tr>
891       <td
892  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_LATEX<br>
893       </td>
894       <td
895  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">Automatically
896 set to ON when LaTeX is needed with the choices made</td>
897       <td
898  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>
899       </td>
900     </tr>
901     <tr>
902       <td
903  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_TTH<br>
904       </td>
905       <td
906  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">Automatically
907 set to ON when tth is needed with the choices made</td>
908       <td
909  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>
910       </td>
911     </tr>
912     <tr>
913       <td
914  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_VTK<br>
915       </td>
916       <td
917  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">Automatically
918 set to ON when VTK library is needed with the choices made</td>
919       <td
920  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>
921       </td>
922     </tr>
923     <tr>
924       <td
925  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_WXWIDGETS<br>
926       </td>
927       <td
928  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">Automatically
929 set to ON when wxWidgets library is needed with the choices made</td>
930       <td
931  style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>
932       </td>
933     </tr>
934   </tbody>
935 </table>
936 </div>
937 </div>
938 </body>
939 </html>