Mercurial > hg > orthanc
comparison OrthancFramework/Resources/ProtocolBuffers/NOTES.txt @ 5186:8d19e53cf23e db-protobuf
compilation of protobuf compiler
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 26 Mar 2023 10:46:09 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
5185:0ea402b4d901 | 5186:8d19e53cf23e |
---|---|
1 | |
2 Version | |
3 ======= | |
4 | |
5 We use Google's Protocol Buffers version 3.5.1, as this is the last | |
6 release to be compatible with C++98, which is mandatory for Visual | |
7 Studio 2008 and Linux Standard Base. | |
8 | |
9 References: | |
10 https://github.com/protocolbuffers/protobuf/releases/tag/v3.5.1 | |
11 https://github.com/protocolbuffers/protobuf/issues/2780 | |
12 | |
13 | |
14 Linux Standard Base | |
15 =================== | |
16 | |
17 $ mkdir lsb | |
18 $ cd lsb | |
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 | |
20 $ ninja | |
21 | |
22 | |
23 MinGW for 32bits | |
24 ================ | |
25 | |
26 $ mkdir w32 | |
27 $ cd w32 | |
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 | |
29 $ ninja |