Open revosw opened 1 month ago
hello @revosw, which version of protobuf-compiler do you have?
optional in proto3: https://protobuf.dev/programming-guides/field_presence/#how-to-enable-explicit-presence-in-proto3
if you have such error, probably you have older version of protoc compiler
I found a discrepancy between Ubuntu 20.04 and Ubuntu 24.04.
For Ubuntu 20.04, the latest version I can install through apt install protobuf-compiler
is version 3.6.1
hackathon@User:~$ protoc --version
libprotoc 3.6.1
For Ubuntu 24.04, the latest version I can install through apt install protobuf-compiler
is version 3.21.12
hackathon@User:~$ protoc --version
libprotoc 3.21.12
Trying to build golem-cli through cargo install as described in the quickstart.
Since I am on ubuntu, I had to do these prerequisites: 0) Update apt repositories
1) Install build-essential, OpenSSL, protobuf compiler v3 and pkg-config
1) Install Rust
2) Run cargo install to compile golem-cli
cargo install fails on this step: