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)
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)
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>
27 * \section DoxyInstallLinux Un*x
28 * \subsection DoxyInstallLinuxCvs Starting from cvs sources.
30 <A HREF="http://www.creatis.insa-lyon.fr/Public/Gdcm/cvs.html">
31 sources through cvs</A>,
33 * - <TT>./autogen.sh --help</TT> in order to select your preferences
34 * - <TT>./autogen.sh</TT> to launch the usual automake/autoconf
36 * -# <TT>./autogen.sh --prefix=/where/ever/you/want</TT>
37 * to configure the script to force installation in a specified
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>
48 * - <TT>make instal</TT>
49 * - As usual, you can optionnally:
50 * -# <TT>make clean</TT>
51 * -# <TT>make CFLAGS='-g' CXXFLAGS='-DPUB_DICT_PATH=\"/usr/local/share/gdcm/\" -D__STDC_LIMIT_MACROS'</TT>
52 * if you are in hurry and want to omit "-g -O2" default flags
53 * -# <TT>make snapshot</TT>
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>
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.