mapbox / protozero

Minimalist protocol buffer decoder and encoder in C++
BSD 2-Clause "Simplified" License
292 stars 78 forks source link

Compiling errors with absl-2308.0.0 #115

Open gcampagnoli opened 8 months ago

gcampagnoli commented 8 months ago

I am compiling on a Gentoo with absl-2308.0.0 and gave me a 2 kind of error compiling :

Protobuf only supports C++14 and newer.

and

/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/writer_tests.dir/t/repeated/writer_test_cases.cpp.o: undefined reference to symbol '_ZN4absl12lts_2023080212log_internal17MakeCheckOpStringIllEEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEET_T0_PKc' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libabsl_log_internal_check_op.so.2308.0.0: error adding symbols: DSO missing from command line

so i changed CMakefile in root and in test

protozero-1.7.1-absl-2308.0.0.patch