X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=INSTALL;h=2df8268570fecc2690632be754cc033fc4149e90;hb=885580b981648efd2b861bb92873c43d09757f27;hp=da4a77a4a69d252004eccca3a56df108b96e6f76;hpb=884472a9ba7fe8b2750daca844a7e382d0d97e33;p=gdcm.git diff --git a/INSTALL b/INSTALL index da4a77a4..2df82685 100644 --- a/INSTALL +++ b/INSTALL @@ -1,5 +1,31 @@ -cd src +* For compiling the library and C++ test programs: + +./autogen.sh +./configure (optional if just after autogen.sh) make -cd ../test -make -./test +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/gdcmPython +make (requires SWIG Version 1.3.16u i.e. the contemporary devel version) +python testSuite.py (test suite written in unittest, you should use python2) + + +* 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.