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

usage is not clear #8

Open
jiansongjay opened this issue Aug 7, 2014 · 1 comment
Open

usage is not clear #8

jiansongjay opened this issue Aug 7, 2014 · 1 comment

Comments

@jiansongjay
Copy link

I am confused with your usage. When I follow your instruction, how can I use it.
protoc-gen-php some.proto is not work

@Easthy
Copy link

Easthy commented Aug 18, 2014

I faced with the same problem

protoc --php_out=/home/tolik/proto/ -I. /home/tolik/proto/auth_proto.proto
File does not reside within any path specified using --proto_path (or -I). You must specify a --proto_path which encompasses this file. Note that the proto_path must be an exact prefix of the .proto file names -- protoc is too dumb to figure out when two paths (e.g. absolute and relative) are equivalent (it's harder than you think).

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