Fails to build with protobuf 2.6.0

来源:互联网 发布:java数据库连接池写法 编辑:程序博客网 时间:2024/05/22 03:48

t/test-full.proto: "foo.VALUE_B" uses the same enum value as "foo.VALUE_A". If this is intended, set 'option allow_alias = true;' to the enum definition.t/test-full.proto: "foo.VALUE_C" uses the same enum value as "foo.VALUE_A". If this is intended, set 'option allow_alias = true;' to the enum definition.t/test-full.proto: "foo.VALUE_E" uses the same enum value as "foo.VALUE_D". If this is intended, set 'option allow_alias = true;' to the enum definition.t/test-full.proto: "foo.VALUE_AA" uses the same enum value as "foo.VALUE_F". If this is intended, set 'option allow_alias = true;' to the enum definition.make: *** [t/test-full.pb-c.c] Error 1

版本太高了。尝试一下下面的命令

pip install -v protobuf==2.3

阅读全文
0 0
原创粉丝点击