Skip to content

Commit b5e218e

Browse files
committed
placeholder for version in protobuf install steps
Signed-off-by: Philipp Rosenberger <philipp.rosenberger@partner.bmw.de>
1 parent 8d887f8 commit b5e218e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/setup/installing_prerequisites.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ A common error here is to just install _protobuf_ with apt and link against it.
6262
This means that your OSI is build statically but still linking dynamically against _protobuf_.
6363
Here, again either _protobuf_ has to build statically from source or some solution e.g. vcpkg needs to be utilized. We recommend the following (as in the README of the OSI project):
6464

65-
Install _protobuf_ (version 3.0.0 or higher) from source with `CXXFLAGS="-fPIC"` to allow static linking of your OSI FMUs (here exemplary for Release `v21.12` a.k.a. _protobuf_ 3.21.12):
65+
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):
6666
----
67-
wget https://github.com/protocolbuffers/protobuf/releases/download/<v21.12>/protobuf-all-21.12.tar.gz
68-
tar -xzf protobuf-all-21.12.tar.gz
69-
cd protobuf-21.12/
67+
wget https://github.com/protocolbuffers/protobuf/releases/download/<version>/protobuf-all-<version>.tar.gz
68+
tar -xzf protobuf-all-<version>.tar.gz
69+
cd protobuf-<version>/
7070
./configure --disable-shared CXXFLAGS="-fPIC"
7171
make
7272
sudo make install

0 commit comments

Comments
 (0)