google / libprotobuf-mutator

Library for structured fuzzing with protobuffers
Apache License 2.0
584 stars 118 forks source link

error: use of undeclared identifier 'absl' #246

Open baijinjun opened 6 months ago

baijinjun commented 6 months ago

/usr/local/include/absl and /usr/local/lib both has absl , why it show the error when i ninja

baijinjun commented 6 months ago

image

hawkinsw commented 4 months ago

A heavyweight fix for me was to force the library to build it's own copy of the protobuf library by toggling the LIB_PROTO_MUTATOR_DOWNLOAD_PROTOBUF in the source's CMakeLists.txt. cc @Microsvuln

Microsvuln commented 4 months ago

@hawkinsw Yes, seems like the workaround works for me and the issue is solved!

Thank you!

hawkinsw commented 4 months ago

Great!! Glad that it helped!