Re: [protobuf] Problem Compiling nested proto files that do not reside in the same physical folder/directory.

2011-07-29 Thread Jason Hsueh
What command are you using to invoke protoc? This sort of problem usually occurs when you don't use the same root directory in protoc invocations. So you should have something like: protoc --proto_path .\ProtoTopDir A.proto protoc --proto_path .\ProtoTopDir Dir\B.proto Dir\C.proto I'm not sure th

[protobuf] Problem Compiling nested proto files that do not reside in the same physical folder/directory.

2011-07-29 Thread elimn8or
My Scenario: I have defined four proto message types: A, B, C, D and want to compile using the C++ option. Proto file A is located in directory . \ProtoTop and proto files B, C, D are located in directory .\ProtoTop \Dir. The resulting class dependencies are A->B->C->D ( where -> is defines as dep