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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1519
239104d270e1 Tune up install docs
stever <stever>
parents:
diff changeset
1 See INSTALL for generic installation instructions.
239104d270e1 Tune up install docs
stever <stever>
parents:
diff changeset
2
2421
ba548427bede * updated all my email addresses
rotor <rotor>
parents: 2419
diff changeset
3 Shared or Static libraries?
ba548427bede * updated all my email addresses
rotor <rotor>
parents: 2419
diff changeset
4 ---------------------------
1519
239104d270e1 Tune up install docs
stever <stever>
parents:
diff changeset
5 By default, only a static version (i.e. libminc.a) will be produced.
239104d270e1 Tune up install docs
stever <stever>
parents:
diff changeset
6 A shared version of the library may be enabled using the configure
239104d270e1 Tune up install docs
stever <stever>
parents:
diff changeset
7 flag "--enabled-shared". See also "--disable-static".
239104d270e1 Tune up install docs
stever <stever>
parents:
diff changeset
8
239104d270e1 Tune up install docs
stever <stever>
parents:
diff changeset
9
2421
ba548427bede * updated all my email addresses
rotor <rotor>
parents: 2419
diff changeset
10 Finding NetCDF/HDF5
ba548427bede * updated all my email addresses
rotor <rotor>
parents: 2419
diff changeset
11 -------------------
ba548427bede * updated all my email addresses
rotor <rotor>
parents: 2419
diff changeset
12 The NetCDF and HDF libraries must be built and installed before you
ba548427bede * updated all my email addresses
rotor <rotor>
parents: 2419
diff changeset
13 can build MINC. Teaching MINC to find the NetCDF library depends on where
ba548427bede * updated all my email addresses
rotor <rotor>
parents: 2419
diff changeset
14 the latter is installed. There are two possibilities here:
1520
4e0e71e5242a Final mods for the release.
stever <stever>
parents: 1519
diff changeset
15
2506
26b834cf2953 * removed GETTING_STARTED
rotor <rotor>
parents: 2421
diff changeset
16 1. NetCDF and HDF5 may be installed in a location where the compiler can find
1520
4e0e71e5242a Final mods for the release.
stever <stever>
parents: 1519
diff changeset
17 it. If so, you have nothing to do.
1519
239104d270e1 Tune up install docs
stever <stever>
parents:
diff changeset
18
2506
26b834cf2953 * removed GETTING_STARTED
rotor <rotor>
parents: 2421
diff changeset
19 2. Third-party libraries are commonly installed with headers
26b834cf2953 * removed GETTING_STARTED
rotor <rotor>
parents: 2421
diff changeset
20 in /usr/local/include and libraries in /usr/local/include.
26b834cf2953 * removed GETTING_STARTED
rotor <rotor>
parents: 2421
diff changeset
21 If this is the case, you should pass the argument
26b834cf2953 * removed GETTING_STARTED
rotor <rotor>
parents: 2421
diff changeset
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
26b834cf2953 * removed GETTING_STARTED
rotor <rotor>
parents: 2421
diff changeset
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
ba548427bede * updated all my email addresses
rotor <rotor>
parents: 2419
diff changeset
28 Compiling
ba548427bede * updated all my email addresses
rotor <rotor>
parents: 2419
diff changeset
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
239104d270e1 Tune up install docs
stever <stever>
parents:
diff changeset
37
239104d270e1 Tune up install docs
stever <stever>
parents:
diff changeset
38
2421
ba548427bede * updated all my email addresses
rotor <rotor>
parents: 2419
diff changeset
39 Building against the MINC2 library
ba548427bede * updated all my email addresses
rotor <rotor>
parents: 2419
diff changeset
40 ----------------------------------
ba548427bede * updated all my email addresses
rotor <rotor>
parents: 2419
diff changeset
41 From here on in if you wish to build against the MINC2 library with
ba548427bede * updated all my email addresses
rotor <rotor>
parents: 2419
diff changeset
42 other packages you will have to use the --with-minc2 configure flag