Closed psmarshall closed 5 years ago
Same problem on Ubuntu 16.04.6 LTS. Fixed with sudo apt install protobuf-compiler
.
On Ubuntu 20.04 it's protobuf-c-compiler
not protobuf-compiler
. Just mentioning for those coming from Google (search).
This is still an issue:
cmake --build build
[1/104] Generating src/bloaty.pb.cc
FAILED: src/bloaty.pb.cc /big/build/bloaty/build/src/bloaty.pb.cc
/bin/sh: 1: protoc: not found
Even though protobuf is pulled in as a dependency I get an error with a fresh checkout on Debian. I can fix it by installing protoc globally.
$ git clone git@github.com:google/bloaty.git $ cd bloaty $ git submodule update --init --recursive $ cmake . $ make -j6
I get this output when building.