Does your .proto file define a package? E.g. if you have:
package foo.bar;
message Manager { ... }
Then you need to do:
protoc --decode=foo.bar.Manager manager.proto < input
On Sat, Feb 13, 2010 at 2:54 PM, Geoffrey <[email protected]> wrote:
> Hi,
>
> Does someone have an example of protoc with --decode option ?
>
> I'm trying to check that a binary protobuf file is correct and I get
> the following error message :
>
> Type not defined: Manager
>
> (and Manager IS defined in the .proto)
>
> TIA and best regard
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<protobuf%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/protobuf?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.