changeset 677:27acbc5985f5

notes for wheezy
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 13 Jan 2014 16:08:15 +0100
parents aa5ca7a2166f
children 3e4c2433f12b
files LinuxCompilation.txt OrthancServer/FromDcmtkBridge.cpp
diffstat 2 files changed, 21 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/LinuxCompilation.txt	Fri Jan 03 17:49:31 2014 +0100
+++ b/LinuxCompilation.txt	Mon Jan 13 16:08:15 2014 +0100
@@ -60,7 +60,7 @@
 Orthanc users.
 
 
-SUPPORTED - Debian Squeeze (6.0)
+SUPPORTED - Debian Squeeze (6.x)
 --------------------------------
 
 # sudo apt-get install build-essential unzip cmake mercurial \
@@ -76,6 +76,24 @@
 	~/Orthanc 
 
 
+SUPPORTED - Debian Wheezy (7.x)
+-------------------------------
+
+# sudo apt-get install build-essential unzip cmake mercurial \
+       	       	       uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \
+       	       	       libgtest-dev libpng-dev libsqlite3-dev \
+       	       	       libssl-dev zlib1g-dev libdcmtk2-dev \
+       	       	       libboost-all-dev libwrap0-dev
+
+# cmake -DALLOW_DOWNLOADS=ON \
+        -DUSE_SYSTEM_GOOGLE_LOG=OFF \
+	-DUSE_SYSTEM_MONGOOSE=OFF \
+	-DUSE_SYSTEM_JSONCPP=OFF \
+        -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON \
+        -DDCMTK_DICTIONARY_DIR:PATH=/usr/share/dcmtk \
+	~/Orthanc
+
+
 SUPPORTED - Debian Jessie/Sid
 -----------------------------
 
--- a/OrthancServer/FromDcmtkBridge.cpp	Fri Jan 03 17:49:31 2014 +0100
+++ b/OrthancServer/FromDcmtkBridge.cpp	Mon Jan 13 16:08:15 2014 +0100
@@ -235,7 +235,7 @@
             // http://www.stat.columbia.edu/~jakulin/jpeg-ls/
             // http://itohws03.ee.noda.sut.ac.jp/~matsuda/mrp/
 
-            printf("ITEM: %d\n", pixelItem->getLength());
+            printf("ITEM: %d %d\n", transferSyntax, pixelItem->getLength());
             char buf[64];
             sprintf(buf, "/tmp/toto-%06ld.jpg", i);
             FILE* fp = fopen(buf, "wb");
@@ -260,7 +260,7 @@
       {
         DcmPixelData& pixelData = dynamic_cast<DcmPixelData&>(element);
         AnswerPixelData(output, pixelData, transferSyntax);
-        return;
+        //return;
       }
       catch (std::bad_cast&)
       {