From bc7453e6dc4059d3fb03e4c02c860a797266682e Mon Sep 17 00:00:00 2001 From: "Pierre R. Mai" Date: Mon, 13 May 2024 11:56:46 +0200 Subject: [PATCH] Adjust minimum protobuf requirement (fix #807) Signed-off-by: Pierre R. Mai --- doc/setup/installing_prerequisites.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/setup/installing_prerequisites.adoc b/doc/setup/installing_prerequisites.adoc index 00bd6fb90..430499bed 100644 --- a/doc/setup/installing_prerequisites.adoc +++ b/doc/setup/installing_prerequisites.adoc @@ -51,7 +51,7 @@ vcpkg install --triplet=x64-windows-static-md protobuf Dynamic linking (NOT RECOMMENDED):: As already mentioned, shared linking is possible on Linux, but NOT RECOMMENDED. -However, for dynamic linking install _protobuf_ (version 3.0.0 or higher) with apt: +However, for dynamic linking install _protobuf_ (version 2.6.1 or higher) with apt: ---- sudo apt-get install libprotobuf-dev protobuf-compiler ---- @@ -64,7 +64,7 @@ This means that your OSI is build statically but still linking dynamically again 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): -Install _protobuf_ (version 3.0.0 or higher) from source with `CXXFLAGS="-fPIC"` to allow static linking of your OSI FMUs (replace with preferred release): +Install _protobuf_ (version 2.6.1 or higher) from source with `CXXFLAGS="-fPIC"` to allow static linking of your OSI FMUs (replace with preferred release): ---- wget https://github.com/protocolbuffers/protobuf/releases/download//protobuf-all-.tar.gz tar -xzf protobuf-all-.tar.gz