I get : ../.../...pb.go:21:11: undefined: proto.ProtoPackageIsVersion3
I want it to Version 2
I installed protoc from https://github.com/google/protobuf/releases $ protoc --version gives libprotoc 3.6.0. I also installed golang-goprotobuf-dev from apt.
Questions:
- protoc (protobuffer compiler compiles always to version Proto3?)
- What is the additional go support required?
- How can I get a compiler that compiles to Proto2?
- I noticed in one system libproto 3.6.1 compiles to proto2, I don't understand this.