Mercurial > hg > minc-tools
annotate INSTALL.minc @ 2631:4cba3cbb796d
fixed mincpic kompilation for CMake
author | Vladimir S. FONOV <vladimir.fonov@gmail.com> |
---|---|
date | Mon, 12 Mar 2012 16:28:43 -0400 |
parents | d96afe437734 |
children |
rev | line source |
---|---|
1519 | 1 See INSTALL for generic installation instructions. |
2 | |
2421 | 3 Shared or Static libraries? |
4 --------------------------- | |
1519 | 5 By default, only a static version (i.e. libminc.a) will be produced. |
6 A shared version of the library may be enabled using the configure | |
7 flag "--enabled-shared". See also "--disable-static". | |
8 | |
9 | |
2421 | 10 Finding NetCDF/HDF5 |
11 ------------------- | |
12 The NetCDF and HDF libraries must be built and installed before you | |
13 can build MINC. Teaching MINC to find the NetCDF library depends on where | |
14 the latter is installed. There are two possibilities here: | |
1520 | 15 |
2506 | 16 1. NetCDF and HDF5 may be installed in a location where the compiler can find |
1520 | 17 it. If so, you have nothing to do. |
1519 | 18 |
2506 | 19 2. Third-party libraries are commonly installed with headers |
20 in /usr/local/include and libraries in /usr/local/include. | |
21 If this is the case, you should pass the argument | |
22 "--with-build-path=/usr/local" to configure as such: | |
2419
a5c29657c9dc
* updated the INSTALL.minc file to match MINC2
rotor <rotor>
parents:
1520
diff
changeset
|
23 |
2506 | 24 ./configure --with-build-path=/usr/local <options> |
2419
a5c29657c9dc
* updated the INSTALL.minc file to match MINC2
rotor <rotor>
parents:
1520
diff
changeset
|
25 |
2514
d96afe437734
improved accuracy for non-linear transformation of slices
claude <claude>
parents:
2506
diff
changeset
|
26 3. Use NetCDF 4.X and HDF5 1.8.X for minc-2.1.X. |
2419
a5c29657c9dc
* updated the INSTALL.minc file to match MINC2
rotor <rotor>
parents:
1520
diff
changeset
|
27 |
2421 | 28 Compiling |
29 --------- | |
2419
a5c29657c9dc
* updated the INSTALL.minc file to match MINC2
rotor <rotor>
parents:
1520
diff
changeset
|
30 Now that things are configured all you need to do is run: |
a5c29657c9dc
* updated the INSTALL.minc file to match MINC2
rotor <rotor>
parents:
1520
diff
changeset
|
31 |
a5c29657c9dc
* updated the INSTALL.minc file to match MINC2
rotor <rotor>
parents:
1520
diff
changeset
|
32 make |
a5c29657c9dc
* updated the INSTALL.minc file to match MINC2
rotor <rotor>
parents:
1520
diff
changeset
|
33 |
a5c29657c9dc
* updated the INSTALL.minc file to match MINC2
rotor <rotor>
parents:
1520
diff
changeset
|
34 and then |
a5c29657c9dc
* updated the INSTALL.minc file to match MINC2
rotor <rotor>
parents:
1520
diff
changeset
|
35 |
a5c29657c9dc
* updated the INSTALL.minc file to match MINC2
rotor <rotor>
parents:
1520
diff
changeset
|
36 make install |
1519 | 37 |
38 | |
2421 | 39 Building against the MINC2 library |
40 ---------------------------------- | |
41 From here on in if you wish to build against the MINC2 library with | |
42 other packages you will have to use the --with-minc2 configure flag |