google / bloaty

Bloaty: a size profiler for binaries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

port_def.inc not found

patrick-dojofive opened this issue · comments

When using system protobuf (installed via brew, version 3.19.4), the compilation fails when trying to find google/protobuf/port_def.inc.
This file exists on my system at:

/usr/local/Cellar/protobuf/21.9_1/include/google/protobuf/port_def.inc
/usr/local/Cellar/protobuf/21.12/include/google/protobuf/port_def.inc

Disabling trying to find the system package in CMakeLists.txt allows compilation to proceed.
Also, a similar issue occurs with capstone and disabling searching for it on the sytem allows compilatin to proceed.