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>BBK buid instructions</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. <br>
181 </span></span><span style="font-weight: normal;"><span
182 style="font-weight: bold;"><span style="color: rgb(204, 102, 0);">==>
183 IMPORTANT NOTE </span>:</span><br>
185 </span><span style="font-weight: normal;"><span
186 style="font-style: italic;"></span><span style="font-style: italic;">
187 Type 'c' <span style="color: rgb(204, 102, 0);">many
188 times</span> then 'g'.</span><br>
189 > make<br>
190 > sudo make install<br>
191 Enjoy !<br>
194 <hr style="width: 100%; height: 2px;">
195 <h1><a class="mozTocH2" name="mozTocId777026"></a><big><big><big><small><small><span
196 style="font-weight: normal;">Windows </span></small></small></big></big></big></h1>
197 <big><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big></big>
198 <h2><a class="mozTocH3" name="mozTocId761363"></a><big><big><big><small><small><span
199 style="font-weight: normal;"></span></small></small></big></big></big><big><big><big><small><small><span
200 style="font-weight: normal;">Requirements</span></small></small></big></big></big></h2>
203 <li><big><span style="font-weight: normal;">.net </span></big><br>
204 <big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big></li>
205 <li><big><big><small><small><span style="font-weight: normal;"><a
206 href="download/win/cmake-2.4.6-win32-x86.exe">CMake
207 2.4 patch 6</a></span></small></small></big></big><big
208 style="font-weight: normal;"><big><big><small><small><small> to
209 generate the project file for .net</small><br>
210 </small></small></big></big></big></li>
212 <h3><big><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big></big>Optional</h3>
214 <li><big><big><small><small><span style="font-weight: normal;"><a
215 href="download/win/TortoiseCVS-1.8.31.exe">TortoiseVCS</a> (Direct CVS
216 tool within Explorer) and </span></small></small></big></big><big><big><small><small><span
217 style="font-weight: normal;"><a
218 href="http://www.creatis.insa-lyon.fr/mywiki/SSH">Putty</a> (Telnet
219 and SSH client) to get the sources from the cvs module</span></small></small></big></big></li>
220 <li><big><big><small><small><span style="font-weight: normal;"><a
221 href="download/wxWidgets-2.8.5.zip">wxWidgets-2.8.5</a> (sources) to
222 build graphical interface boxes<br>
223 </span></small></small></big></big></li>
224 <li><big><big><small><small><span style="font-weight: normal;"><a
225 href="download/vtk-5.0.3.tar.gz">VTK
226 5.0.3 source</a> (VTK 5.0.3 source code) to build vtk boxes (and if you
227 want : </span></small></small></big></big><big><big><small><small><span
228 style="font-weight: normal;"><a href="download/vtkdata-5.0.3.tar.gz">VTK
229 5.0.3 data</a> (VTK 5.0.3 data folder) and </span></small></small></big></big><big><big><small><small><span
230 style="font-weight: normal;"><a href="download/vtkDocHtml-5.0.3.tar.gz">VTK
231 5.0.3 documentation</a> (VTK 5.0.3 html documentation))</span></small></small></big></big></li>
232 <li><big><big><small><small><span style="font-weight: normal;"><a
233 href="download/InsightToolkit-3.4.0.tar.gz">InsightToolkit-3.4.0</a>
234 to build itk boxes</span></small></small></big></big><big><big><small><small><span
235 style="font-weight: normal;"></span></small></small></big></big></li>
236 <li><big><big><small><small><span style="font-weight: normal;"><a
237 href="download/win/basic-miktex-2.6.2742.exe">Miktex</a> (TeX compiler
239 translation tool) to build documentations</span></small></small></big></big><big><big><small><small><span
240 style="font-weight: normal;"></span></small></small></big></big></li>
241 <li><big><big><small><small><span style="font-weight: normal;"><a
242 href="download/win/tth_exe.zip">TTH</a> (TeX to HTML translation
243 tool) to build html documentations</span></small></small></big></big></li>
244 <li><big><big><small><small><span style="font-weight: normal;"><a
245 href="download/win/doxygen-1.5.3-setup.exe">Doxygen</a> to build the
246 code documentations</span></small></small></big></big></li>
247 <li><big><big><small><small><span style="font-weight: normal;"><a
248 href="download/win/graphviz-2.2.1.exe">Graphviz</a> to generate the
249 graphs in doxygen doc and black box pipelines graphs</span></small></small></big></big>
253 <big><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big></big>
254 <h2><a class="mozTocH2" name="mozTocId681503"></a><big><big><big><small><small><span
255 style="font-weight: normal;">Known working configurations</span></small></small></big></big></big></h2>
256 <ul style="font-weight: bold;">
257 <li><big><big><small><small><span style="font-weight: normal;">.net
259 </span></small></small></big></big></li>
260 <li><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
261 style="font-weight: normal;">cmake</span></small></small></big></big></li>
263 <li><big><big><small><small><span style="font-weight: normal;">2.4
264 patch 6</span></small></small></big></big><big><big><small><small><span
265 style="font-weight: normal;"></span></small></small></big></big></li>
267 <li><big><big><small><small><span style="font-weight: normal;">wxWidgets</span></small></small></big></big></li>
269 <li><big><big><small><small><span style="font-weight: normal;">2.8.5</span></small></small></big></big></li>
271 <li><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
272 style="font-weight: normal;">InsightToolkit</span></small></small></big></big></li>
274 <li><big style="font-weight: normal;"><big><small><small><span
275 style="font-weight: normal;">3.4.0</span></small></small></big></big><big><big><small><small><span
276 style="font-weight: normal;"></span></small></small></big></big></li>
278 <li><big><big><small><small><span style="font-weight: normal;">vtk</span></small></small></big></big></li>
280 <li><big><big><small><small><span style="font-weight: normal;">5.0.3</span></small></small></big></big><small><span
281 style="font-weight: bold;">
286 <big><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big></big>
287 <h2><a class="mozTocH2" name="mozTocId618885"></a><big><big><big><small><small><span
288 style="font-weight: normal;">Steps<br>
289 </span></small></small></big></big></big></h2>
290 <big><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big></big>
292 <li><big><big><small><small><span style="font-weight: normal;">Download
293 the required files listed before.</span></small></small></big></big></li>
296 <li><big><big><small><small><span style="font-weight: normal;">CMAKE
297 2.4.6</span></small></small></big></big><big><big><small><small><span
298 style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
299 style="font-weight: normal;"></span></small></small></big></big></li>
301 <big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
302 style="font-weight: normal;"> 1.
303 Uninstall previous versions of CMake (if any)</span></small></small></big></big><small><br
304 style="font-weight: normal;">
305 </small><big><big><small><small><span style="font-weight: normal;">2.
306 Double clic on the installation file cmake-2.4.6-win32-x86.exe</span></small></small></big></big><small><br
307 style="font-weight: normal;">
308 </small><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big>
310 <li><big><big><small><small><span style="font-weight: normal;">Install
311 VTK 5.0.3</span></small></small></big></big></li>
313 <big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
314 style="font-weight: normal;"> 1.
315 Decompress in C:\Creatis\VTK5.0.3, each one in a separate
317 files </span></small></small></big></big><small><br
318 style="font-weight: normal;">
319 </small><big><big><small><small><span style="font-weight: normal;">
320 - vtkdata-5.0.3.tar.gz<br>
321 - vtkDocHtml-5.0.3.tar.gz<br>
322 - basic-miktex-2.6.2742.exe.</span></small></small></big></big><small><br
323 style="font-weight: normal;">
324 </small><big><big><small><small><span style="font-weight: normal;">2.
325 Create the project of VTK5.0.3 in CMake with:</span></small></small></big></big><small><br
326 style="font-weight: normal;">
327 </small><big><big><small><small><span style="font-weight: normal;">
328 - Binary folder C:\Creatis\VTK5.0.3Bin</span></small></small></big></big><small><br
329 style="font-weight: normal;">
330 </small><big><big><small><small><span style="font-weight: normal;">
331 - Configuration:</span></small></small></big></big><small><br
332 style="font-weight: normal;">
333 </small><big><big><small><small><span style="font-weight: normal;">
334 </span></small></small></big></big><small><small
335 style="font-weight: bold;"><small><span style="font-weight: normal;"></span></small></small><span
336 style="font-weight: bold;">BUILD_SHARED_LIBS --> ON</span><br
337 style="font-weight: normal;">
338 </small><big><big><small><small><span style="font-weight: normal;">
339 If you want to compile the examples set: </span></small></small></big></big><small><small
340 style="font-weight: bold;"><small><span style="font-weight: normal;"></span></small></small><span
341 style="font-weight: bold;">BUILD_EXAMPLES --> ON</span><br
342 style="font-weight: normal;">
343 </small><big><big><small><small><span style="font-weight: normal;">
344 - Check that the VTK_DATA_ROOT variable at CMake is
345 C:\Creatis\VTK5.0.3\VTKData</span></small></small></big></big><small><br
346 style="font-weight: normal;">
347 </small><big><big><small><small><span style="font-weight: normal;">
348 - Clic configure once again and create (ok) the project</span></small></small></big></big><small><br
349 style="font-weight: normal;">
350 </small><big><big><small><small><span style="font-weight: normal;">3.
352 the created VTK project at C:\Creatis\VTK5.0.3Bin\VTK.sln and build the
353 entire solution</span></small></small></big></big><small><br
354 style="font-weight: normal;">
355 </small><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big>
357 <li><big><big><small><small><span style="font-weight: normal;"> TTH</span></small></small></big></big><big><big><small><small><span
358 style="font-weight: normal;"> : Decompress </span></small></small></big></big><big><big><small><small><span
359 style="font-weight: normal;">the file tth_exe.zip</span></small></small></big></big><small>
360 </small><big><big><small><small><span style="font-weight: normal;">in
361 C:\Creatis\tth_exe </span></small></small></big></big><big><big><small><small><span
362 style="font-weight: normal;"></span></small></small></big></big><br>
365 <big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big>
367 <li><big><big><small><small><span style="font-weight: normal;">MikTeX</span></small></small></big></big><big><big><small><small><span
368 style="font-weight: normal;"> : Double clic on the installation file
369 basic-miktex-2.6.2742.exe (it is
370 not necessary to change the default installation path)</span></small></small></big></big><br
371 style="font-weight: normal;">
376 <li><big><big><small><small><span style="font-weight: normal;">BBTK</span></small></small></big></big></li>
378 <big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big>
381 <li><big><big><small><small><span style="font-weight: normal;">Uncompress
382 the sources in C:\Creatis\bbtk or checkout the source from the cvs </span></small></small></big></big><span
383 style="font-weight: normal;">(see <a href="download.html">Download
384 page</a>).</span></li>
385 <li><big><big><small><small><span style="font-weight: normal;">Create
386 the build folder </span></small></small></big></big><big><big><small><small><span
387 style="font-weight: normal;">C:\Creatis\bbtkBin</span></small></small></big></big><span
388 style="font-weight: normal;"></span></li>
389 <li><span style="font-weight: normal;">Drag and drop the file
390 C:\Creatis\bbtk\CMakeLists.txt on the CMakeSetup icon</span><big
391 style="font-weight: bold;"><big><small><small><span
392 style="font-weight: normal;"></span></small></small></big></big></li>
394 <li><big style="font-weight: bold;"><big><small><small><span
395 style="font-weight: normal;"></span></small></small></big></big><span
396 style="font-weight: normal;">Check the desired
397 options for the build. See </span><a style="font-weight: normal;"
398 href="install.html#mozTocId915759">CMake build options</a><span
399 style="font-weight: normal;"> for a description.</span><span
400 style="font-weight: normal;"></span></li>
401 <li><span style="font-weight: normal;">If
402 you want to build with vtk :</span><big><big><small><small><span
403 style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
404 style="font-weight: normal;"></span></small></small></big></big></li>
406 <li><big><big><small><small><span style="font-weight: normal;">Enable
407 Show Advanced Values</span></small></small></big></big><big><big><small><small><span
408 style="font-weight: normal;"></span></small></small></big></big></li>
409 <li><big><big><small><small><span style="font-weight: normal;">Clic
410 configure twice and check that the VTK_DIR variable at CMake
411 is C:/Creatis/VTK5.0.3Bin</span></small></small></big></big></li>
412 <li><big><big><small><small><span style="font-weight: normal;">Clic
413 configure one more time</span></small></small></big></big></li>
415 <li><big><big><small><small><span style="font-weight: normal;">If
416 you want to build with itk :</span></small></small></big></big></li>
418 <li><big><big><small><small><span style="font-weight: normal;">Enable
419 Show Advanced Values</span></small></small></big></big><big><big><small><small><span
420 style="font-weight: normal;"></span></small></small></big></big></li>
423 <li><big><big><small><small><span style="font-weight: normal;">Clic
424 configure twice and check that the ITK_DIR variable at CMake
425 is C:/Creatis/InsightToolkitBin</span></small></small></big></big></li>
428 <li><big><big><small><small><span style="font-weight: normal;">Clic
429 configure one more time</span></small></small></big></big></li>
431 <li><big><big><small><small><span style="font-weight: normal;">Clic
432 configure many times and create the project </span></small></small></big></big><big><big><small><small><span
433 style="font-weight: normal;"> (click ok).</span></small></small></big></big><big><big><small><small><span
434 style="font-weight: normal;"></span></small></small></big></big></li>
436 <li><big><big><small><small><span style="font-weight: normal;"><span
437 style="font-weight: bold;">To build with WxWidgets</span> : Copy
438 the debug dll files like wxbase26d_<LIBRARY_NAME>*.dll from
439 wxWidgets to the bbtk binaries directory. Example : copy </span></small></small></big></big><big><big><small><small><span
440 style="font-weight: normal;">C:\Creatis\wxWidgets-2.6.3\wxWidgets-2.6.3\lib\vc_dll
441 </span></small></small></big></big><big><big><small><small><span
442 style="font-weight: normal;">to: C:\Creatis\bbtkBin\bin\debug</span></small></small></big></big><big><big><small><small><span
443 style="font-weight: normal;"></span></small></small></big></big></li>
444 <li><big><big><small><small><span style="font-weight: normal;"><span
445 style="font-weight: bold;">To build with VTK</span> : Copy
446 all the debug dll files from VTK5.0.3 to the bbtk binaries directory.
447 Example : copy</span></small></small></big></big><big><big><small><small><span
448 style="font-weight: normal;"> all files in
449 C:\Creatis\VTK5.0.3Bin\bin\debug to</span></small></small></big></big><big><big><small><small><span
450 style="font-weight: normal;">: C:\Creatis\bbtkBin\bin\debug</span></small></small></big></big></li>
451 <li><big><big><small><small><span style="font-weight: normal;">To
452 build with ITK : ...</span></small></small></big></big><big><big><small><small><span
453 style="font-weight: normal;"></span></small></small></big></big></li>
454 <li><big><big><small><small><span style="font-weight: normal;">Open
455 the solution created by cmake : C:\Creatis\bbtkBin\BBTK.sln and build
456 the entire solution.</span></small></small></big></big></li>
458 <li><big><big><small><small><span style="font-weight: normal;">If
459 you get dll error messages close the message(s) and after it's
460 done, rebuild the complete solution.</span></small></small></big></big><big><big><small><small><span
461 style="font-weight: normal;"></span></small></small></big></big></li>
462 <li><big><big><small><small><span style="font-weight: normal;">If
463 you get package intallation messages for missing and required
464 files like <span style="font-style: italic;">fileName.sty</span>,
465 install them all.</span></small></small></big></big></li>
466 <li style="font-weight: normal;">The packages correspond to
467 on-line complements that the MikTex program
468 needs to build the BBTK documentation.</li>
474 <div style="text-align: left;">
475 <hr style="width: 100%; height: 2px;"></div>
476 <div style="text-align: left;">
477 <h1><a class="mozTocH1" name="mozTocId915759"></a>CMake build options</h1>
478 <span style="font-weight: normal;">The options in grey only appear if
479 the last non grey option is set to
480 ON (e.g. itk_IMAGE_DIM_2 and the following ones in grey only appear if
481 BUILD_BBTK_PACKAGE_itk is ON).<br>
482 The variables in dark grey and italics are NOT options but are
483 automatically set by cmake according to the options selected. In
484 particular the variables 'USE_<span style="font-style: italic;">something</span>'
485 indicate the dependencies on external libraries or utilities.<br
486 style="font-weight: normal;">
487 </span><span style="font-weight: normal;">Advanced options are not
491 <table border="1" cellpadding="2" cellspacing="2" width="100%">
494 <td style="vertical-align: top;"><span style="font-weight: bold;">Option</span><br>
496 <td style="vertical-align: top;"><span style="font-weight: bold;">Explaination</span><br>
498 <td style="vertical-align: top;"><span style="font-weight: bold;">Default</span></td>
503 <td>Set to ON to build all the components of the toolkit<br>
505 <td style="vertical-align: top;">OFF<br>
509 <td style="vertical-align: top;">BBTK_COMPILE_DEBUG_MESSAGES</td>
510 <td style="vertical-align: top;">Compile debug messages in bbtk ?<br>
512 <td style="vertical-align: top;">OFF<br>
516 <td style="vertical-align: top;">BBTK_COMPILE_ERROR_MESSAGES</td>
517 <td style="vertical-align: top;">Compile error messages in bbtk ?<br>
519 <td style="vertical-align: top;">ON<br>
523 <td style="vertical-align: top;">BBTK_COMPILE_MESSAGES</td>
524 <td style="vertical-align: top;">Compile normal messages in bbtk ?<br>
526 <td style="vertical-align: top;">ON<br>
530 <td style="vertical-align: top;">BBTK_COMPILE_WARNING_MESSAGES</td>
531 <td style="vertical-align: top;">Compile warning messages in bbtk
534 <td style="vertical-align: top;">ON<br>
538 <td style="vertical-align: top;">BBTK_USE_SHIPPED_BOOST<br>
540 <td style="vertical-align: top;">Use the boost C++ library
541 provided with bbtk ?<br>
542 If not set you need to have boost installed <br>
544 <td style="vertical-align: top;">ON<br>
548 <td style="vertical-align: top;">BBTK_USE_WXWIDGETS<br>
550 <td style="vertical-align: top;">Build with the wxWidgets library
553 <td style="vertical-align: top;">ON<br>
557 <td>BUILD_APPLICATIONS<br>
559 <td> Build bbtk applications : development studio (bbStudio),
561 (bbi), xml to C++ code (bbfy), etc. ?<br>
563 <td style="vertical-align: top;">ON<br>
567 <td>BUILD_BBS_APPLI_BINARIES<br>
569 <td>Build executables for all bbs applications of all packages ?<br>
570 If set will compile all bbs of folder appli of all packages, using bbc<br>
572 <td style="vertical-align: top;">OFF<br>
576 <td style="vertical-align: top;">BUILD_BBTK_DOC<br>
578 <td style="vertical-align: top;">Build bbtk documentations ?<br>
580 <td style="vertical-align: top;">OFF<br>
585 style="vertical-align: top; background-color: rgb(192, 192, 192);">BUILD_BBTK_DOC_DOXYGEN<br>
588 style="vertical-align: top; background-color: rgb(192, 192, 192);">Build
589 doxygen documentation for bbtk kernel?<br>
593 style="vertical-align: top; background-color: rgb(192, 192, 192);">ON<br>
598 style="vertical-align: top; background-color: rgb(192, 192, 192);">BUILD_BBTK_DOC_GUIDES_HTML<br>
601 style="vertical-align: top; background-color: rgb(192, 192, 192);">Build
602 html versions of the guides ?<br>
603 Requires latex, pdftex, tth<br>
606 style="vertical-align: top; background-color: rgb(192, 192, 192);">ON<br>
611 style="vertical-align: top; background-color: rgb(192, 192, 192);">BUILD_BBTK_DOC_GUIDES_PDF<br>
614 style="vertical-align: top; background-color: rgb(192, 192, 192);">Build
615 pdf versions of the guides ?<br>
616 Requires latex, pdftex<br>
619 style="vertical-align: top; background-color: rgb(192, 192, 192);">ON<br>
624 style="vertical-align: top; background-color: rgb(192, 192, 192);">BUILD_BBTK_DOC_PACKAGE<br>
627 style="vertical-align: top; background-color: rgb(192, 192, 192);">Build
628 packages html documentations ?<br>
631 style="vertical-align: top; background-color: rgb(192, 192, 192);">ON<br>
635 <td style="vertical-align: top;">BUILD_BBTK_PACKAGE_demo<br>
637 <td style="vertical-align: top;">Build the package 'demo' ?<br>
638 Requires : itk, vtk<br>
640 <td style="vertical-align: top;">OFF<br>
644 <td>BUILD_BBTK_PACKAGE_itk<br>
646 <td>Build the package 'itk' ?<br>
649 <td style="vertical-align: top;">OFF<br>
653 <td style="vertical-align: top;"> BUILD_BBTK_PACKAGE_itkvtk<br>
655 <td style="vertical-align: top;">Build the package 'itkvtk ?<br>
656 Requires : itk, vtk<br>
658 <td style="vertical-align: top;">OFF</td>
661 <td style="vertical-align: top;">BUILD_BBTK_PACKAGE_std<br>
663 <td style="vertical-align: top;">Build the package 'std' ?</td>
664 <td style="vertical-align: top;">OFF</td>
667 <td style="vertical-align: top;">BUILD_BBTK_PACKAGE_toolsbbtk<br>
669 <td style="vertical-align: top;">Build the package 'toolsbbtk' ?</td>
670 <td style="vertical-align: top;">ON<br>
674 <td style="vertical-align: top;">BUILD_BBTK_PACKAGE_vtk <br>
676 <td style="vertical-align: top;">Build the package 'vtk' ?<br>
679 <td style="vertical-align: top;">ON<br>
683 <td style="vertical-align: top;">BUILD_BBTK_PACKAGE_wx<br>
685 <td style="vertical-align: top;">Build the package 'wx' ?<br>
686 Requires : wxWidgets<br>
688 <td style="vertical-align: top;">ON<br>
692 <td style="vertical-align: top;">BUILD_BBTK_PACKAGE_wxvtk<br>
694 <td style="vertical-align: top;">Build the package 'wxvtk' ?<br>
695 Requires : wxWidgets, vtk<br>
697 <td style="vertical-align: top;"><br>
702 style="vertical-align: top; background-color: rgb(204, 204, 204);">
706 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
707 itk images of dimension 2 ?<br>
710 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
715 style="vertical-align: top; background-color: rgb(204, 204, 204);">
718 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
719 itk images of dimension 3 ?<br>
722 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
727 style="vertical-align: top; background-color: rgb(204, 204, 204);">
728 itk_IMAGE_DIM_4 </td>
730 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
731 itk images of dimension 4 ?<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_CHAR<br>
743 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
744 itk images of type 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_DOUBLE</td>
755 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
756 itk images of type double ?<br>
759 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
764 style="vertical-align: top; background-color: rgb(204, 204, 204);">
765 itk_IMAGE_TYPE_FLOAT<br>
768 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
769 itk images of type float ?<br>
772 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
777 style="vertical-align: top; background-color: rgb(204, 204, 204);">
778 itk_IMAGE_TYPE_INT<br>
781 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
782 itk images of type int ?<br>
785 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
790 style="vertical-align: top; background-color: rgb(204, 204, 204);">
791 itk_IMAGE_TYPE_SHORT<br>
794 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
795 itk images of type short ?<br>
798 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
803 style="vertical-align: top; background-color: rgb(204, 204, 204);">
804 itk_IMAGE_TYPE_UCHAR<br>
807 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
808 itk images of type unsigned char ?<br>
811 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
816 style="vertical-align: top; background-color: rgb(204, 204, 204);">
817 itk_IMAGE_TYPE_UINT<br>
820 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
821 itk images of type unsigned int ?<br>
824 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
829 style="vertical-align: top; background-color: rgb(204, 204, 204);">
830 itk_IMAGE_TYPE_USHORT<br>
833 style="vertical-align: top; background-color: rgb(204, 204, 204);">Compile
834 itk images of type unsigned short ?<br>
837 style="vertical-align: top; background-color: rgb(204, 204, 204);">ON<br>
841 <td>BUILD_BBTK_PACKAGE_itkvtk<br>
843 <td>Build the package 'itkvtk' ?<br>
844 Requires : itk, vtk<br>
846 <td style="vertical-align: top;">OFF<br>
850 <td>BUILD_BBTK_PACKAGE_std<br>
852 <td>Build the package 'std ? </td>
853 <td style="vertical-align: top;">OFF<br>
857 <td style="vertical-align: top;">BUILD_BBTK_PACKAGE_test</td>
858 <td style="vertical-align: top;">Build the package 'test' ?</td>
859 <td style="vertical-align: top;">OFF<br>
863 <td style="vertical-align: top;">BUILD_BBTK_PACKAGE_toolsbbtkt</td>
864 <td style="vertical-align: top;">Build the package 'toolsbbtk' ?</td>
865 <td style="vertical-align: top;">OFF<br>
869 <td>BUILD_BBTK_PACKAGE_vtk<br>
871 <td>Build the package 'vtk' ?<br>
874 <td style="vertical-align: top;">OFF<br>
878 <td>BUILD_BBTK_PACKAGE_wx<br>
880 <td>Build the package 'wx' ?<br>
881 Requires : wxWidgets<br>
883 <td style="vertical-align: top;">OFF<br>
887 <td>BUILD_BBTK_PACKAGE_wxvtk<br>
889 <td>Build the package 'wxvtk' ?<br>
890 Requires : wxWidgets, vtk<br>
892 <td style="vertical-align: top;">OFF<br>
896 <td>CMAKE_BUILD_TYPE<br>
898 <td>Set to "Debug" or "Release" <br>
900 <td style="vertical-align: top;">-<br>
904 <td>CMAKE_INSTALL_PREFIX<br>
906 <td> Set the install folder<br>
908 <td style="vertical-align: top;">/usr/local<br>
913 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_BOOST<br>
916 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">Automatically
917 set to ON when boost C++ library is needed with the choices made<br>
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_DOXYGEN<br>
928 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">Automatically
929 set to ON when doxygen is needed with the choices made</td>
931 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>
935 <td style="vertical-align: top;">USE_GDCM<br>
937 <td style="vertical-align: top;">Build with the GDCM library?<br>
939 <td style="vertical-align: top;">OFF<br>
943 <td style="vertical-align: top;">USE_GSMIS</td>
944 <td style="vertical-align: top;">Build with the GSMIS library?</td>
945 <td style="vertical-align: top;">OFF<br>
950 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_ITK<br>
953 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">Automatically
954 set to ON when ITK library is needed with the choices made</td>
956 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>
961 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_LATEX<br>
964 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">Automatically
965 set to ON when LaTeX is needed with the choices made</td>
967 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>
972 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_TTH<br>
975 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">Automatically
976 set to ON when tth is needed with the choices made</td>
978 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>
983 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_VTK<br>
986 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">Automatically
987 set to ON when VTK library is needed with the choices made</td>
989 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>
994 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">USE_WXWIDGETS<br>
997 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">Automatically
998 set to ON when wxWidgets library is needed with the choices made</td>
1000 style="vertical-align: top; background-color: rgb(102, 102, 102); font-style: italic;">-<br>