Mercurial > hg > orthanc
annotate OrthancFramework/Resources/ProtocolBuffers/NOTES.txt @ 5187:9466c95f70c8 db-protobuf
integrating Protobuf library into Orthanc server
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 26 Mar 2023 11:59:03 +0200 |
parents | 8d19e53cf23e |
children |
rev | line source |
---|---|
5186
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
2 Version |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
3 ======= |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
4 |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
5 We use Google's Protocol Buffers version 3.5.1, as this is the last |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
6 release to be compatible with C++98, which is mandatory for Visual |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
7 Studio 2008 and Linux Standard Base. |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
8 |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
9 References: |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
10 https://github.com/protocolbuffers/protobuf/releases/tag/v3.5.1 |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
11 https://github.com/protocolbuffers/protobuf/issues/2780 |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
12 |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
13 |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
14 Linux Standard Base |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
15 =================== |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
16 |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
17 $ mkdir lsb |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
18 $ cd lsb |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
19 $ LSB_CC=gcc-4.8 LSB_CXX=g++-4.8 cmake .. -DCMAKE_BUILD_TYPE=Release -DALLOW_DOWNLOADS=ON -DCMAKE_TOOLCHAIN_FILE=../../Toolchains/LinuxStandardBaseToolchain.cmake -G Ninja |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
20 $ ninja |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
21 |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
22 |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
23 MinGW for 32bits |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
24 ================ |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
25 |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
26 $ mkdir w32 |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
27 $ cd w32 |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
28 $ LSB_CC=gcc-4.8 LSB_CXX=g++-4.8 cmake .. -DCMAKE_BUILD_TYPE=Release -DALLOW_DOWNLOADS=ON -DCMAKE_TOOLCHAIN_FILE=../../Toolchains/MinGW-W64-Toolchain32.cmake -G Ninja |
8d19e53cf23e
compilation of protobuf compiler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
29 $ ninja |