Re: [protobuf] Re: Message imports from different locations and stub generation

2018-08-30 Thread Dzintars Klavins
Thank You for reply. I already figured out this stuff. Real problem was/is in VS Code terminal. When i run protoc command from VS Code there is some issue with imports ... or not sure with what exactly. When no .proto imports are used, VS Code terminal was working just great with protoc. But

Re: [protobuf] Re: Message imports from different locations and stub generation

2018-08-28 Thread 'Feng Xiao' via Protocol Buffers
I have written some explanation of protoc "-I" flag and import path here: https://github.com/xfxyjwf/protobuf/blob/protoc/docs/protoc.md To run protoc correctly: 1. Determine the import path for every one of your .proto files. In your case, I think it should be "dms/v1/dms.proto" and