Option verification unknown error displays when running:
protoc –cpp_out=. gtfs-realtime.proto
or when running:
protoc -I=. –cpp_out=. gtfs-realtime.proto gives the same error
These commands are run in the folder which has the gtfs-realtime.proto file and commands ran using windows command prompt as well as windows powershell.
Previously tried installing protoc using chocolatey, it installed but after gtfs-realtime.pb.h and gtfs-realtime.pb.cc files were generated (protoc -I=. –cpp_out=. gtfs-realtime.proto was ran in command line), to use gtfs-realtime.pb.cc with main.cpp gave the error port_def.inc file not found. Thuss I tried to install protoc through vcpkg this time from source.
cjjones is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.