]> Creatis software - gdcm.git/blob - INSTALL
* python/setup.py now works on Un*x. (harder than I thougth)
[gdcm.git] / INSTALL
1 * For compiling the library and C++ test programs:
2
3 ./autogen.sh
4 ./configure (optional if just after autogen.sh)
5 make
6 make install
7
8 You can use the --prefix option of the configure script to force installation
9 in some place (default is /usr/local/DCMlib):
10
11 ./configure --prefix=/where/ever/you/want
12
13
14 * For testing in C++:
15 ./Test/test ../Data/CR-MONO1-10-chest.dcm (or any other file in there)
16
17
18 * For testing in Python:
19 cd python/gdcmPython
20 make  (requires SWIG Version 1.3.16u i.e. the contemporary devel version)
21 python testSuite.py (test suite written in unittest, you should use python2)
22
23
24 * For manual test in python:
25 cd python/demo
26 python test.py ../../Data/CR-MONO1-10-chest.dcm (or any other file)
27
28
29 -----------------------------------------------------------------------------
30 Documentation can be found in the Doc sub-directory. Please refer to 
31 README file within Doc.