restricted system.
Homepage: http://kapsi.fi/~jpa/nanopb/
-
+Downloads: http://koti.kapsi.fi/~jpa/nanopb/download/
+Forum: https://groups.google.com/forum/#!forum/nanopb
basic parsing of .proto files. However, it does mean that you need the
Google's protobuf library in order to run the generator.
-If you have downloaded a binary package for nanopb (either Windows or Linux
-version), the 'protoc' binary is included in the 'generator-bin' folder. In
-this case, you are ready to go. Simply run this command:
+If you have downloaded a binary package for nanopb (either Windows, Linux or
+Mac OS X version), the 'protoc' binary is included in the 'generator-bin'
+folder. In this case, you are ready to go. Simply run this command:
generator-bin/protoc --nanopb_out=. myprotocol.proto
This will show the progress of various test cases. If the output does not
end in an error, the test cases were successful.
-
+Note: Mac OS X by default aliases 'clang' as 'gcc', while not actually
+supporting the same command line options as gcc does. To run tests on
+Mac OS X, use: "scons CC=clang CXX=clang". Same way can be used to run
+tests with different compilers on any platform.