You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
When running icsc/install.sh, the script fails during the Protobuf download and build process due to an incompatibility with the CMake version on the system. The error message encountered is as follows:
Using ICSC_HOME = /home/robert/Downloads/sc_tools
GCC_INSTALL_PREFIX = /usr
Downloading and building Protobuf/LLVM at /home/robert/Downloads/sc_tools/build_deps...
--2025-05-04 14:06:13-- https://github.com/protocolbuffers/protobuf/archive/v3.19.4.tar.gz
CA-Zertifikat »/etc/ssl/certs/ca-certificates.crt« wurde geladen
Auflösen des Hostnamens github.com (github.com)… 140.82.121.3
Verbindungsaufbau zu github.com (github.com)|140.82.121.3|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 302 Found
Platz: https://codeload.github.com/protocolbuffers/protobuf/tar.gz/refs/tags/v3.19.4 [folgend]
--2025-05-04 14:06:13-- https://codeload.github.com/protocolbuffers/protobuf/tar.gz/refs/tags/v3.19.4
Auflösen des Hostnamens codeload.github.com (codeload.github.com)… 140.82.121.10
Verbindungsaufbau zu codeload.github.com (codeload.github.com)|140.82.121.10|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 5293745 (5,0M) [application/x-gzip]
Wird in »v3.19.4.tar.gz« gespeichert.
v3.19.4.tar.gz 100%[=================================================================>] 5,05M 5,82MB/s in 0,9s
»Last-modified«-Kopfzeile fehlt -- Zeitstempel abgeschaltet.
2025-05-04 14:06:14 (5,82 MB/s) - »v3.19.4.tar.gz« gespeichert [5293745/5293745]
CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-- Configuring incomplete, errors occurred!
Suggested Solution:
Update Protobuf version: The script currently downloads Protobuf v3.19.4, consider updating the Protobuf version in the script to a more recent release.
Ensure CMake version compatibility: Modify the CMakeLists.txt or the script to specify that the minimum required CMake version should be >= 3.5. Alternatively, include a flag like -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to ensure compatibility for users with older versions of CMake.
Tested CMake Versions:
3.31
4.0
The text was updated successfully, but these errors were encountered:
Description:
When running icsc/install.sh, the script fails during the Protobuf download and build process due to an incompatibility with the CMake version on the system. The error message encountered is as follows:
Suggested Solution:
Tested CMake Versions:
The text was updated successfully, but these errors were encountered: