port_def.inc not found
patrick-dojofive opened this issue · comments
Patrick Little commented
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.