Thanks Mike, I actually was able to get it to build using cmake. Just modified the instructions below. I'm setting up a VM for a project I am working on. We are developing a mobile app that can communicate with devices on cars. The communication is done through protobuf, but I'm getting my dev environment setup and just reading through instructions.
git clone https://github.com/protocolbuffers/protobuf.git cd protobuf git submodule update --init --recursive mkdir build cd build cmake .. make sudo make install I'm setting up a VM for a project I'm working on that uses protobuf On Wed, Sep 14, 2022 at 12:53 AM Mike Kruskal <[email protected]> wrote: > Hey Helen, > > See the announcement > <https://developers.google.com/protocol-buffers/docs/news/2022-08-03> for > more information, but the TL;DR is that we're removing autotools support in > our upcoming release. > > The only C++ build systems we will support going forward are Bazel and > CMake (see the updated documentation > <https://github.com/protocolbuffers/protobuf/blob/main/src/README.md>). > I'm curious where you got those setup instructions from? The release is > still a work in progress, so it's possible we've missed some references to > the old instructions. > > Depending on what you're trying to do, you have 3 options: > > 1) Use CMake as a roughly drop-in replacement for the old autotools > workflow you referenced. This is our only supported mechanism for > *installation* of protobuf, and it looks like that might be what you want. > > 2) Install Bazel and use that for build and test. This may be a bit of an > adjustment depending on what you're doing > > 3) Work from the 21.x branch, which we will continue to support for at > least 12 months after the 22.x release (according to our breaking change > policy > <https://opensource.google/documentation/policies/library-breaking-change> > ). > > Thanks, > Mike > > On Tue, Sep 13, 2022 at 9:54 AM helen ristov <[email protected]> > wrote: > >> Hello, >> >> I am getting an error that the autogen.sh is not found after I clone the >> directory. I have these setup instructions. Is there something that I am >> missing? >> >> sudo apt-get install autoconf automake libtool curl make g++ unzip >> >> git clone https://github.com/protocolbuffers/protobuf.git >> >> cd protobuf >> >> git submodule update --init --recursive >> >> ./autogen.sh >> >> ./configure >> >> sudo make >> >> sudo make check >> >> sudo make install >> >> sudo ldconfig # refresh shared library cache >> >> -- >> 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 view this discussion on the web visit >> https://groups.google.com/d/msgid/protobuf/501cfbdc-05f5-4288-a8d7-ac181e00a3c6n%40googlegroups.com >> <https://groups.google.com/d/msgid/protobuf/501cfbdc-05f5-4288-a8d7-ac181e00a3c6n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/CA%2BndOH%3DC6YYkXtw6Df6ihUVRmTmEu%3DwXvN2kc1K8v6rUQVfN4g%40mail.gmail.com.
