On Fri, Sep 2, 2016 at 12:41 AM, khing blue <[email protected]> wrote:
> Hi, > > I made some changes locally to protocol compiler, and would like to > use generate_descriptor_proto.sh to regenerate descriptor.pb.* files. > However, I ran into following errors: > > /cygdrive/d/protobuf $ ./generate_descriptor_proto.sh > Updating descriptor protos... > Round 1 > make: *** No rule to make target 'protoc'. Stop. > Failed to build protoc. > > I was using CMake to generate Makefile: > cmake -Dprotobuf_BUILD_TESTS=ON cmake > > Any idea how to fix it? > Hmm, so the ./generate_descriptor_proto.sh assumes the use of autotools. You will need to tweak the script for it to work with cmake. A simple hack might suffice: 1. remove the "make $@ protoc" line 2. copy the protoc binary built by cmake to src/ after this ./generate_descriptor_proto.sh should run fine. > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/protobuf. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
