-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
google/protobuf/descriptor.proto: File not found #422
Comments
That's the problem with include directories. Do you have |
As AlekSi mentioned, it is missing includes. If you downloaded and extracted the |
If you continue having issues please reopen or file a new issue. |
I also encountered the same problem!
Make sure you grab the latest versioncurl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip Unzipunzip protoc-3.2.0-linux-x86_64.zip -d protoc3 Move protoc to /usr/local/bin/sudo mv protoc3/bin/* /usr/local/bin/ Move protoc3/include to /usr/local/include/sudo mv protoc3/include/* /usr/local/include/ Optional: change ownersudo chown [user] /usr/local/bin/protoc |
Encountered this issue and solved it on Debian Stretch Linux by installing This was in a different context not related to grpc-gateway but googling the error brought me and hence this seems like the best forum for sharing this solution. |
This solved my issue by installing |
At window10, '/usr/local/include/' shoud replace with what your download protobuf path |
Does any one meet the same error on macOS? I've installed
|
Still get this error after upgrade protobuf.
|
Hi, this isn't an issue with the gRPC-gateway, so please try to find help elsewhere. The error implies that you have an incorrect protobuf installation. Perhaps raise the issue with the package maintainers? |
Has the problem been solved? I encountered the same problem. |
In addition to copy For
|
usr/local/include location ? where in C:// |
|
When trying to compile the proto file for https://github.com/philips/grpc-gateway-example/tree/master/echopb
get the error: google/protobuf/descriptor.proto: File not found
Either don't have the right descriptor.proto installed, or something about protoc args need to be changed. Any ideas?
Both
./github.com/googleapis/googleapis/third_party/nanopb/generator/proto/google/protobuf/descriptor.proto
and
./github.com/googleapis/googleapis/third_party/protobuf/src/google/protobuf/descriptor.proto
are in my $GOPATH/src
Golang: 1.8.3
OS: darwin
Makefile:
The text was updated successfully, but these errors were encountered: