Mercurial > hg > orthanc
comparison LinuxCompilation.txt @ 3138:ab46e537f92e
renamed class MongooseServer as HttpServer, CivetWeb made default HTTP server
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Jan 2019 18:29:16 +0100 |
parents | 50044323a721 |
children | fca730c267d7 |
comparison
equal
deleted
inserted
replaced
3137:5a3b961e9524 | 3138:ab46e537f92e |
---|---|
83 libgtest-dev libpng-dev libjpeg-dev \ | 83 libgtest-dev libpng-dev libjpeg-dev \ |
84 libsqlite3-dev libssl-dev zlib1g-dev libdcmtk2-dev \ | 84 libsqlite3-dev libssl-dev zlib1g-dev libdcmtk2-dev \ |
85 libboost-all-dev libwrap0-dev libjsoncpp-dev libpugixml-dev | 85 libboost-all-dev libwrap0-dev libjsoncpp-dev libpugixml-dev |
86 | 86 |
87 # cmake -DALLOW_DOWNLOADS=ON \ | 87 # cmake -DALLOW_DOWNLOADS=ON \ |
88 -DUSE_SYSTEM_MONGOOSE=OFF \ | 88 -DUSE_SYSTEM_CIVETWEB=OFF \ |
89 -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON \ | 89 -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON \ |
90 -DDCMTK_LIBRARIES=dcmjpls \ | 90 -DDCMTK_LIBRARIES=dcmjpls \ |
91 -DCMAKE_BUILD_TYPE=Release \ | 91 -DCMAKE_BUILD_TYPE=Release \ |
92 ~/Orthanc | 92 ~/Orthanc |
93 | 93 |
104 zlib1g-dev libdcmtk2-dev libboost1.48-all-dev libwrap0-dev \ | 104 zlib1g-dev libdcmtk2-dev libboost1.48-all-dev libwrap0-dev \ |
105 libcharls-dev | 105 libcharls-dev |
106 | 106 |
107 # cmake "-DDCMTK_LIBRARIES=boost_locale;CharLS;dcmjpls;wrap;oflog" \ | 107 # cmake "-DDCMTK_LIBRARIES=boost_locale;CharLS;dcmjpls;wrap;oflog" \ |
108 -DALLOW_DOWNLOADS=ON \ | 108 -DALLOW_DOWNLOADS=ON \ |
109 -DUSE_SYSTEM_MONGOOSE=OFF \ | 109 -DUSE_SYSTEM_CIVETWEB=OFF \ |
110 -DUSE_SYSTEM_JSONCPP=OFF \ | 110 -DUSE_SYSTEM_JSONCPP=OFF \ |
111 -DUSE_SYSTEM_PUGIXML=OFF \ | 111 -DUSE_SYSTEM_PUGIXML=OFF \ |
112 -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON \ | 112 -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON \ |
113 -DCMAKE_BUILD_TYPE=Release \ | 113 -DCMAKE_BUILD_TYPE=Release \ |
114 ~/Orthanc | 114 ~/Orthanc |
124 zlib1g-dev libdcmtk2-dev libboost-all-dev libwrap0-dev \ | 124 zlib1g-dev libdcmtk2-dev libboost-all-dev libwrap0-dev \ |
125 libcharls-dev libjsoncpp-dev libpugixml-dev | 125 libcharls-dev libjsoncpp-dev libpugixml-dev |
126 | 126 |
127 # cmake -DALLOW_DOWNLOADS=ON \ | 127 # cmake -DALLOW_DOWNLOADS=ON \ |
128 -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON \ | 128 -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON \ |
129 -DUSE_SYSTEM_MONGOOSE=OFF \ | 129 -DUSE_SYSTEM_CIVETWEB=OFF \ |
130 -DDCMTK_LIBRARIES=dcmjpls \ | 130 -DDCMTK_LIBRARIES=dcmjpls \ |
131 -DCMAKE_BUILD_TYPE=Release \ | 131 -DCMAKE_BUILD_TYPE=Release \ |
132 ~/Orthanc | 132 ~/Orthanc |
133 | 133 |
134 | 134 |
144 You will also have to install "gflags-devel" on Fedora 21&22: | 144 You will also have to install "gflags-devel" on Fedora 21&22: |
145 | 145 |
146 # sudo yum install gflags-devel | 146 # sudo yum install gflags-devel |
147 | 147 |
148 # cmake "-DDCMTK_LIBRARIES=CharLS" \ | 148 # cmake "-DDCMTK_LIBRARIES=CharLS" \ |
149 -DENABLE_CIVETWEB=OFF \ | |
149 -DSYSTEM_MONGOOSE_USE_CALLBACKS=OFF \ | 150 -DSYSTEM_MONGOOSE_USE_CALLBACKS=OFF \ |
150 -DCMAKE_BUILD_TYPE=Release \ | 151 -DCMAKE_BUILD_TYPE=Release \ |
151 ~/Orthanc | 152 ~/Orthanc |
152 | 153 |
153 Note: Have also a look at the official package: | 154 Note: Have also a look at the official package: |
160 | 161 |
161 # pkg install jsoncpp pugixml lua51 curl googletest dcmtk cmake jpeg \ | 162 # pkg install jsoncpp pugixml lua51 curl googletest dcmtk cmake jpeg \ |
162 e2fsprogs-libuuid boost-libs sqlite3 python libiconv | 163 e2fsprogs-libuuid boost-libs sqlite3 python libiconv |
163 | 164 |
164 # cmake -DALLOW_DOWNLOADS=ON \ | 165 # cmake -DALLOW_DOWNLOADS=ON \ |
165 -DUSE_SYSTEM_MONGOOSE=OFF \ | 166 -DUSE_SYSTEM_CIVETWEB=OFF \ |
166 -DDCMTK_LIBRARIES="dcmdsig;charls;dcmjpls" \ | 167 -DDCMTK_LIBRARIES="dcmdsig;charls;dcmjpls" \ |
167 -DCMAKE_BUILD_TYPE=Release \ | 168 -DCMAKE_BUILD_TYPE=Release \ |
168 ~/Orthanc | 169 ~/Orthanc |
169 | 170 |
170 | 171 |
176 libpng-devel sqlite-devel libuuid-devel openssl-devel \ | 177 libpng-devel sqlite-devel libuuid-devel openssl-devel \ |
177 lua-devel mercurial patch tar | 178 lua-devel mercurial patch tar |
178 | 179 |
179 # cmake -DALLOW_DOWNLOADS=ON \ | 180 # cmake -DALLOW_DOWNLOADS=ON \ |
180 -DUSE_SYSTEM_JSONCPP=OFF \ | 181 -DUSE_SYSTEM_JSONCPP=OFF \ |
181 -DUSE_SYSTEM_MONGOOSE=OFF \ | 182 -DUSE_SYSTEM_CIVETWEB=OFF \ |
182 -DUSE_SYSTEM_PUGIXML=OFF \ | 183 -DUSE_SYSTEM_PUGIXML=OFF \ |
183 -DUSE_SYSTEM_SQLITE=OFF \ | 184 -DUSE_SYSTEM_SQLITE=OFF \ |
184 -DUSE_SYSTEM_BOOST=OFF \ | 185 -DUSE_SYSTEM_BOOST=OFF \ |
185 -DUSE_SYSTEM_DCMTK=OFF \ | 186 -DUSE_SYSTEM_DCMTK=OFF \ |
186 -DUSE_SYSTEM_GOOGLE_TEST=OFF \ | 187 -DUSE_SYSTEM_GOOGLE_TEST=OFF \ |