Mercurial > hg > orthanc
annotate OrthancFramework/Resources/ProtocolBuffers/NOTES.txt @ 5434:aa1c09fa6632
changed location of third-party downloads
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 21 Nov 2023 18:52:07 +0100 |
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 |