2 The project uses CMake as compilation helper. It should compile on the three
3 major box flavors (linux, windows, mac). However, as of december 2014, it
4 has only been tested on linux Fedora 20 and Ubuntu 14.04.
10 2. Visualization Toolkit -VTK- (>=6.1.0)
13 Select the soruce and the binary folder
14 Select the desired version of generator to compile (Visual Studio 12 2013) and click on configure and wait until the options are enabled, and the make sure
15 2.2 Required cmake flags:
19 Module_VtkGUISupportQt ON
20 Module_VtkGUISupportQtOpenGL ON
21 Module_VtkGUISupportQtSql OFF
22 Module_VtkGUISupportQtWebkit OFF
25 3. Insight Toolkit -ITK- (>=4.6.0)
26 3.1 Required cmake flags:
27 BUILD_SHARED_LIBS:BOOL=ON
28 Module_ITKVtkGlue:BOOL=ON
30 4. WARNING: Notes on compilation on MS-Windows
31 As the time being (circa dec 2014), I've been using MSVC-2013
32 (compiler version 12). As expected, weird behavior is related to
33 this config. Please take into account the following in order to
34 have a successful compilation:
35 4.1 If you want to build the Qt-based code, please be sure that
36 it was compiled with EXACTLY the same compiler you are using.
37 4.2 Since the dll load-unload procedure in MSWin is kind of magic,
38 VTK should be compiled as shared libraries and ITK should be
39 compiled as static libraries. This allows a correct
40 execution of the SmartPointer's thus preventing anoying crashes.
41 4.3 If you found more problems in any MSWin config, please let us know at
42 florez-l@javeriana.edu.co
47 Build example applications? (most of them are command line)
48 CMAKE_BUILD_TYPE:STRING
50 CMAKE_INSTALL_PREFIX:STRING
51 Where to put installation products? (in windows this option has no use)