grpc_python_plugin build正在提交最新版本的grpc

时间:2016-08-25 06:30:35

标签: 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
ubuntu@ip-10-10-10-199:~/GRPC_LOCAL/latest_grpc/grpc$

============

1 个答案:

答案 0 :(得分:0)

看起来你错过了:

git submodule update --init

有关从源代码构建的说明,请参阅此处:https://github.com/grpc/grpc/tree/master/src/cpp