fatal error: 'protobuf-c.h' file not found #215

Open
opened 2026-01-29 16:38:19 +00:00 by claunia · 0 comments
Owner

Originally created by @ilovezfs on GitHub (Dec 15, 2016).

Attempting to build 0.83 on macOS leads to

In file included from ../src/lib_ccx/ccx_share.h:10:
../src/lib_ccx/ccx_sub_entry_message.pb-c.h:7:10: fatal error: 'protobuf-c.h' file not found
#include "protobuf-c.h"
         ^
1 error generated.

because the header is in ../protobuf-c/protobuf-c.h not in the current directory.

I can workaround this by changing
https://github.com/CCExtractor/ccextractor/blob/master/src/lib_ccx/ccx_sub_entry_message.pb-c.h#L8 from

#include "protobuf-c.h"

to

#include "../protobuf-c/protobuf-c.h"

But the actual cause may be elsewhere as these appear to be generated files.

Full build log is here: https://gist.github.com/ilovezfs/1e011f34739420944c8f4520258e7c5c

Originally created by @ilovezfs on GitHub (Dec 15, 2016). Attempting to build 0.83 on macOS leads to ``` In file included from ../src/lib_ccx/ccx_share.h:10: ../src/lib_ccx/ccx_sub_entry_message.pb-c.h:7:10: fatal error: 'protobuf-c.h' file not found #include "protobuf-c.h" ^ 1 error generated. ``` because the header is in ../protobuf-c/protobuf-c.h not in the current directory. I can workaround this by changing https://github.com/CCExtractor/ccextractor/blob/master/src/lib_ccx/ccx_sub_entry_message.pb-c.h#L8 from ``` #include "protobuf-c.h" ``` to ``` #include "../protobuf-c/protobuf-c.h" ``` But the actual cause may be elsewhere as these appear to be generated files. Full build log is here: https://gist.github.com/ilovezfs/1e011f34739420944c8f4520258e7c5c
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#215