Closed vyshane closed 9 years ago
try "$ brew prune" before u start
Hi. "Homebrew" stores version for a stable protocol buffers 2.6. You should use git branch named as Protobuf3.0-Swift2.0.
@alexeyxo Thanks, that worked :+1:
N.P.;)
In file included from objc_enum_field.cc:25: In file included from /usr/local/include/google/protobuf/wire_format.h:44: ./google/protobuf/descriptor.pb.h:17:2: error: This file was generated by an older version of protoc which is
^ ./google/protobuf/descriptor.pb.h:18:2: error: incompatible with your Protocol Buffer headers. Please
^ ./google/protobuf/descriptor.pb.h:19:2: error: regenerate this file with a newer version of protoc.
^ 3 errors generated. make[2]: *\ [objc_enum_field.o] Error 1
help me,please
i user google protobuf obj-c, ./google/protobuf/descriptor.pb.h:17:2: error: This file was generated by an older version of protoc which is
^ ./google/protobuf/descriptor.pb.h:18:2: error: incompatible with your Protocol Buffer headers. Please
^ ./google/protobuf/descriptor.pb.h:19:2: error: regenerate this file with a newer version of protoc.
i do not know how to do
I'm trying to install the Protobuf compiler but I am getting build errors.
First I tried to install via Homebrew:
Next I checked out tag 2.2 from the repository and tried to build it:
Here are the contents of build.log: