Mercurial > hg > orthanc
annotate LinuxCompilation.txt @ 1361:94ffb597d297
refactoring of C-Find SCP
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 15 May 2015 17:19:33 +0200 |
parents | 724dc4e17d38 |
children | d29e56f59dcf |
rev | line source |
---|---|
634 | 1 This file is a complement to "INSTALL", which contains instructions |
2 that are specific to Linux. | |
3 | |
4 | |
5 Static linking for Linux | |
6 ======================== | |
7 | |
8 The most simple way of building Orthanc under Linux consists in | |
9 statically linking against all the third-party dependencies. In this | |
10 case, the system-wide libraries will not be used. The build tool | |
11 (CMake) will download the sources of all the required packages and | |
1208
6502517fd4af
improved doc thanks to Vincent Kersten
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1150
diff
changeset
|
12 automatically compile them. |
634 | 13 |
1208
6502517fd4af
improved doc thanks to Vincent Kersten
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1150
diff
changeset
|
14 This process should work on any Linux distribution, provided that a |
6502517fd4af
improved doc thanks to Vincent Kersten
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1150
diff
changeset
|
15 C/C++ compiler ("build-essential" in Debian-based systems), the Python |
6502517fd4af
improved doc thanks to Vincent Kersten
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1150
diff
changeset
|
16 interpreter, CMake, the "unzip" system tool, and the development |
6502517fd4af
improved doc thanks to Vincent Kersten
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1150
diff
changeset
|
17 package for libuuid ("uuid-dev" in Debian) are installed. |
936
9c7f5fd8a7a2
build instructions for Mac OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
875
diff
changeset
|
18 |
634 | 19 |
1208
6502517fd4af
improved doc thanks to Vincent Kersten
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1150
diff
changeset
|
20 We now make the assumption that Orthanc source code is placed in the |
6502517fd4af
improved doc thanks to Vincent Kersten
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1150
diff
changeset
|
21 folder "~/Orthanc" and that the binaries will be compiled to |
6502517fd4af
improved doc thanks to Vincent Kersten
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1150
diff
changeset
|
22 "~/OrthancBuild". To build binaries with debug information: |
634 | 23 |
24 # cd ~/OrthancBuild | |
25 # cmake -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Debug ~/Orthanc | |
26 # make | |
27 # make doc | |
28 | |
29 | |
30 To build a release version: | |
31 | |
32 # cd ~/OrthancBuild | |
33 # cmake -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Release ~/Orthanc | |
34 # make | |
35 # make doc | |
36 | |
37 | |
1208
6502517fd4af
improved doc thanks to Vincent Kersten
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1150
diff
changeset
|
38 Note 1- When the "STATIC_BUILD" option is set to "ON", the build tool |
634 | 39 will not ask you the permission to download packages from the |
40 Internet. | |
41 | |
1208
6502517fd4af
improved doc thanks to Vincent Kersten
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1150
diff
changeset
|
42 Note 2- If the development package of libuuid was not installed when |
6502517fd4af
improved doc thanks to Vincent Kersten
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1150
diff
changeset
|
43 first invoking cmake, you will have to manually remove the build |
6502517fd4af
improved doc thanks to Vincent Kersten
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1150
diff
changeset
|
44 directory ("rm -rf ~/OrthancBuild") after installing this package, |
6502517fd4af
improved doc thanks to Vincent Kersten
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1150
diff
changeset
|
45 then run cmake again. |
6502517fd4af
improved doc thanks to Vincent Kersten
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1150
diff
changeset
|
46 |
1219
c4ae92753d57
note about doxygen
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1208
diff
changeset
|
47 Note 3- To build the documentation, you will have to install doxyen. |
c4ae92753d57
note about doxygen
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1208
diff
changeset
|
48 |
634 | 49 |
50 Use system-wide libraries under Linux | |
51 ===================================== | |
52 | |
53 Under Linux, by default, Orthanc links against the shared libraries of | |
54 your system (the "STATIC_BUILD" option is set to "OFF"). This greatly | |
55 speeds up the compilation. This is also required when building | |
56 packages for Linux distributions. Because using system libraries is | |
57 the default behavior, you just have to use: | |
58 | |
59 # cd ~/OrthancBuild | |
60 # cmake -DCMAKE_BUILD_TYPE=Debug ~/Orthanc | |
61 # make | |
62 | |
1219
c4ae92753d57
note about doxygen
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1208
diff
changeset
|
63 Note that to build the documentation, you will have to install doxyen. |
634 | 64 |
65 However, on some Linux distributions, it is still required to download | |
66 and static link against some third-party dependencies, e.g. when the | |
67 system-wide library is not shipped or is outdated. Because of | |
68 difference in the packaging of the various Linux distribution, it is | |
69 also sometimes required to fine-tune some options. | |
70 | |
71 You will find below build instructions for specific Linux | |
72 distributions. Distributions tagged by "SUPPORTED" are tested by | |
73 Sébastien Jodogne. Distributions tagged by "CONTRIBUTED" come from | |
74 Orthanc users. | |
75 | |
76 | |
677 | 77 SUPPORTED - Debian Squeeze (6.x) |
634 | 78 -------------------------------- |
79 | |
80 # sudo apt-get install build-essential unzip cmake mercurial \ | |
635 | 81 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \ |
640 | 82 libgoogle-glog-dev libpng-dev libgtest-dev \ |
635 | 83 libsqlite3-dev libssl-dev zlib1g-dev |
634 | 84 |
85 # cmake -DALLOW_DOWNLOADS=ON \ | |
86 -DUSE_SYSTEM_BOOST=OFF \ | |
87 -DUSE_SYSTEM_DCMTK=OFF \ | |
88 -DUSE_SYSTEM_MONGOOSE=OFF \ | |
89 -DUSE_SYSTEM_JSONCPP=OFF \ | |
1046
00f9f36bcd94
on-the-fly conversion of JSON to XML according to HTTP Accept
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
936
diff
changeset
|
90 -DUSE_SYSTEM_PUGIXML=OFF \ |
875 | 91 -DENABLE_JPEG=OFF \ |
92 -DENABLE_JPEG_LOSSLESS=OFF \ | |
634 | 93 ~/Orthanc |
94 | |
95 | |
677 | 96 SUPPORTED - Debian Wheezy (7.x) |
97 ------------------------------- | |
98 | |
99 # sudo apt-get install build-essential unzip cmake mercurial \ | |
100 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \ | |
101 libgtest-dev libpng-dev libsqlite3-dev \ | |
102 libssl-dev zlib1g-dev libdcmtk2-dev \ | |
678 | 103 libboost-all-dev libwrap0-dev libjsoncpp-dev |
677 | 104 |
105 # cmake -DALLOW_DOWNLOADS=ON \ | |
106 -DUSE_SYSTEM_GOOGLE_LOG=OFF \ | |
107 -DUSE_SYSTEM_MONGOOSE=OFF \ | |
108 -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON \ | |
1046
00f9f36bcd94
on-the-fly conversion of JSON to XML according to HTTP Accept
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
936
diff
changeset
|
109 -DUSE_SYSTEM_PUGIXML=OFF \ |
875 | 110 -DENABLE_JPEG=OFF \ |
111 -DENABLE_JPEG_LOSSLESS=OFF \ | |
677 | 112 ~/Orthanc |
113 | |
114 | |
636
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
115 SUPPORTED - Debian Jessie/Sid |
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
116 ----------------------------- |
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
117 |
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
118 # sudo apt-get install build-essential unzip cmake mercurial \ |
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
119 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \ |
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
120 libgoogle-glog-dev libgtest-dev libpng-dev \ |
678 | 121 libsqlite3-dev libssl-dev zlib1g-dev libdcmtk2-dev \ |
1077 | 122 libboost-all-dev libwrap0-dev libjsoncpp-dev libpugixml-dev |
636
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
123 |
651 | 124 # cmake -DALLOW_DOWNLOADS=ON \ |
636
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
125 -DUSE_SYSTEM_MONGOOSE=OFF \ |
638 | 126 -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON \ |
1078 | 127 -DDCMTK_LIBRARIES=dcmjpls \ |
636
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
128 ~/Orthanc |
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
129 |
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
130 Note: Have also a look at the official package: |
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
131 http://anonscm.debian.org/viewvc/debian-med/trunk/packages/orthanc/trunk/debian/ |
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
132 |
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
133 |
1349 | 134 SUPPORTED - Ubuntu 12.04.5 LTS |
135 ------------------------------ | |
645
75af92b18e23
build notes for ubuntu 12.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
640
diff
changeset
|
136 |
75af92b18e23
build notes for ubuntu 12.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
640
diff
changeset
|
137 # sudo apt-get install build-essential unzip cmake mercurial \ |
75af92b18e23
build notes for ubuntu 12.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
640
diff
changeset
|
138 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \ |
75af92b18e23
build notes for ubuntu 12.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
640
diff
changeset
|
139 libgtest-dev libpng-dev libsqlite3-dev libssl-dev \ |
1349 | 140 zlib1g-dev libdcmtk2-dev libboost1.48-all-dev libwrap0-dev \ |
141 libcharls-dev | |
645
75af92b18e23
build notes for ubuntu 12.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
640
diff
changeset
|
142 |
1349 | 143 # cmake "-DDCMTK_LIBRARIES=boost_locale;CharLS;dcmjpls;wrap;oflog" \ |
645
75af92b18e23
build notes for ubuntu 12.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
640
diff
changeset
|
144 -DALLOW_DOWNLOADS=ON \ |
75af92b18e23
build notes for ubuntu 12.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
640
diff
changeset
|
145 -DUSE_SYSTEM_MONGOOSE=OFF \ |
75af92b18e23
build notes for ubuntu 12.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
640
diff
changeset
|
146 -DUSE_SYSTEM_JSONCPP=OFF \ |
75af92b18e23
build notes for ubuntu 12.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
640
diff
changeset
|
147 -DUSE_SYSTEM_GOOGLE_LOG=OFF \ |
1046
00f9f36bcd94
on-the-fly conversion of JSON to XML according to HTTP Accept
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
936
diff
changeset
|
148 -DUSE_SYSTEM_PUGIXML=OFF \ |
645
75af92b18e23
build notes for ubuntu 12.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
640
diff
changeset
|
149 -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON \ |
75af92b18e23
build notes for ubuntu 12.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
640
diff
changeset
|
150 ~/Orthanc |
75af92b18e23
build notes for ubuntu 12.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
640
diff
changeset
|
151 |
636
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
152 |
635 | 153 SUPPORTED - Ubuntu 12.10 |
154 ------------------------ | |
155 | |
156 # sudo apt-get install build-essential unzip cmake mercurial \ | |
157 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \ | |
158 libgoogle-glog-dev libgtest-dev libpng-dev \ | |
159 libsqlite3-dev libssl-dev zlib1g-dev \ | |
842 | 160 libdcmtk2-dev libboost-all-dev libwrap0-dev libcharls-dev |
161 | |
854
ff530685e46a
fast version of image copy
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
842
diff
changeset
|
162 With JPEG: |
635 | 163 |
842 | 164 # cmake "-DDCMTK_LIBRARIES=CharLS;dcmjpls;wrap;oflog" \ |
165 -DALLOW_DOWNLOADS=ON \ | |
166 -DUSE_SYSTEM_MONGOOSE=OFF \ | |
167 -DUSE_SYSTEM_JSONCPP=OFF \ | |
168 -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON \ | |
1046
00f9f36bcd94
on-the-fly conversion of JSON to XML according to HTTP Accept
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
936
diff
changeset
|
169 -DUSE_SYSTEM_PUGIXML=OFF \ |
842 | 170 ~/Orthanc |
171 | |
172 | |
854
ff530685e46a
fast version of image copy
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
842
diff
changeset
|
173 Without JPEG: |
842 | 174 |
175 # cmake "-DDCMTK_LIBRARIES=wrap;oflog" \ | |
635 | 176 -DALLOW_DOWNLOADS=ON \ |
177 -DUSE_SYSTEM_MONGOOSE=OFF \ | |
178 -DUSE_SYSTEM_JSONCPP=OFF \ | |
638 | 179 -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON \ |
1046
00f9f36bcd94
on-the-fly conversion of JSON to XML according to HTTP Accept
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
936
diff
changeset
|
180 -DUSE_SYSTEM_PUGIXML=OFF \ |
854
ff530685e46a
fast version of image copy
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
842
diff
changeset
|
181 -DENABLE_JPEG=OFF \ |
ff530685e46a
fast version of image copy
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
842
diff
changeset
|
182 -DENABLE_JPEG_LOSSLESS=OFF \ |
635 | 183 ~/Orthanc |
184 | |
185 | |
700 | 186 SUPPORTED - Ubuntu 13.10 |
187 ------------------------ | |
188 | |
189 # sudo apt-get install build-essential unzip cmake mercurial \ | |
190 uuid-dev libcurl4-openssl-dev liblua5.1-0-dev \ | |
191 libgoogle-glog-dev libgtest-dev libpng-dev \ | |
192 libsqlite3-dev libssl-dev zlib1g-dev \ | |
193 libdcmtk2-dev libboost-all-dev libwrap0-dev libjsoncpp-dev | |
194 | |
195 # cmake "-DDCMTK_LIBRARIES=wrap;oflog" \ | |
196 -DALLOW_DOWNLOADS=ON \ | |
197 -DUSE_SYSTEM_MONGOOSE=OFF \ | |
198 -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON \ | |
1046
00f9f36bcd94
on-the-fly conversion of JSON to XML according to HTTP Accept
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
936
diff
changeset
|
199 -DUSE_SYSTEM_PUGIXML=OFF \ |
875 | 200 -DENABLE_JPEG=OFF \ |
201 -DENABLE_JPEG_LOSSLESS=OFF \ | |
700 | 202 ~/Orthanc |
203 | |
204 | |
634 | 205 |
1078 | 206 SUPPORTED - Fedora 19/20 |
207 ------------------------ | |
636
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
208 |
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
209 # sudo yum install make automake gcc gcc-c++ python cmake \ |
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
210 boost-devel curl-devel dcmtk-devel glog-devel \ |
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
211 gtest-devel libpng-devel libsqlite3x-devel libuuid-devel \ |
1078 | 212 mongoose-devel openssl-devel jsoncpp-devel lua-devel pugixml-devel |
636
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
213 |
1150
fe0ab24f4db1
preparing for release
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1078
diff
changeset
|
214 # cmake "-DDCMTK_LIBRARIES=CharLS" \ |
fe0ab24f4db1
preparing for release
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1078
diff
changeset
|
215 -DSYSTEM_MONGOOSE_USE_CALLBACKS=OFF \ |
fe0ab24f4db1
preparing for release
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1078
diff
changeset
|
216 ~/Orthanc |
875 | 217 |
636
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
218 Note: Have also a look at the official package: |
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
219 http://pkgs.fedoraproject.org/cgit/orthanc.git/tree/?h=f18 |
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
220 |
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
221 |
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
222 |
1350
724dc4e17d38
build ubuntu 14.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1349
diff
changeset
|
223 SUPPORTED - Ubuntu 14.04 LTS |
724dc4e17d38
build ubuntu 14.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1349
diff
changeset
|
224 ---------------------------- |
724dc4e17d38
build ubuntu 14.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1349
diff
changeset
|
225 |
724dc4e17d38
build ubuntu 14.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1349
diff
changeset
|
226 # cmake -DALLOW_DOWNLOADS=ON \ |
724dc4e17d38
build ubuntu 14.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1349
diff
changeset
|
227 -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON \ |
724dc4e17d38
build ubuntu 14.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1349
diff
changeset
|
228 -DUSE_SYSTEM_MONGOOSE=OFF \ |
724dc4e17d38
build ubuntu 14.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1349
diff
changeset
|
229 -DDCMTK_LIBRARIES=dcmjpls \ |
724dc4e17d38
build ubuntu 14.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1349
diff
changeset
|
230 ~/Orthanc |
724dc4e17d38
build ubuntu 14.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1349
diff
changeset
|
231 |
724dc4e17d38
build ubuntu 14.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1349
diff
changeset
|
232 |
724dc4e17d38
build ubuntu 14.04 lts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1349
diff
changeset
|
233 |
1337 | 234 SUPPORTED - FreeBSD 10.1 |
235 ------------------------ | |
236 | |
237 # pkg install jsoncpp pugixml lua51 curl googletest dcmtk cmake \ | |
238 e2fsprogs-libuuid glog boost-libs sqlite3 python libiconv | |
239 | |
240 # cmake -DALLOW_DOWNLOADS=ON \ | |
241 -DUSE_SYSTEM_MONGOOSE=OFF \ | |
242 -DDCMTK_LIBRARIES="dcmdsig;charls;dcmjpls" \ | |
243 ~/Orthanc | |
244 | |
636
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
245 |
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
246 |
634 | 247 Other Linux distributions? |
248 -------------------------- | |
249 | |
250 Please send us your build instructions (by a mail to | |
251 s.jodogne@gmail.com)! | |
252 | |
253 You can find build instructions for Orthanc up to 0.7.0 on the | |
254 following Wiki page: | |
255 https://code.google.com/p/orthanc/wiki/LinuxCompilationUpTo070 | |
256 | |
257 These instructions will not work as such beyond Orthanc 0.7.0, but | |
258 they might give indications. | |
259 | |
260 | |
261 | |
262 | |
263 Using ccache | |
264 ============ | |
265 | |
266 Under Linux, you also have the opportunity to use "ccache" to | |
267 dramatically decrease the compilation time when rebuilding | |
268 Orthanc. This is especially useful for developers. To this end, you | |
269 would use: | |
270 | |
636
9ac1e8383877
build instructions for Debian Sid and Fedora 18
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
635
diff
changeset
|
271 # CC="ccache gcc" CXX="ccache g++" cmake ~/Orthanc [Other Options] |