使用grpc静态库,一定要注意依赖顺序,不然编译不通过,经过不断尝试,依赖顺序如下,可正常编译通过
ssl
crypto
protoc
protobuf
protobuf-lite
grpc++
grpcpp_channelz
grpc++_reflection
grpc++_alts
grpc++_error_details
grpc_plugin_support
grpc++_unsecure
absl_synchronization
absl_time
absl_spinlock_wait
absl_raw_logging_internal
grpc_unsecure
absl_base
absl_malloc_internal
absl_stacktrace
absl_graphcycles_internal
absl_int128
absl_time_zone
absl_strings
absl_str_format_internal
absl_cord
absl_status
gpr
absl_bad_optional_access
absl_statusor
absl_throw_delegate
re2
address_sorting
cares
upb
grpc
absl_symbolize
absl_strings_internal
absl_debugging_internal
absl_demangle_internal
z
网友评论