Giter VIP home page Giter VIP logo

protocol-buffers's Introduction

Protocol Buffers

Build Status

This repo contains the message structures (as protocol buffers) currently defined for inter application communication. Applications using protocol buffers should git submodule this repo.

Building the protos

You will need gRPC and cmake installed on your system :

$ mkdir build
$ cd build 
$ cmake -DCMAKE_CXX_FLAGS="-std=c++11" ..
$ make

Alternatively you can use the docker and conveniently build with a single docker-compose command:

$ docker-compose run c-build

Proto messages for other languages

You can find packaged proto messages for NodeJS in the npm and Pypi repos.

Contributing

As a general guideline, protocol buffers should be backwards compatible, so make sure any changes you do, are in fact backwards compatible.

Changes done to messages will impact many applications, so make sure you create a documented pull request with your changes and you reference all relevant reviewers (MALOS, MatrixOS, Vision Services) teams.

You should always keep your application compatible with the latest version of the protocol buffers, so make sure you run git submodule update --remote the protocol buffer submodule, or git pull origin master inside the submodule.

License

protocol-buffers's People

Contributors

arhuaco avatar brianofrokk3r avatar campos537 avatar diegoribero avatar draity avatar eighteyes avatar eljuguetero avatar gordinh avatar heekinho avatar heitorgo1 avatar hpsaturn avatar kdpatino avatar leonardo-vernaza avatar leovernaza avatar llerrito avatar maciekrb avatar yoelrc88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

protocol-buffers's Issues

Problems building for Windows

I am having several problems when building for Windows 10.

To generate the Visual Studio solution I had to reorganize the install folder created by protobuf lib following this structure:

rootfolder
   |+ src
       |+google
           |+protobuf
               |-*All include files*
   |+ vsprojects
       |+Release
           |-*.lib (libprotobuf.lib, etc.)

Then, I had to put "protoc.exe" and "grpc_cpp_plugin.exe" inside the build directory of protocol-buffers and set(Protobuf_SRC_ROOT_FOLDER *rootFolder path*) in CMakeLists.txt before find_package(Protobuf 3 REQUIRED). This was all because how "FindProtobuf.cmake" works when compiling with visual studio.

After I managed to do this I tried to compile the generated solution, but it seems to be quiet broken. There are duplicated files in the matrixio_protos.vcxproj project with a wrong path (adds build folder twice, like ...\protocol-buffers\build\build...). It also tries to access the protobuf and matrix_io source files from the protocol buffers build directory. After adding them there, it finally fails to compile due to error cmb6006 because it tries to access a wrong path (access ptrobuf instead of protobuf folder).

Malos proto files

Would be nice to have an npm package with the proto file of malos. Like this we can get them really easily on our node application and can also maintain them.

Thanks :)

README typo

Missing last " in cmake -DCMAKE_CXX_FLAGS="-std=c++11 ..

Should be : cmake -DCMAKE_CXX_FLAGS="-std=c++11" ..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.