Thank you Tom*!* It needs an .exe in the syntax I used: ...\grpc_cpp_plugin --> ..\grpc_cpp_plugin*.exe*
Στις Πέμ, 7 Ιαν 2021 στις 9:59 μ.μ., ο/η Tom Hintz <[email protected]> έγραψε: > 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 a topic in the > Google Groups "Protocol Buffers" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/protobuf/u-IOdWVLuHI/unsubscribe. > To unsubscribe from this group and all its topics, 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 > <https://groups.google.com/d/msgid/protobuf/955ecc92-81b3-45b4-8222-022c3870b117n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CA%2BWhVh%3DUNoQDeefBGghNyo0f89xrdnZq1VDj-Udkx_Lm0pzkBg%40mail.gmail.com.
