summaryrefslogtreecommitdiff
path: root/doc/common/installation.h
blob: 12407c18ead0798b1e5a3806032d23cc451064a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
/*! \page installation GUDHI installation
 *  \tableofcontents
 * As GUDHI is a header only library, there is no need to install the library.
 * 
 * Examples of GUDHI headers inclusion can be found in \ref demos.
 * 
 * \section compiling Compiling
 * The library uses c++11 and requires <a target="_blank" href="http://www.boost.org/">Boost</a>  &ge; 1.48.0
 * and <a target="_blank" href="https://www.cmake.org/">CMake</a> &ge; 3.1.
 * It is a multi-platform library and compiles on Linux, Mac OSX and Visual Studio 2015.
 * 
 * \subsection demos Demos and examples
 * To build the demos and examples, run the following commands in a terminal:
\verbatim  cd /path-to-gudhi/
mkdir build
cd build/
cmake ..
make \endverbatim
 * A list of examples is available <a href="examples.html">here</a>.
 * 
 * \subsection testsuites Test suites
 * To test your build, run the following command in a terminal:
 * \verbatim  make test \endverbatim
 * 
 * \subsection documentationgeneration Documentation
 * To generate the documentation, <a target="_blank" href="http://www.doxygen.org/">Doxygen</a> is required.
 * Run the following command in a terminal:
\verbatim
make doxygen
# Documentation will be generated in the folder YYYY-MM-DD-hh-mm-ss_GUDHI_X.Y.Z/doc/html/
# You can customize the directory name by calling `cmake -DUSER_VERSION_DIR=/my/custom/folder`
\endverbatim
 *
 * \section optionallibrary Optional third-party library
 * \subsection gmp GMP
 * The multi-field persistent homology algorithm requires GMP which is a free library for arbitrary-precision
 * arithmetic, operating on signed integers, rational numbers, and floating point numbers.
 * 
 * The following example requires the <a target="_blank" href="http://gmplib.org/">GNU Multiple Precision Arithmetic
 * Library</a> (GMP) and will not be built if GMP is not installed:
 * \li <a href="_persistent_cohomology_2rips_multifield_persistence_8cpp-example.html">
 * Persistent_cohomology/rips_multifield_persistence.cpp</a>
 *
 * Having GMP version 4.2 or higher installed is recommended.
 * 
 * \subsection cgal CGAL
 * The \ref alpha_complex data structure, \ref bottleneck_distance, and few examples requires CGAL, which is a C++
 * library which provides easy access to efficient and reliable geometric algorithms.
 *
 * \note There is no need to install CGAL, you can just <CODE>cmake . && make</CODE> CGAL (or even
 * <CODE>cmake -DCGAL_HEADER_ONLY=ON .</CODE> for CGAL version &ge; 4.8.0), thereafter you will be able to compile
 * GUDHI by calling <CODE>cmake -DCGAL_DIR=/your/path/to/CGAL-X.Y .. && make</CODE>
 * 
 * Having CGAL version 4.4.0 or higher installed is recommended. The procedure to install this library according to
 * your operating system is detailed here http://doc.cgal.org/latest/Manual/installation.html
 * 
 * The following examples/utilities require the <a target="_blank" href="http://www.cgal.org/">Computational Geometry Algorithms
 * Library</a> (CGAL \cite cgal:eb-15b) and will not be built if CGAL is not installed:
 * \li <a href="_alpha_complex_2alpha_complex_3d_persistence_8cpp-example.html">
 * Alpha_complex/alpha_complex_3d_persistence.cpp</a>
 * \li <a href="_alpha_complex_2exact_alpha_complex_3d_persistence_8cpp-example.html">
 * Alpha_complex/exact_alpha_complex_3d_persistence.cpp</a>
 * \li <a href="_alpha_complex_2weighted_alpha_complex_3d_persistence_8cpp-example.html">
 * Alpha_complex/weighted_alpha_complex_3d_persistence.cpp</a>
 * \li <a href="_simplex_tree_2example_alpha_shapes_3_simplex_tree_from_off_file_8cpp-example.html">
 * Simplex_tree/example_alpha_shapes_3_simplex_tree_from_off_file.cpp</a>
 * 
 * The following examples/utilities require CGAL version &ge; 4.6.0:
 * \li <a href="_witness_complex_2strong_witness_persistence_8cpp-example.html">
 * Witness_complex/strong_witness_persistence.cpp</a>
 * \li <a href="_witness_complex_2weak_witness_persistence_8cpp-example.html">
 * Witness_complex/weak_witness_persistence.cpp</a>
 * \li <a href="_witness_complex_2example_strong_witness_complex_off_8cpp-example.html">
 * Witness_complex/example_strong_witness_complex_off.cpp</a>
 * \li <a href="_witness_complex_2example_witness_complex_off_8cpp-example.html">
 * Witness_complex/example_witness_complex_off.cpp</a>
 * \li <a href="_witness_complex_2example_witness_complex_sphere_8cpp-example.html">
 * Witness_complex/example_witness_complex_sphere.cpp</a>
 *
 * The following example requires CGAL version &ge; 4.7.0:
 * \li <a href="_alpha_complex_2_alpha_complex_from_off_8cpp-example.html">
 * Alpha_complex/Alpha_complex_from_off.cpp</a>
 * \li <a href="_alpha_complex_2_alpha_complex_from_points_8cpp-example.html">
 * Alpha_complex/Alpha_complex_from_points.cpp</a>
 * \li <a href="_alpha_complex_2alpha_complex_persistence_8cpp-example.html">
 * Alpha_complex/alpha_complex_persistence.cpp</a>
 * \li <a href="_alpha_complex_2periodic_alpha_complex_3d_persistence_8cpp-example.html">
 * Alpha_complex/periodic_alpha_complex_3d_persistence.cpp</a>
 * \li <a href="_persistent_cohomology_2custom_persistence_sort_8cpp-example.html">
 * Persistent_cohomology/custom_persistence_sort.cpp</a>
 * 
 * The following example requires CGAL version &ge; 4.8.1:
 * \li <a href="_bottleneck_distance_2alpha_rips_persistence_bottleneck_distance_8cpp-example.html">
 * Bottleneck_distance/alpha_rips_persistence_bottleneck_distance.cpp.cpp</a>
 * \li <a href="_bottleneck_distance_2bottleneck_basic_example_8cpp-example.html">
 * Bottleneck_distance/bottleneck_basic_example.cpp</a>
 * \li <a href="_bottleneck_distance_2bottleneck_read_file_8cpp-example.html">
 * Bottleneck_distance/bottleneck_distance.cpp</a>
 * \li <a href="_nerve__g_i_c_2_coord_g_i_c_8cpp-example.html">
 * Nerve_GIC/CoordGIC.cpp</a>
 * \li <a href="_nerve__g_i_c_2_func_g_i_c_8cpp-example.html">
 * Nerve_GIC/FuncGIC.cpp</a>
 * \li <a href="_nerve__g_i_c_2_nerve_8cpp-example.html">
 * Nerve_GIC/Nerve.cpp</a>
 * \li <a href="_nerve__g_i_c_2_voronoi_g_i_c_8cpp-example.html">
 * Nerve_GIC/VoronoiGIC.cpp</a>
 * \li <a href="_spatial_searching_2example_spatial_searching_8cpp-example.html">
 * Spatial_searching/example_spatial_searching.cpp</a>
 * \li <a href="_subsampling_2example_choose_n_farthest_points_8cpp-example.html">
 * Subsampling/example_choose_n_farthest_points.cpp</a>
 * \li <a href="_subsampling_2example_custom_kernel_8cpp-example.html">
 * Subsampling/example_custom_kernel.cpp</a>
 * \li <a href="_subsampling_2example_pick_n_random_points_8cpp-example.html">
 * Subsampling/example_pick_n_random_points.cpp</a>
 * \li <a href="_subsampling_2example_sparsify_point_set_8cpp-example.html">
 * Subsampling/example_sparsify_point_set.cpp</a>
 * \li <a href="_tangential_complex_2example_basic_8cpp-example.html">
 * Tangential_complex/example_basic.cpp</a>
 * \li <a href="_tangential_complex_2example_with_perturb_8cpp-example.html">
 * Tangential_complex/example_with_perturb.cpp</a>
 *
 * \subsection eigen3 Eigen3
 * The \ref alpha_complex data structure and few examples requires
 * <a target="_blank" href="http://eigen.tuxfamily.org/">Eigen3</a> is a C++ template library for linear algebra:
 * matrices, vectors, numerical solvers, and related algorithms.
 * 
 * The following examples/utilities require the <a target="_blank" href="http://eigen.tuxfamily.org/">Eigen3</a> and will not be
 * built if Eigen3 is not installed:
 * \li <a href="_alpha_complex_2_alpha_complex_from_off_8cpp-example.html">
 * Alpha_complex/Alpha_complex_from_off.cpp</a>
 * \li <a href="_alpha_complex_2_alpha_complex_from_points_8cpp-example.html">
 * Alpha_complex/Alpha_complex_from_points.cpp</a>
 * \li <a href="_alpha_complex_2alpha_complex_persistence_8cpp-example.html">
 * Alpha_complex/alpha_complex_persistence.cpp</a>
 * \li <a href="_alpha_complex_2periodic_alpha_complex_3d_persistence_8cpp-example.html">
 * Alpha_complex/periodic_alpha_complex_3d_persistence.cpp</a>
 * \li <a href="_bottleneck_distance_2alpha_rips_persistence_bottleneck_distance_8cpp-example.html">
 * Bottleneck_distance/alpha_rips_persistence_bottleneck_distance.cpp.cpp</a>
 * \li <a href="_persistent_cohomology_2custom_persistence_sort_8cpp-example.html">
 * Persistent_cohomology/custom_persistence_sort.cpp</a>
 * \li <a href="_spatial_searching_2example_spatial_searching_8cpp-example.html">
 * Spatial_searching/example_spatial_searching.cpp</a>
 * \li <a href="_subsampling_2example_choose_n_farthest_points_8cpp-example.html">
 * Subsampling/example_choose_n_farthest_points.cpp</a>
 * \li <a href="_subsampling_2example_custom_kernel_8cpp-example.html">
 * Subsampling/example_custom_kernel.cpp</a>
 * \li <a href="_subsampling_2example_pick_n_random_points_8cpp-example.html">
 * Subsampling/example_pick_n_random_points.cpp</a>
 * \li <a href="_subsampling_2example_sparsify_point_set_8cpp-example.html">
 * Subsampling/example_sparsify_point_set.cpp</a>
 * \li <a href="_tangential_complex_2example_basic_8cpp-example.html">
 * Tangential_complex/example_basic.cpp</a>
 * \li <a href="_tangential_complex_2example_with_perturb_8cpp-example.html">
 * Tangential_complex/example_with_perturb.cpp</a>
 * \li <a href="_witness_complex_2strong_witness_persistence_8cpp-example.html">
 * Witness_complex/strong_witness_persistence.cpp</a>
 * \li <a href="_witness_complex_2weak_witness_persistence_8cpp-example.html">
 * Witness_complex/weak_witness_persistence.cpp</a>
 * \li <a href="_witness_complex_2example_strong_witness_complex_off_8cpp-example.html">
 * Witness_complex/example_strong_witness_complex_off.cpp</a>
 * \li <a href="_witness_complex_2example_witness_complex_off_8cpp-example.html">
 * Witness_complex/example_witness_complex_off.cpp</a>
 * \li <a href="_witness_complex_2example_witness_complex_sphere_8cpp-example.html">
 * Witness_complex/example_witness_complex_sphere.cpp</a>
 *
 * \subsection tbb Threading Building Blocks
 * <a target="_blank" href="https://www.threadingbuildingblocks.org/">Intel&reg; TBB</a> lets you easily write parallel
 * C++ programs that take full advantage of multicore performance, that are portable and composable, and that have
 * future-proof scalability.
 * 
 * Having Intel&reg; TBB installed is recommended to parallelize and accelerate some GUDHI computations.
 * 
 * The following examples/utilities are using Intel&reg; TBB if installed:
 * \li <a href="_alpha_complex_2_alpha_complex_from_off_8cpp-example.html">
 * Alpha_complex/Alpha_complex_from_off.cpp</a>
 * \li <a href="_alpha_complex_2_alpha_complex_from_points_8cpp-example.html">
 * Alpha_complex/Alpha_complex_from_points.cpp</a>
 * \li <a href="_alpha_complex_2alpha_complex_3d_persistence_8cpp-example.html">
 * Alpha_complex/alpha_complex_3d_persistence.cpp</a>
 * \li <a href="_alpha_complex_2alpha_complex_persistence_8cpp-example.html">
 * Alpha_complex/alpha_complex_persistence.cpp</a>
 * \li <a href="_alpha_complex_2exact_alpha_complex_3d_persistence_8cpp-example.html">
 * Alpha_complex/exact_alpha_complex_3d_persistence.cpp</a>
 * \li <a href="_alpha_complex_2periodic_alpha_complex_3d_persistence_8cpp-example.html">
 * Alpha_complex/periodic_alpha_complex_3d_persistence.cpp</a>
 * \li <a href="_alpha_complex_2weighted_alpha_complex_3d_persistence_8cpp-example.html">
 * Alpha_complex/weighted_alpha_complex_3d_persistence.cpp</a>
 * \li <a href="_bitmap_cubical_complex_2_bitmap_cubical_complex_8cpp-example.html">
 * Bitmap_cubical_complex/cubical_complex_persistence.cpp</a>
 * \li <a href="_bitmap_cubical_complex_2_bitmap_cubical_complex_periodic_boundary_conditions_8cpp-example.html">
 * Bitmap_cubical_complex/periodic_cubical_complex_persistence.cpp</a>
 * \li <a href="_bitmap_cubical_complex_2_random_bitmap_cubical_complex_8cpp-example.html">
 * Bitmap_cubical_complex/Random_bitmap_cubical_complex.cpp</a>
 * \li <a href="_nerve__g_i_c_2_coord_g_i_c_8cpp-example.html">
 * Nerve_GIC/CoordGIC.cpp</a>
 * \li <a href="_nerve__g_i_c_2_func_g_i_c_8cpp-example.html">
 * Nerve_GIC/FuncGIC.cpp</a>
 * \li <a href="_nerve__g_i_c_2_nerve_8cpp-example.html">
 * Nerve_GIC/Nerve.cpp</a>
 * \li <a href="_nerve__g_i_c_2_voronoi_g_i_c_8cpp-example.html">
 * Nerve_GIC/VoronoiGIC.cpp</a>
 * \li <a href="_simplex_tree_2simple_simplex_tree_8cpp-example.html">
 * Simplex_tree/simple_simplex_tree.cpp</a>
 * \li <a href="_simplex_tree_2example_alpha_shapes_3_simplex_tree_from_off_file_8cpp-example.html">
 * Simplex_tree/example_alpha_shapes_3_simplex_tree_from_off_file.cpp</a>
 * \li <a href="_simplex_tree_2simplex_tree_from_cliques_of_graph_8cpp-example.html">
 * Simplex_tree/simplex_tree_from_cliques_of_graph.cpp</a>
 * \li <a href="_simplex_tree_2graph_expansion_with_blocker_8cpp-example.html">
 * Simplex_tree/graph_expansion_with_blocker.cpp</a>
 * \li <a href="_persistent_cohomology_2alpha_complex_3d_persistence_8cpp-example.html">
 * Persistent_cohomology/alpha_complex_3d_persistence.cpp</a>
 * \li <a href="_persistent_cohomology_2alpha_complex_persistence_8cpp-example.html">
 * Persistent_cohomology/alpha_complex_persistence.cpp</a>
 * \li <a href="_persistent_cohomology_2rips_persistence_via_boundary_matrix_8cpp-example.html">
 * Persistent_cohomology/rips_persistence_via_boundary_matrix.cpp</a>
 * \li <a href="_persistent_cohomology_2persistence_from_file_8cpp-example.html">
 * Persistent_cohomology/persistence_from_file.cpp</a>
 * \li <a href="_persistent_cohomology_2persistence_from_simple_simplex_tree_8cpp-example.html">
 * Persistent_cohomology/persistence_from_simple_simplex_tree.cpp</a>
 * \li <a href="_persistent_cohomology_2plain_homology_8cpp-example.html">
 * Persistent_cohomology/plain_homology.cpp</a>
 * \li <a href="_persistent_cohomology_2rips_multifield_persistence_8cpp-example.html">
 * Persistent_cohomology/rips_multifield_persistence.cpp</a>
 * \li <a href="_persistent_cohomology_2rips_persistence_step_by_step_8cpp-example.html">
 * Persistent_cohomology/rips_persistence_step_by_step.cpp</a>
 * \li <a href="_persistent_cohomology_2exact_alpha_complex_3d_persistence_8cpp-example.html">
 * Persistent_cohomology/exact_alpha_complex_3d_persistence.cpp</a>
 * \li <a href="_persistent_cohomology_2weighted_alpha_complex_3d_persistence_8cpp-example.html">
 * Persistent_cohomology/weighted_alpha_complex_3d_persistence.cpp</a>
 * \li <a href="_persistent_cohomology_2custom_persistence_sort_8cpp-example.html">
 * Persistent_cohomology/custom_persistence_sort.cpp</a>
 * \li <a href="_rips_complex_2example_one_skeleton_rips_from_points_8cpp-example.html">
 * Rips_complex/example_one_skeleton_rips_from_points.cpp</a>
 * \li <a href="_rips_complex_2example_rips_complex_from_off_file_8cpp-example.html">
 * Rips_complex/example_rips_complex_from_off_file.cpp</a>
 * \li <a href="_rips_complex_2rips_distance_matrix_persistence_8cpp-example.html">
 * Rips_complex/rips_distance_matrix_persistence.cpp</a>
 * \li <a href="_rips_complex_2rips_persistence_8cpp-example.html">
 * Rips_complex/rips_persistence.cpp</a>
 * \li <a href="_witness_complex_2strong_witness_persistence_8cpp-example.html">
 * Witness_complex/strong_witness_persistence.cpp</a>
 * \li <a href="_witness_complex_2weak_witness_persistence_8cpp-example.html">
 * Witness_complex/weak_witness_persistence.cpp</a>
 * \li <a href="_witness_complex_2example_nearest_landmark_table_8cpp-example.html">
 * Witness_complex/example_nearest_landmark_table.cpp</a>
 *
 * \section Contributions Bug reports and contributions
 * Please help us improving the quality of the GUDHI library. You may report bugs or suggestions to:
 * \verbatim  Contact: gudhi-users@lists.gforge.inria.fr \endverbatim
 * 
 * GUDHI is open to external contributions. If you want to join our development team, please contact us.
 * 
*/

/*! \page Citation Acknowledging the GUDHI library
 * We kindly ask users to cite the GUDHI library as appropriately as possible in their papers, and to mention the use
 * of the GUDHI library on the web pages of their projects using GUDHI and provide us with links to these web pages.
 * Feel free to contact us in case you have any question or remark on this topic.
 * 
 * We provide \ref GudhiBibtex entries for the modules of the User and Reference Manual, as well as for publications
 * directly related to the GUDHI library.
 * \section GudhiBibtex GUDHI bibtex
 * \verbinclude  biblio/how_to_cite_gudhi.bib
*/