Closed GoogleCodeExporter closed 9 years ago
The version from github (https://github.com/metormote/nanopb) runs the tests ok.
Original comment by dpa...@gmail.com
on 20 Mar 2015 at 1:50
The error comes from the 'oneof' directive:
https://code.google.com/p/nanopb/source/browse/tests/alltypes/alltypes.proto#104
The protoc version in Ubuntu 14.04 is 2.5, which is too old to support the
latest protobuf features. Version 2.6 is needed. The new features are used (and
tested) in nanopb test cases. Unfortunately it is not easy to make the test
cases run for older versions.
However, you should be able to use nanopb just fine even with protobuf-compiler
2.5, except oneofs.
Original comment by Petteri.Aimonen
on 20 Mar 2015 at 6:14
Original issue reported on code.google.com by
dpa...@gmail.com
on 19 Mar 2015 at 9:05