Comments (5)
Looks like you are using an old version of protoc. I cannot remember if the php stuff was introduced in 3.5 or 3.4, I would go with 3.5.
from cpp-samples.
@coryan
My protoc version is 3.5.1
from cpp-samples.
Sorry for the delay, I was busy with my full-time job. You are correct, googleapis does not compile with protobuf v3.5.1 or v3.5.2, which is the default version used by gRPC. googleapis recently introduced proto files that use the php_metadata_namespace
, for example here:
while support for that option was added to protobuf here:
That pull request made it to protobuf-3.6.1.
We should change the documentation and code to require protobuf >= 3.6.1.
I am attaching a Dockerfile that can be used to reproduce the problem (with --build-arg=PBVER=3.5.2
) and verify that it works with the newer version (with --build-arg=PBVER=3.6.1
).
/cc: @SurferJeffAtGoogle
from cpp-samples.
For what is worth, the gRPC folks recently upgraded to protobuf-3.6.1:
I think that should have fixed this problem too.
from cpp-samples.
@jerrychang1243 I think we can close this issue, but feel free to reopen.
from cpp-samples.
Related Issues (20)
- Dockerfile for Cloud Run hello world is out of date
- [Policy Bot] found one or more issues with this repository. HOT 1
- Ignore - Old Dependency Dashboard
- Ignore - Old Dependency Dashboard HOT 1
- [Policy Bot] found one or more issues with this repository.
- Dependency Dashboard
- Dependency Dashboard
- Running the examples - grpc error HOT 5
- Jwt.h on example HOT 2
- Trouble creating a Google Cloud Speech to Text Client using HOT 2
- run streaming_transcribe Error in windows HOT 8
- How to set speech language in streaming_transcribe HOT 5
- Google cloud speech library is static library HOT 1
- "Segmentation fault" error while running "streaming_transcribe_singlethread" on Linux Mint x64. HOT 5
- New HOT 1
- Action Required: Fix Renovate Configuration
- fix(pubsub_opentelemetry): segfault on publisher HOT 4
- [pubsub-otel] Add trace screenshots for zipkins
- [pubsub-otel] Add screenshots of the unary pull telemetery data HOT 1
- [pubsub-otel] Does not build at head HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpp-samples.