Skip to content

Commit 2c3953b

Browse files
authored
Merge pull request #814 from OpenSimulationInterface/fix/protobuf-min-version-doc
Adjust minimum protobuf requirement (fix #807)
2 parents c49b3da + bc7453e commit 2c3953b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/setup/installing_prerequisites.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ vcpkg install --triplet=x64-windows-static-md protobuf
5151
Dynamic linking (NOT RECOMMENDED)::
5252

5353
As already mentioned, shared linking is possible on Linux, but NOT RECOMMENDED.
54-
However, for dynamic linking install _protobuf_ (version 3.0.0 or higher) with apt:
54+
However, for dynamic linking install _protobuf_ (version 2.6.1 or higher) with apt:
5555
----
5656
sudo apt-get install libprotobuf-dev protobuf-compiler
5757
----
@@ -64,7 +64,7 @@ This means that your OSI is build statically but still linking dynamically again
6464
Here, again either _protobuf_ has to build statically from source or some solution e.g. vcpkg needs to be utilized.
6565
We recommend the following (as in the README of the OSI project):
6666

67-
Install _protobuf_ (version 3.0.0 or higher) from source with `CXXFLAGS="-fPIC"` to allow static linking of your OSI FMUs (replace <version> with preferred release):
67+
Install _protobuf_ (version 2.6.1 or higher) from source with `CXXFLAGS="-fPIC"` to allow static linking of your OSI FMUs (replace <version> with preferred release):
6868
----
6969
wget https://github.com/protocolbuffers/protobuf/releases/download/<version>/protobuf-all-<version>.tar.gz
7070
tar -xzf protobuf-all-<version>.tar.gz

0 commit comments

Comments
 (0)