0
我已經使用以下命令。grpc_python_plugin構建使用grpc的最新版本進行歸檔
=============
-git clone https://github.com/grpc/grpc.git
-git submodule update --init
-make install prefix=/home/ubuntu/GRPC_LOCAL/latest_grpc/grpc/build/
===============
看到下面的錯誤::
[CXX] Compiling src/cpp/util/time.cc
[HOSTCXX] Compiling src/compiler/cpp_generator.cc
[HOSTCXX] Compiling src/compiler/csharp_generator.cc
In file included from src/compiler/csharp_generator.cc:40:0:
./src/compiler/csharp_generator.h:39:58: fatal error: google/protobuf/compiler/csharp/csharp_names.h: No such file or directory
#include <google/protobuf/compiler/csharp/csharp_names.h>
^
compilation terminated.
make: *** [/home/ubuntu/GRPC_LOCAL/latest_grpc/grpc/objs/opt/src/compiler/csharp_generator.o] Error 1
[email protected]:~/GRPC_LOCAL/latest_grpc/grpc$
============
此問題可能是關聯到你的:https://github.com/grpc/grpc/issues/7870。 – user