Questions tagged [protoc]

protoc is the compiler for .proto files. It generates language bindings for the messages and/or RPC services from .proto files. protoc is a native executable, the scripts under this directory build and publish a protoc executable (a.k.a. artifact) to Maven repositories. The artifact can be used by build automation tools so that users would not need to compile and install protoc for their systems.

taken from google documentation

387 questions
0
votes
1 answer

gRPC not generating *grpc.cs

I am trying to generate grpc .cs files using a .bat file, but the messageGRPC.cs file does not get generated. However, the message.g.cs DOES get created. There are no errors and I even tried hard coding the paths and running the command window in…
GamerDev
  • 2,006
  • 4
  • 24
  • 31
0
votes
1 answer

Google protocol buffers - Binary compatibility between protoc-c and protoc

I have C code written in proto2 format and compiled by the protoc-c compiler. What I would like to know is whether that code is binary compatible with serialization/de-serialization code generated by the 'protoc' compiler (that also happens to…
Jai Prabhu
  • 245
  • 3
  • 10
0
votes
2 answers

How to properly install Protocol Compiler for pre-built binary?

I tried many times installing, "protoc-3.2.0-windows-x86_64.exe", but it doesn't get installed. When I double-click on it, there would be no screen displayed. I tried opening it through command line interface. I got a message as "Missing Input…
D Sai Krishna
  • 178
  • 1
  • 13
0
votes
0 answers

packed=true does not generate :packed => true Ruby Google Protocol Buffers

I'm working on a ruby application that has google protocol buffers. My proto file : syntax = 'proto3' message QuestionMessage { int32 id = 1; string question = 2; int32 font_id = 3; repeated int32 answers = 4 [packed=true]; } When I run…
0
votes
1 answer

protoc error in hadoop in eclipse

When I build hadoop source code I am getting following error: org.apache.hadoop:hadoop-maven-plugins:2.7.2:protoc (execution: compile-protoc, phase: generate-sources) pom.xml /hadoop-common line 335 Maven Project Build Lifecycle Mapping…
mndn
  • 73
  • 8
0
votes
1 answer

Protocol buffer with node.js - failed to generate js from .proto

Trying to use google protocol buffer in my node.js web server with this documentation. When running the following command: protoc --js_out=import_style=commonjs,binary: ServiceMessage.proto I received: --js_out: : Unknown option: import_style Any…
ItayB
  • 10,377
  • 9
  • 50
  • 77
0
votes
1 answer

Protoc error in Windows

I'm trying to compile protocol buffers code using the maven protoc plugin and a protoc executable that I built inside Cygwin. I can't do this from Cygwin or from the Windows command line. Below is the output that I get when I run it in Windows, but…
danben
  • 80,905
  • 18
  • 123
  • 145
-1
votes
1 answer

protoc-gen-go specific version require

I need a pre build project and I need a version of protoc-gen-go v1.25.0-devel but I am unable to find command etc to install It , till now I tried to do something like this : go get -u…
TNN
  • 391
  • 1
  • 5
  • 12
-1
votes
1 answer

/bin/sh: cannot execute binary file

I modified https://github.com/feast-dev/feast/blob/master/Makefile#L147 into install-dependencies-proto-docs: cd ${ROOT_DIR}/protos; rm -r $$HOME/bin rm -r $$HOME/include mkdir -p $$HOME/bin mkdir -p $$HOME/include go get…
BAE
  • 8,550
  • 22
  • 88
  • 171
-1
votes
1 answer

Conflict with Protobuf versions using Gstreamer

I have a bit of a strange question I am compiling an application on a VM with protoc 3.6.1 installed. It then build a zip file which I scp over to another machine where I unzip it and run it. None of the commands I run on that machine should…
maddog2323
  • 19
  • 1
  • 5
-1
votes
1 answer

Linux point LD_LIBRARY_PATH to correct location

I am trying to install caffe on a server where I have no root access and I get the following error make: *** [.build_release/src/caffe/proto/caffe.pb.o] Error 1 This error pointed me to https://github.com/BVLC/caffe/issues/4512 protobuf2.3.0 is…
TobSta
  • 766
  • 2
  • 10
  • 29
1 2 3
25
26