X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=INSTALL;h=ecae1fa749fe4f7a8c5f34fb378b61847d7d2ad3;hb=7589d23967892c94462e22a49ec50fcd225c5c38;hp=67f032ae0c8d1d48b994e6e37d7ee40029a3af3c;hpb=e9f89d060b210d02d1724cef4ac8456c624094cb;p=gdcm.git diff --git a/INSTALL b/INSTALL index 67f032ae..ecae1fa7 100644 --- a/INSTALL +++ b/INSTALL @@ -1,16 +1,31 @@ -cd src -make +* For compiling the library and C++ test programs: -For testing in C++: -cd Test +./autogen.sh +./configure (optional if just after autogen.sh) make -./test ../Data/CR-MONO1-10-chest.dcm (or any other file in there) +make instal + +You can use the --prefix option of the configure script to force installation +in some place (default is /usr/local/DCMlib): + +./configure --prefix=/where/ever/you/want + + +* For testing in C++: +./Test/test ../Data/CR-MONO1-10-chest.dcm (or any other file in there) -For testing in Python: -cd python + +* For testing in Python: +cd python/gdcmPython make (requires SWIG Version 1.3.16u i.e. the contemporary devel version) -python testSuite.py (test suite written in unittest) +python testSuite.py (test suite written in unittest, you should use python2) + -For manual test in python: +* For manual test in python: cd python/demo python test.py ../../Data/CR-MONO1-10-chest.dcm (or any other file) + + +----------------------------------------------------------------------------- +Documentation can be found in the Doc sub-directory. Please refer to +README file within Doc.