It seems likely either the PATH environment variable is wrong or your process needs to be restarted to pick up the newly edited path. My recollection is that spaces in paths often cause confusion. On Tuesday, January 5, 2021 at 12:14:07 PM UTC-5 Antonis wrote:
> Hi, > > I am on windows. I installed grpc using vcpkg. > > I added the protoc in the path and i tried to run an example. > But I have the following error. Do you have any idea why? > > *'protoc-gen-grpc' is not recognized as an internal or external command* > > the command is > protoc -I . --grpc_out=. > --plugin=C:\Users\user1\Downloads\vcpkg\packages\grpc_x64-windows\tools\grpc\grpc_cpp_plugin > > .\helloworld.proto > > and I based my attempt on the following tutorial > > https://chromium.googlesource.com/external/github.com/grpc/grpc/+/chromium-deps/2016-07-19/examples/cpp/helloworld > > > Thank you, > Antonis > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/955ecc92-81b3-45b4-8222-022c3870b117n%40googlegroups.com.
