]> Creatis software - gdcm.git/blob - Doc/DoxyInstallation.txt
* setup.py is again effective on un*x (takes into account the
[gdcm.git] / Doc / DoxyInstallation.txt
1 /**
2  * \page DoxyInstallation Installing gdcm and gdcmPython
3  * \section DoxyRequirements Requirements
4  *  - For the core C++ library you shall need a C++ compiler with the
5  *    <list> and <map> STL containers. Gdcm is developped and tested under:
6  *    -# GNU/linux (gcc 2.96.x)
7  *    -# Win32/VC++ 6.x
8  *     .
9  *  - For \ref DoxyPythonComplete you shall need:
10  *    -# <A HREF="http://www.python.org/2.2.2/">Python version 2.2.x</A>
11  *    -# <A HREF="http://www.swig.org">Swig</A> version >= 1.3.17x (in order
12  *       to handle C++ member overloading, shadow classes and static methods)
13  *       \htmlonly
14  *       <UL>
15  *         <LI>Rpms for GNU/linux:
16  *      <A HREF="http://www.creatis.insa-lyon.fr/rpm/swig13-1.3.17-1.i386.rpm">
17  *             swig13-1.3.17-1.i386.rpm</A>,
18  *      <A HREF="http://www.creatis.insa-lyon.fr/rpm/swig13-1.3.17-1.src.rpm">
19  *             swig13-1.3.17-1.src.rpm</A>.
20  *         <LI>for Win32 you shall need to compile 
21  *             <A HREF="http://www.swig.org/download.html">the sources</A>
22  *       </UL>
23  *       \endhtmlonly
24  *     .
25  *  .
26  * 
27  * \section DoxyInstallLinux Un*x
28  * \subsection DoxyInstallLinuxCvs Starting from cvs sources.
29  *     - Retrieve the
30          <A HREF="http://www.creatis.insa-lyon.fr/Public/Gdcm/cvs.html">
31          sources through cvs</A>,
32  *     - <TT>cd gdcm</TT>
33  *     - <TT>./autogen.sh --help</TT> in order to select your preferences
34  *     - <TT>./autogen.sh</TT> to launch the usual automake/autoconf
35  *       process e.g.
36  *       -# <TT>./autogen.sh --prefix=/where/ever/you/want</TT>
37  *              to configure the script to force installation in a specified
38  *              place.
39  *       -# <TT>./autogen.sh --enable-python</TT> to generate the
40  *              python wrappers (a.k.a. gdcmPython)
41  *       -# <TT>./autogen.sh --enable-vtk</TT> to generate the
42  *              vtk clases that shallow wrap gdcm,
43  *       -# <TT>./autogen.sh --enable-doxygen</TT> to generate the
44  *              <A HREF="http://www.doxygen.org/">doxygen</A>
45  *              based documentation
46  *        .
47  *     - <TT>make</TT> (or <TT>make 'CFLAGS=-g</TT>...)
48  *     - <TT>make instal</TT>
49  *     - As usual, you can optionnally:
50  *       -# <TT>make clean</TT>
51  *       -# <TT>make 'CFLAGS='</TT> if you are in hurry and want to omit
52  *          "-g -O2" default flags
53  *       -# <TT>make snapshot</TT>
54  *        .
55  *     .
56  * \subsection DoxyInstallLinuxSources Starting from the sources (snapshot).
57  *     The process is exactly the same as the one using the cvs sources
58  *     (see above) except that you shall use <TT>./configure</TT> instead
59  *     of <TT>./autogen.sh</TT>
60  *
61  * \section DoxyInstallWindoze Windows
62  *     - Retrieve the sources through the tarball
63  *     - Launch VC++ by opening the <TT>gdcm.dsw</TT> workspace.
64  *     - Proceed with building the required projects.
65  *     .
66  */