userver-framework / userver

Production-ready C++ Asynchronous Framework with rich functionality
https://userver.tech
Apache License 2.0
2.45k stars 289 forks source link

fix conan: userver::field could not have been found during compilation #735

Closed TTPO100AJIEX closed 3 weeks ago

xakod commented 3 weeks ago
/usr/bin/ld: /home/runner/.conan2/p/b/uservc7663e08fe7f9/p/lib/libuserver-grpc-internal.a(protobuf_utils.cpp.o): in function `google::protobuf::internal::ExtensionIdentifier<google::protobuf::FieldOptions, google::protobuf::internal::MessageTypeTraits<userver::FieldOptions>, (unsigned char)11, false>::default_value() const':
/home/runner/.conan2/p/b/proto963e668e36251/p/include/google/protobuf/extension_set.h:1499: undefined reference to `userver::field'

Looks like we have linkage error not compilation