1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta content="text/html; charset=ISO-8859-1"
5 http-equiv="content-type">
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;">
14 <!--mozToc h1 1 h2 2 h3 3 h4 4 h5 5 h6 6-->
15 <li><a href="#mozTocId820435">Linux</a>
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>
22 <li><a href="#mozTocId777026">Windows </a>
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>
29 <li><a href="#mozTocId915759">CMake build options</a></li>
31 <hr style="width: 100%; height: 2px;"></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>
38 <li><span style="font-weight: normal;">cmake >= 2.4.6</span></li>
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>
46 <li><span style="font-weight: normal;">optional : <br>
49 <li><span style="font-weight: normal;">wxWidgets >=
53 <li><span style="font-weight: normal;">yum install wxGTK-devel
54 (fedora extras repos)<br>
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>
62 <li><span style="font-weight: normal;"><a
63 href="http://hutchinson.belmont.ma.us/tth/">http://hutchinson.belmont.ma.us/tth/</a><br>
66 <li><span style="font-weight: normal;">itk to compile packages itk,
69 <li><span style="font-weight: normal;">yum install
70 InsightToolkit-devel (creatis repos)<br>
73 <li><span style="font-weight: normal;">vtk to compile package vtk,
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>
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>
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;"> <small>
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;">
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;">
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;"> </span></small></small></big></big><big><big><small><small><span
113 style="font-weight: normal;"> 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;">
118 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;">
122 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;"> </span></small></small></big></big><big><big><small><small><span
126 style="font-weight: normal;">
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;">
130 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;">
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;"> </span></small></small></big></big><big><big><small><small><span
136 style="font-weight: normal;">
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;"> </span></small></small></big></big><big><big><small><small><span
141 style="font-weight: normal;">
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;"> </span></small></small></big></big><big><big><small><small><span
145 style="font-weight: normal;">
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;">
149 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;">
153 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;">
157 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;">
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;">
165 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;"> Uncompress the
171 archive or checkout the source from the cvs repository (see <a
172 href="download.html">Download page</a>).<br>
173 In the parent folder of the bbtk sources type :<br>
174 > mkdir bbtkbin; cd bbtkbin<br>
175 > ccmake ../bbtk<br>
176 <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;"> Type 'c' many
181 times then 'g'.</span><br>
182 > make<br>
183 > sudo make install<br>
184 Enjoy !<br>
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>
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>
205 <h3><big><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big></big>Optional</h3>
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 : </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
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> (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>
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
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>
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>
260 <li><big><big><small><small><span style="font-weight: normal;">wxWidgets</span></small></small></big></big></li>
262 <li><big><big><small><small><span style="font-weight: normal;">2.8.5</span></small></small></big></big></li>
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>
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>
271 <li><big><big><small><small><span style="font-weight: normal;">vtk</span></small></small></big></big></li>
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;">
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>
285 <li><big><big><small><small><span style="font-weight: normal;">Download
286 the required files listed before.</span></small></small></big></big></li>
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>
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>
303 <li><big><big><small><small><span style="font-weight: normal;">Install
304 VTK 5.0.3</span></small></small></big></big></li>
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
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;">
313 - vtkdata-5.0.3.tar.gz<br>
314 - vtkDocHtml-5.0.3.tar.gz<br>
315 - 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;">
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;">
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;">
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 --> ON</span><br
330 style="font-weight: normal;">
331 </small><big><big><small><small><span style="font-weight: normal;">
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 --> ON</span><br
335 style="font-weight: normal;">
336 </small><big><big><small><small><span style="font-weight: normal;">
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;">
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.
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>
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>
358 <big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big>
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;">
369 <li><big><big><small><small><span style="font-weight: normal;">BBTK</span></small></small></big></big></li>
371 <big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big>
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>
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>
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>
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>
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>
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>
421 <li><big><big><small><small><span style="font-weight: normal;">Clic
422 configure one more time</span></small></small></big></big></li>
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>
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_<LIBRARY_NAME>*.dll from
432 wxWidgets to the bbtk binaries directory. 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>
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>
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
484 <table border="1" cellpadding="2" cellspacing="2" width="100%">
487 <td style="vertical-align: top;"><span style="font-weight: bold;">Option</span><br>
489 <td style="vertical-align: top;"><span style="font-weight: bold;">Explaination</span><br>
491 <td style="vertical-align: top;"><span style="font-weight: bold;">Default</span></td>
496 <td>Set to ON to build all the components of the toolkit<br>
498 <td style="vertical-align: top;">OFF<br>
502 <td style="vertical-align: top;">BBTK_COMPILE_DEBUG_MESSAGES</td>
503 <td style="vertical-align: top;">Compile debug messages in bbtk ?<br>
505 <td style="vertical-align: top;">OFF<br>
509 <td style="vertical-align: top;">BBTK_COMPILE_ERROR_MESSAGES</td>
510 <td style="vertical-align: top;">Compile error messages in bbtk ?<br>
512 <td style="vertical-align: top;">ON<br>
516 <td style="vertical-align: top;">BBTK_COMPILE_MESSAGES</td>
517 <td style="vertical-align: top;">Compile normal messages in bbtk ?<br>
519 <td style="vertical-align: top;">ON<br>
523 <td style="vertical-align: top;">BBTK_COMPILE_WARNING_MESSAGES</td>
524 <td style="vertical-align: top;">Compile warning messages in bbtk
527 <td style="vertical-align: top;">ON<br>
531 <td style="vertical-align: top;">BBTK_USE_SHIPPED_BOOST<br>
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>
537 <td style="vertical-align: top;">ON<br>
541 <td style="vertical-align: top;">BBTK_USE_WXWIDGETS<br>
543 <td style="vertical-align: top;">Build with the wxWidgets library
546 <td style="vertical-align: top;">ON<br>
550 <td>BUILD_APPLICATIONS<br>
552 <td> Build bbtk applications : development studio (bbStudio),
554 (bbi), xml to C++ code (bbfy), etc. ?<br>
556 <td style="vertical-align: top;">ON<br>
560 <td>BUILD_BBS_APPLI_BINARIES<br>
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>
565 <td style="vertical-align: top;">OFF<br>
569 <td style="vertical-align: top;">BUILD_BBTK_DOC<br>
571 <td style="vertical-align: top;">Build bbtk documentations ?<br>
573 <td style="vertical-align: top;">OFF<br>
578 style="vertical-align: top; background-color: rgb(192, 192, 192);">BUILD_BBTK_DOC_DOXYGEN<br>
581 style="vertical-align: top; background-color: rgb(192, 192, 192);">Build
582 doxygen documentation for bbtk and packages?<br>
586 style="vertical-align: top; background-color: rgb(192, 192, 192);">ON<br>
591 style="vertical-align: top; background-color: rgb(192, 192, 192);">BUILD_BBTK_DOC_GUIDES_HTML<br>
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>
599 style="vertical-align: top; background-color: rgb(192, 192, 192);">ON<br>
604 style="vertical-align: top; background-color: rgb(192, 192, 192);">BUILD_BBTK_DOC_GUIDES_PDF<br>
607 style="vertical-align: top; background-color: rgb(192, 192, 192);">Build
608 pdf versions of the guides ?<br>
609 Requires latex, pdftex<br>
612 style="vertical-align: top; background-color: rgb(192, 192, 192);">ON<br>
617 style="vertical-align: top; background-color: rgb(192, 192, 192);">BUILD_BBTK_DOC_PACKAGE<br>
620 style="vertical-align: top; background-color: rgb(192, 192, 192);">Build
621 packages html documentations ?<br>
624 style="vertical-align: top; background-color: rgb(192, 192, 192);">ON<br>
628 <td>BUILD_BBTK_PACKAGE_itk<br>
630 <td>Build the package 'itk' ?<br>
633 <td style="vertical-align: top;">OFF<br>
638 style="vertical-align: top; background-color: rgb(204, 204, 204);">
642 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
643 itk images of dimension 2 ?<br>
646 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
651 style="vertical-align: top; background-color: rgb(204, 204, 204);">
654 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
655 itk images of dimension 3 ?<br>
658 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
663 style="vertical-align: top; background-color: rgb(204, 204, 204);">
664 itk_IMAGE_DIM_4 </td>
666 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
667 itk images of dimension 4 ?<br>
670 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
675 style="vertical-align: top; background-color: rgb(204, 204, 204);">
676 itk_IMAGE_TYPE_CHAR<br>
679 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
680 itk images of type char ?<br>
683 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
688 style="vertical-align: top; background-color: rgb(204, 204, 204);">
689 itk_IMAGE_TYPE_DOUBLE</td>
691 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
692 itk images of type double ?<br>
695 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
700 style="vertical-align: top; background-color: rgb(204, 204, 204);">
701 itk_IMAGE_TYPE_FLOAT<br>
704 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
705 itk images of type float ?<br>
708 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
713 style="vertical-align: top; background-color: rgb(204, 204, 204);">
714 itk_IMAGE_TYPE_INT<br>
717 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
718 itk images of type int ?<br>
721 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
726 style="vertical-align: top; background-color: rgb(204, 204, 204);">
727 itk_IMAGE_TYPE_SHORT<br>
730 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
731 itk images of type short ?<br>
734 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
739 style="vertical-align: top; background-color: rgb(204, 204, 204);">
740 itk_IMAGE_TYPE_UCHAR<br>
743 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
744 itk images of type unsigned char ?<br>
747 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
752 style="vertical-align: top; background-color: rgb(204, 204, 204);">
753 itk_IMAGE_TYPE_UINT<br>
756 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
757 itk images of type unsigned int ?<br>
760 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
765 style="vertical-align: top; background-color: rgb(204, 204, 204);">
766 itk_IMAGE_TYPE_USHORT<br>
769 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
770 itk images of type unsigned short ?<br>
773 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
777 <td>BUILD_BBTK_PACKAGE_itkvtk<br>
779 <td>Build the package 'itkvtk' ?<br>
780 Requires : itk, vtk<br>
782 <td style="vertical-align: top;">OFF<br>
786 <td>BUILD_BBTK_PACKAGE_std<br>
788 <td>Build the package 'std ? </td>
789 <td style="vertical-align: top;">OFF<br>
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>
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>
805 <td>BUILD_BBTK_PACKAGE_vtk<br>
807 <td>Build the package 'vtk' ?<br>
810 <td style="vertical-align: top;">OFF<br>
814 <td>BUILD_BBTK_PACKAGE_wx<br>
816 <td>Build the package 'wx' ?<br>
817 Requires : wxWidgets<br>
819 <td style="vertical-align: top;">OFF<br>
823 <td>BUILD_BBTK_PACKAGE_wxvtk<br>
825 <td>Build the package 'wxvtk' ?<br>
826 Requires : wxWidgets, vtk<br>
828 <td style="vertical-align: top;">OFF<br>
832 <td>CMAKE_BUILD_TYPE<br>
834 <td>Set to "Debug" or "Release" <br>
836 <td style="vertical-align: top;">-<br>
840 <td>CMAKE_INSTALL_PREFIX<br>
842 <td> Set the install folder<br>
844 <td style="vertical-align: top;">/usr/local<br>
848 <td>GENERATE_RPMBUILD_SPEC<br>
850 <td> Set to ON to create a .spec file to generate a rpm with
853 <td style="vertical-align: top;">OFF<br>
858 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_BOOST<br>
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>
865 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>
870 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_DOXYGEN<br>
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>
876 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>
881 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_ITK<br>
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>
887 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>
892 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_LATEX<br>
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>
898 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>
903 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_TTH<br>
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>
909 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>
914 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_VTK<br>
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>
920 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>
925 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_WXWIDGETS<br>
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>
931 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>