-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
google/protobuf/descriptor.proto: File not found. #194
Comments
PEBKAC, I'm an idiot. If you just copy |
um, what else should I have copied, and where to? |
@dmlyons I think the important thing is that the directory containing protoc should be on your PATH. @brianstarke can you confirm for posterity? |
Yes, it was some time ago - but I believe that was the fix - my current rc has
And I've been building fine for months. |
I have the same problem, could you please elaborate on your fix? I have used the --go_path to my workspace on customized go installation location. |
@brianstarke you are a live saver. I thought I had grown past issues like this. |
I believe that the solution refereneced here is to install from source, as described here. |
|
On CentOS7 i installed protobuf-devel-3.6.1-4.el7.x86_64.rpm and it resolved my issue. |
I have a project using grpc-gateway that was building correctly fairly recently, however when I set everything up from scratch on a new laptop I'm unable to build due the following error:
I'm on OSX, and set up everything as such:
And I've been attempting to generate as follows:
The .proto:
Did I miss something in the setup?
The text was updated successfully, but these errors were encountered: