Skip to content
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

[bug] .proto compile error #8

Open
m-tymchyk opened this issue Jan 13, 2017 · 3 comments
Open

[bug] .proto compile error #8

m-tymchyk opened this issue Jan 13, 2017 · 3 comments

Comments

@m-tymchyk
Copy link

m-tymchyk commented Jan 13, 2017

Error:

No syntax specified for the proto file: php.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
$ php ./vendor/bin/protobuf --include-descriptors --include="./proto" --generate-imported --out="./src/AppleIworkProtos" ./proto/apple-iwork.proto

Protos repository

@m-tymchyk
Copy link
Author

m-tymchyk commented Jan 13, 2017

I find some error:
If we have enum with "Value" [File - line 21], your library throw exception.

@m-tymchyk m-tymchyk changed the title .proto compile error [bug] .proto compile error Jan 13, 2017
@jbq
Copy link

jbq commented Jun 19, 2017

I can confirm this issue. It shows up when using a recent version of the protobuf compiler.

@jbq
Copy link

jbq commented Jun 19, 2017

Using the official php support in Google's protobuf projet made it for me: https://github.com/google/protobuf/tree/master/php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants