Did you run the make step by itself before performing make install, and do 
you install protobuf beforehand?

On Thursday, August 25, 2016 at 1:29:16 AM UTC-4, [email protected] 
wrote:
>
> I am facing simir issue:
>
> <<
> git clone https://github.com/grpc/grpc.git
> git submodule update --init
> make install prefix=/home/ubuntu/GRPC_LOCAL/latest_grpc/grpc/build/
> >>
>
> Now it is failing with below error.
> [CXX]     Compiling src/cpp/util/string_ref.cc
> [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
>
> >>
>
>
>
>
> On Friday, March 25, 2016 at 3:12:02 AM UTC+5:30, Madhukar Nayakbomman 
> wrote:
>>
>> Finally found out the issue... 
>> I was trying to run the helloworld server even before I built the grpc 
>> from source.
>>
>>
>> Solution: 
>> Prereq: 
>>
>> Linux: [sudo] apt-get install build-essential autoconf libtool
>> MAC: [sudo] xcode-select --install
>>
>> Build from source using the below commands
>>
>>  $ git clone https://github.com/grpc/grpc.git
>>  $ cd grpc
>>  $ git submodule update --init
>>  $ make
>>  $ [sudo] make install
>>
>>
>>
>> On Sunday, September 20, 2015 at 2:31:15 PM UTC-7, Nishant Agrawal wrote:
>>>
>>> Hi,
>>>
>>> I am student of UW-Madison and I am trying to use gRpc for some class 
>>> project.
>>>
>>> I was able to successfully install everything by following the 
>>> instrctuion but when I try to run hello world program of c++, I get 
>>> following erros:
>>>
>>>
>>> root@Nishant-PC:/home/nishant/workspace/grpc/examples/cpp/helloworld# 
>>> make helloworld.grpc.pb.cc helloworld.pb.cc
>>> protoc -I ../../protos --grpc_out=. --plugin=protoc-gen-grpc=`which 
>>> grpc_cpp_plugin` ../../protos/helloworld.proto
>>> helloworld.proto:33:8: Option "objc_class_prefix" unknown.
>>>
>>> If I try to do make it gives me,
>>>
>>>  DEPENDENCY ERROR
>>>
>>> You don't have the grpc c++ protobuf plugin installed in your path.
>>> Please install grpc. You can find it here:
>>>
>>>    https://github.com/grpc/grpc
>>>
>>> Here is what I get when trying to detect if you have the plugin:
>>>
>>> which grpc_cpp_plugin
>>> make: [system-check] Error 1 (ignored)
>>>
>>>
>>> make: *** [system-check] Error 1
>>>
>>> I tried to search for instruction to install grpc_cpp_plugin but not 
>>> able to find it.
>>> It would be great if someone could help me here.
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/bbce5b09-2036-49a9-b218-52aee8a6f6ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to