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>
12 <big style="font-weight: normal;"><big><big>
13 BBTK build instructions
14 </big></big></big></big><br>
15 <div style="text-align: left;">
17 <!--mozToc h1 1 h2 2 h3 3 h4 4 h5 5 h6 6-->
18 <li><a href="#mozTocId820435">Linux</a>
20 <li><a href="#mozTocId745245">Requirements</a></li>
21 <li><a href="#mozTocId775505">Known working configurations</a></li>
22 <li><a href="#mozTocId410988">Install from sources</a></li>
25 <li><a href="#mozTocId777026">Windows </a>
27 <li><a href="#mozTocId761363">Requirements</a></li>
28 <li><a href="#mozTocId681503">Known working configurations</a></li>
29 <li><a href="#mozTocId618885">Steps </a></li>
32 <li><a href="#mozTocId915759">CMake build options</a></li>
34 <hr style="width: 100%; height: 2px;"></div>
36 <h1><a class="mozTocH2" name="mozTocId820435"></a><big><big><big><small><small><span
37 style="font-weight: normal;">Linux</span></small></small></big></big></big></h1>
38 <h2><a class="mozTocH3" name="mozTocId745245"></a><big><big><big><small><small><span
39 style="font-weight: normal;">Requirements</span></small></small></big></big></big></h2>
41 <li><span style="font-weight: normal;">cmake >= 2.4.6</span></li>
44 <li><span style="font-weight: normal;"><a
45 href="http://www.cmake.org/HTML/Download.html">http://www.cmake.org/HTML/Download.html</a></span></li>
48 <li><span style="font-weight: normal;">wxWidgets >=
49 2.6.3</span><span style="font-weight: normal;"> yum install </span>
51 <li><span style="font-weight: normal;">yum install wxGTK-devel
52 (fedora extras repos)<br>
56 <li><span style="font-weight: normal;">optional : <br>
59 <li><span style="font-weight: normal;">L<sub>a</sub>T<sub>e</sub>X
60 to generate the pdf doc</span><br>
61 <span style="font-weight: normal;"></span></li>
62 <li><span style="font-weight: normal;">tth to generate the html doc</span></li>
64 <li><span style="font-weight: normal;"><a
65 href="http://hutchinson.belmont.ma.us/tth/">http://hutchinson.belmont.ma.us/tth/</a><br>
68 <li><span style="font-weight: normal;">itk to compile packages itk,
71 <li><span style="font-weight: normal;">yum install
72 InsightToolkit-devel (creatis repos)<br>
75 <li><span style="font-weight: normal;">vtk to compile package vtk,
78 <li><span style="font-weight: normal;">yum install vtk-devel
79 (fedora extras repos)</span><big><big><big><small><small><span
80 style="font-weight: normal;"></span></small></small></big></big></big></li>
81 <li style="font-weight: bold;"><big><big><small><small><span
82 style="font-weight: normal;">Patches needed:</span></small></small></big></big></li>
84 <li style="font-weight: bold;"><big><big><small><small><span
85 style="font-weight: normal;">problem with
86 /usr/lib/vtk-5.0/VTKConfig.cmake : </span></small></small></big></big><big><big><small><small><span
87 style="font-weight: normal;">had
88 to change line 9: SET(VTK_INSTALL_PREFIX "${VTK_DIR}") by
89 SET(VTK_INSTALL_PREFIX "") to be compatible with
90 CMake/Modules/FindVTK.cmake</span></small></small></big></big><big><big><small><small><span
91 style="font-weight: normal;"></span></small></small></big></big></li>
92 <li style="font-weight: bold;"><big><big><small><small><span
93 style="font-weight: normal;">add /usr/local/lib in /etc/ld.so.conf or
94 set LD_LIBRARY_PATH</span></small></small></big></big></li>
99 <big><big><big><small><small></small></small></big></big></big>
100 <h2><a class="mozTocH3" name="mozTocId775505"></a><big><big><big><small><small><span
101 style="font-weight: normal;">Known working configurations</span></small></small></big></big></big></h2>
102 <big><big><big><small><small><span style="font-weight: normal;"> <small>
104 </small></span></small></small></big></big></big><big><big><small><small><span
105 style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
106 style="font-weight: normal;">
107 4.2.0 (OpenSuse 10.3)<br style="font-weight: normal;">
108 </span></small></small></big></big><big><big><small><small><span
109 style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
110 style="font-weight: normal;">
111 4.1.2 20070925 (Red Hat 4.1.2-33)<br>
112 </span></small></small></big></big><big><big><small><small><span
113 style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
114 style="font-weight: normal;"> </span></small></small></big></big><big><big><small><small><span
115 style="font-weight: normal;"> 4.1.2
116 20070626 (Red Hat 4.1.2-13)<br>
117 </span></small></small></big></big><big><big><small><small><span
118 style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
119 style="font-weight: normal;">
120 4.1.1 20070105 (Red Hat 4.1.1-51)</span></small></small></big></big><small><br
121 style="font-weight: normal;">
122 </small><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
123 style="font-weight: normal;">
124 4.0.2 20051125 (Red Hat 4.0.2-8)</span></small></small></big></big><small><br
125 style="font-weight: normal;">
126 </small><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
127 style="font-weight: normal;"> </span></small></small></big></big><big><big><small><small><span
128 style="font-weight: normal;">
129 - cmake: </span></small></small></big></big><small><br
130 style="font-weight: normal;">
131 </small><big><big><small><small><span style="font-weight: normal;">
132 2.4-patch 6</span></small></small></big></big><small><br
133 style="font-weight: normal;">
134 </small><big><big><small><small><span style="font-weight: normal;">
135 - wxGTK-devel: </span></small></small></big></big><small><br
136 style="font-weight: normal;">
137 </small><big><big><small><small><span style="font-weight: normal;"> </span></small></small></big></big><big><big><small><small><span
138 style="font-weight: normal;">
139 2.8.6</span></small></small></big></big><small><br
140 style="font-weight: normal;">
141 </small><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
142 style="font-weight: normal;"> </span></small></small></big></big><big><big><small><small><span
143 style="font-weight: normal;">
144 2.6.3</span></small></small></big></big><small><br
145 style="font-weight: normal;">
146 </small><big><big><small><small><span style="font-weight: normal;"> </span></small></small></big></big><big><big><small><small><span
147 style="font-weight: normal;">
148 - InsightToolkit:</span></small></small></big></big><small><br
149 style="font-weight: normal;">
150 </small><big><big><small><small><span style="font-weight: normal;">
151 3.4</span></small></small></big></big><small><br
152 style="font-weight: normal;">
153 </small><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
154 style="font-weight: normal;">
155 3.2</span></small></small></big></big><small><br
156 style="font-weight: normal;">
157 </small><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
158 style="font-weight: normal;">
159 2.8.1-5</span></small></small></big></big><small><br
160 style="font-weight: normal;">
161 </small><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
162 style="font-weight: normal;"></span></small></small></big></big><big><big><small><small><span
163 style="font-weight: normal;">
164 - vtk:</span></small></small></big></big><small><br
165 style="font-weight: normal;">
166 </small><big><big><small><small><span style="font-weight: normal;">
167 5.0.3-1</span></small></small></big></big><big><big><big><small><small><span
168 style="font-weight: normal;"></span></small></small></big></big></big><br>
169 <h2><a class="mozTocH3" name="mozTocId410988"></a><big><span
170 style="font-weight: normal;">Install from sources<span
171 style="font-weight: bold;"></span></span></big></h2>
172 <span style="font-weight: normal;"> Uncompress the
173 archive or checkout the source from the cvs repository (see <a
174 href="download.html">Download page</a>).<br>
175 In the parent folder of the bbtk sources type :<br>
176 > mkdir bbtkbin; cd bbtkbin<br>
177 > ccmake ../bbtk<br>
178 <span style="font-style: italic;">Check the desired
179 options. See </span><a style="font-style: italic;"
180 href="#mozTocId915759">CMake build options</a><span
181 style="font-style: italic;"> for a description. <br>
183 </span></span><span style="font-weight: normal;"><span
184 style="font-weight: bold;"><span style="color: rgb(204, 102, 0);">==>
185 IMPORTANT NOTE </span>:</span><br>
187 </span><span style="font-weight: normal;"><span
188 style="font-style: italic;"></span><span style="font-style: italic;">
189 Type 'c' <span style="color: rgb(204, 102, 0);">many
190 times</span> (untill no area is flagged with a '*' -Linux- nor
191 highlighted in red -Windows- then type 'g', to generate.</span><br>
192 > make<br>
193 > sudo make install<br>
194 Enjoy !<br>
197 <hr style="width: 100%; height: 2px;">
198 <h1><a class="mozTocH2" name="mozTocId777026"></a><big><big><big><small><small><span
199 style="font-weight: normal;">Windows </span></small></small></big></big></big></h1>
200 <big><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big></big>
201 <h2><a class="mozTocH3" name="mozTocId761363"></a><big><big><big><small><small><span
202 style="font-weight: normal;"></span></small></small></big></big></big><big><big><big><small><small><span
203 style="font-weight: normal;">Requirements</span></small></small></big></big></big></h2>
206 <li><big><span style="font-weight: normal;">.net </span></big><br>
207 <big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big></li>
208 <li><big><big><small><small><span style="font-weight: normal;"><a
209 href="download/win/cmake-2.4.6-win32-x86.exe">CMake
210 2.4 patch 6</a></span></small></small></big></big><big
211 style="font-weight: normal;"><big><big><small><small><small> to
212 generate the project file for .net</small></small></small></big></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</span></small></small></big></big></li>
217 <h3><big><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big></big>Optional</h3>
219 <li><big><big><small><small><span style="font-weight: normal;"><a
220 href="download/win/TortoiseCVS-1.8.31.exe">TortoiseVCS</a> (Direct CVS
221 tool within Explorer) and </span></small></small></big></big><big><big><small><small><span
222 style="font-weight: normal;"><a
223 href="http://www.creatis.insa-lyon.fr/mywiki/SSH">Putty</a> (Telnet
224 and SSH client) to get the sources from the cvs module</span></small></small></big></big></li>
225 <li><big><big><small><small><span style="font-weight: normal;"><a
226 href="download/vtk-5.0.3.tar.gz">VTK
227 5.0.3 source</a> (VTK 5.0.3 source code) to build vtk boxes (and if you
228 want : </span></small></small></big></big><big><big><small><small><span
229 style="font-weight: normal;"><a href="download/vtkdata-5.0.3.tar.gz">VTK
230 5.0.3 data</a> (VTK 5.0.3 data folder) and </span></small></small></big></big><big><big><small><small><span
231 style="font-weight: normal;"><a href="download/vtkDocHtml-5.0.3.tar.gz">VTK
232 5.0.3 documentation</a> (VTK 5.0.3 html documentation))</span></small></small></big></big></li>
233 <li><big><big><small><small><span style="font-weight: normal;"><a
234 href="download/InsightToolkit-3.4.0.tar.gz">InsightToolkit-3.4.0</a>
235 to build itk boxes</span></small></small></big></big><big><big><small><small><span
236 style="font-weight: normal;"></span></small></small></big></big></li>
237 <li><big><big><small><small><span style="font-weight: normal;"><a
238 href="download/win/basic-miktex-2.6.2742.exe">Miktex</a> (TeX compiler
240 translation tool) to build documentations</span></small></small></big></big><big><big><small><small><span
241 style="font-weight: normal;"></span></small></small></big></big></li>
242 <li><big><big><small><small><span style="font-weight: normal;"><a
243 href="download/win/tth_exe.zip">TTH</a> (TeX to HTML translation
244 tool) to build html documentations</span></small></small></big></big></li>
245 <li><big><big><small><small><span style="font-weight: normal;"><a
246 href="download/win/doxygen-1.5.3-setup.exe">Doxygen</a> to build the
247 code documentations</span></small></small></big></big></li>
248 <li><big><big><small><small><span style="font-weight: normal;"><a
249 href="download/win/graphviz-2.2.1.exe">Graphviz</a> to generate the
250 graphs in doxygen doc and black box pipelines graphs</span></small></small></big></big>
254 <big><big><big><small><small><span style="font-weight: normal;"></span></small></small></big></big></big>
255 <h2><a class="mozTocH2" name="mozTocId681503"></a><big><big><big><small><small><span
256 style="font-weight: normal;">Known working configurations</span></small></small></big></big></big></h2>
257 <ul style="font-weight: bold;">
258 <li><big><big><small><small><span style="font-weight: normal;">.net <br>
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_toolsbbtk</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>