X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=INSTALL;h=2df8268570fecc2690632be754cc033fc4149e90;hb=25efc388a88895fc1ba2b961d5f27488ab3c073c;hp=67f032ae0c8d1d48b994e6e37d7ee40029a3af3c;hpb=e9f89d060b210d02d1724cef4ac8456c624094cb;p=gdcm.git diff --git a/INSTALL b/INSTALL index 67f032ae..2df82685 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 install + +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.