On Mon, Mar 24, 2014 at 4:46 PM, Daniel <[email protected]> wrote:

> Hi,
>
> I'm trying to decode some tripUpdates protocol buffer files into a text
> file.
> I downloaded the gtfs-realtime.proto and the tripUpdates.pb files from
> http://gtfs.ovapi.nl/new/ as well as the protoc.exe into the directory
> "C:\test".
>
> After executing the command
>
> C:\test>protoc --proto_path=C:\test C:\test\gtfs-realtime-OVapi.proto
> --decode=transit_realtime.OVapiTripUpdate C:\test\tripUpdates.pb
>

> I always get the error:
>
> com/google/transit/realtime/gtfs-realtime.proto: File not found.
> gtfs-realtime-OVapi.proto: Import
> "com/google/transit/realtime/gtfs-realtime.proto" was not found or had
> errors.
> gtfs-realtime-OVapi.proto:20:8: "TripDescriptor" is not defined.
> gtfs-realtime-OVapi.proto:31:8: "VehiclePosition" is not defined.
> gtfs-realtime-OVapi.proto:42:8: "TripUpdate" is not defined.
> gtfs-realtime-OVapi.proto:52:8:
> "transit_realtime.TripUpdate.StopTimeUpdate" is not defined.
> gtfs-realtime-OVapi.proto:62:8: "VehicleDescriptor" is not defined.
>
> What am I doing wrong?
>
Clearly you need to download a file named "gtfs-realtime.proto" as well and
put it in C:\test\com\google\transit\realtime


>
> Thanks,
> Daniel
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to