Mercurial > hg > orthanc
comparison LinuxCompilation.txt @ 930:27d256e0b458 mac
integration mainline -> mac
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 24 Jun 2014 16:47:18 +0200 |
parents | d21031a7a6e4 |
children | 9c7f5fd8a7a2 |
comparison
equal
deleted
inserted
replaced
928:882833632b1f | 930:27d256e0b458 |
---|---|
71 # cmake -DALLOW_DOWNLOADS=ON \ | 71 # cmake -DALLOW_DOWNLOADS=ON \ |
72 -DUSE_SYSTEM_BOOST=OFF \ | 72 -DUSE_SYSTEM_BOOST=OFF \ |
73 -DUSE_SYSTEM_DCMTK=OFF \ | 73 -DUSE_SYSTEM_DCMTK=OFF \ |
74 -DUSE_SYSTEM_MONGOOSE=OFF \ | 74 -DUSE_SYSTEM_MONGOOSE=OFF \ |
75 -DUSE_SYSTEM_JSONCPP=OFF \ | 75 -DUSE_SYSTEM_JSONCPP=OFF \ |
76 -DENABLE_JPEG=OFF \ | |
77 -DENABLE_JPEG_LOSSLESS=OFF \ | |
76 ~/Orthanc | 78 ~/Orthanc |
77 | 79 |
78 | 80 |
79 SUPPORTED - Debian Wheezy (7.x) | 81 SUPPORTED - Debian Wheezy (7.x) |
80 ------------------------------- | 82 ------------------------------- |
87 | 89 |
88 # cmake -DALLOW_DOWNLOADS=ON \ | 90 # cmake -DALLOW_DOWNLOADS=ON \ |
89 -DUSE_SYSTEM_GOOGLE_LOG=OFF \ | 91 -DUSE_SYSTEM_GOOGLE_LOG=OFF \ |
90 -DUSE_SYSTEM_MONGOOSE=OFF \ | 92 -DUSE_SYSTEM_MONGOOSE=OFF \ |
91 -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON \ | 93 -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON \ |
94 -DENABLE_JPEG=OFF \ | |
95 -DENABLE_JPEG_LOSSLESS=OFF \ | |
92 ~/Orthanc | 96 ~/Orthanc |
93 | 97 |
94 | 98 |
95 SUPPORTED - Debian Jessie/Sid | 99 SUPPORTED - Debian Jessie/Sid |
96 ----------------------------- | 100 ----------------------------- |
102 libboost-all-dev libwrap0-dev libjsoncpp-dev | 106 libboost-all-dev libwrap0-dev libjsoncpp-dev |
103 | 107 |
104 # cmake -DALLOW_DOWNLOADS=ON \ | 108 # cmake -DALLOW_DOWNLOADS=ON \ |
105 -DUSE_SYSTEM_MONGOOSE=OFF \ | 109 -DUSE_SYSTEM_MONGOOSE=OFF \ |
106 -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON \ | 110 -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON \ |
111 -DENABLE_JPEG=OFF \ | |
112 -DENABLE_JPEG_LOSSLESS=OFF \ | |
107 ~/Orthanc | 113 ~/Orthanc |
108 | 114 |
109 Note: Have also a look at the official package: | 115 Note: Have also a look at the official package: |
110 http://anonscm.debian.org/viewvc/debian-med/trunk/packages/orthanc/trunk/debian/ | 116 http://anonscm.debian.org/viewvc/debian-med/trunk/packages/orthanc/trunk/debian/ |
111 | 117 |
122 -DALLOW_DOWNLOADS=ON \ | 128 -DALLOW_DOWNLOADS=ON \ |
123 -DUSE_SYSTEM_MONGOOSE=OFF \ | 129 -DUSE_SYSTEM_MONGOOSE=OFF \ |
124 -DUSE_SYSTEM_JSONCPP=OFF \ | 130 -DUSE_SYSTEM_JSONCPP=OFF \ |
125 -DUSE_SYSTEM_GOOGLE_LOG=OFF \ | 131 -DUSE_SYSTEM_GOOGLE_LOG=OFF \ |
126 -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON \ | 132 -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON \ |
133 -DENABLE_JPEG=OFF \ | |
134 -DENABLE_JPEG_LOSSLESS=OFF \ | |
127 ~/Orthanc | 135 ~/Orthanc |
128 | 136 |
129 | 137 |
130 SUPPORTED - Ubuntu 12.10 | 138 SUPPORTED - Ubuntu 12.10 |
131 ------------------------ | 139 ------------------------ |
132 | 140 |
133 # sudo apt-get install build-essential unzip cmake mercurial \ | 141 # sudo apt-get install build-essential unzip cmake mercurial \ |
134 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \ | 142 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \ |
135 libgoogle-glog-dev libgtest-dev libpng-dev \ | 143 libgoogle-glog-dev libgtest-dev libpng-dev \ |
136 libsqlite3-dev libssl-dev zlib1g-dev \ | 144 libsqlite3-dev libssl-dev zlib1g-dev \ |
137 libdcmtk2-dev libboost-all-dev libwrap0-dev | 145 libdcmtk2-dev libboost-all-dev libwrap0-dev libcharls-dev |
146 | |
147 With JPEG: | |
148 | |
149 # cmake "-DDCMTK_LIBRARIES=CharLS;dcmjpls;wrap;oflog" \ | |
150 -DALLOW_DOWNLOADS=ON \ | |
151 -DUSE_SYSTEM_MONGOOSE=OFF \ | |
152 -DUSE_SYSTEM_JSONCPP=OFF \ | |
153 -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON \ | |
154 ~/Orthanc | |
155 | |
156 | |
157 Without JPEG: | |
138 | 158 |
139 # cmake "-DDCMTK_LIBRARIES=wrap;oflog" \ | 159 # cmake "-DDCMTK_LIBRARIES=wrap;oflog" \ |
140 -DALLOW_DOWNLOADS=ON \ | 160 -DALLOW_DOWNLOADS=ON \ |
141 -DUSE_SYSTEM_MONGOOSE=OFF \ | 161 -DUSE_SYSTEM_MONGOOSE=OFF \ |
142 -DUSE_SYSTEM_JSONCPP=OFF \ | 162 -DUSE_SYSTEM_JSONCPP=OFF \ |
143 -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON \ | 163 -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON \ |
164 -DENABLE_JPEG=OFF \ | |
165 -DENABLE_JPEG_LOSSLESS=OFF \ | |
144 ~/Orthanc | 166 ~/Orthanc |
145 | 167 |
146 | 168 |
147 SUPPORTED - Ubuntu 13.10 | 169 SUPPORTED - Ubuntu 13.10 |
148 ------------------------ | 170 ------------------------ |
155 | 177 |
156 # cmake "-DDCMTK_LIBRARIES=wrap;oflog" \ | 178 # cmake "-DDCMTK_LIBRARIES=wrap;oflog" \ |
157 -DALLOW_DOWNLOADS=ON \ | 179 -DALLOW_DOWNLOADS=ON \ |
158 -DUSE_SYSTEM_MONGOOSE=OFF \ | 180 -DUSE_SYSTEM_MONGOOSE=OFF \ |
159 -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON \ | 181 -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON \ |
182 -DENABLE_JPEG=OFF \ | |
183 -DENABLE_JPEG_LOSSLESS=OFF \ | |
160 ~/Orthanc | 184 ~/Orthanc |
161 | 185 |
162 | 186 |
163 | 187 |
164 SUPPORTED - Fedora 18/19/20 | 188 SUPPORTED - Fedora 18/19/20 |
167 # sudo yum install make automake gcc gcc-c++ python cmake \ | 191 # sudo yum install make automake gcc gcc-c++ python cmake \ |
168 boost-devel curl-devel dcmtk-devel glog-devel \ | 192 boost-devel curl-devel dcmtk-devel glog-devel \ |
169 gtest-devel libpng-devel libsqlite3x-devel libuuid-devel \ | 193 gtest-devel libpng-devel libsqlite3x-devel libuuid-devel \ |
170 mongoose-devel openssl-devel jsoncpp-devel lua-devel | 194 mongoose-devel openssl-devel jsoncpp-devel lua-devel |
171 | 195 |
172 # cmake ~/Orthanc | 196 # cmake -DENABLE_JPEG=OFF \ |
173 | 197 -DENABLE_JPEG_LOSSLESS=OFF \ |
198 ~/Orthanc | |
199 | |
174 Note: Have also a look at the official package: | 200 Note: Have also a look at the official package: |
175 http://pkgs.fedoraproject.org/cgit/orthanc.git/tree/?h=f18 | 201 http://pkgs.fedoraproject.org/cgit/orthanc.git/tree/?h=f18 |
176 | 202 |
177 | 203 |
178 | 204 |