Hi, It seems protoc is having problem finding the proto file. I'm not sure why cpp_out works.
Can you try using relative path rather than absolute path? C:\protoc>protoc -I=..\test\example --go_out=..\test\example ..\test\example\person.proto Thanks, Menghan On Tue, Jun 14, 2016 at 10:37 PM, <[email protected]> wrote: > Hi All, > > I am new to gRPC. I was going through installation steps. I have golang > installed 1.5v and i have installed installed protoc and protoc-gen-go. > > go get -u github.com/golang/protobuf/protoc-gen-go > go get -u github.com/golang/protobuf/proto > > > i have also downloaded c++ protoc binary in c:\protoc\. > > i created a proto file in c:\test\example dir with name person.proto. > > when i run below commad. it is giving error: > C:\protoc>protoc -I=\test\example --go_out=\test\example > \test\example\person.proto > > that > --go_out: protoc-gen-go: The system cannot find the file specified. > > but if i replace go_out with cpp_out it is working fine. > > Please suggest if i missing something 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/001575cf-cd4e-4648-af12-a068ea0e07b3%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/001575cf-cd4e-4648-af12-a068ea0e07b3%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAPh%2BwgLTZyj4JcJ1DpHF5cNG8cRrRRwuUmGLc47dC3e7n2bc4w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
