Lines Matching +full:download +full:- +full:git +full:- +full:cache
1 Protocol Buffers - Google's data interchange format
4 …-kokoro-results/status-badge/linux-cpp_distcheck.png)](https://fusion.corp.google.com/projectanaly…
8 https://developers.google.com/protocol-buffers/
10 C++ Installation - Unix
11 -----------------------
24 $ sudo apt-get install autoconf automake libtool curl make g++ unzip
29 To get the source, download one of the release .tar.gz or .zip packages in the
34 For example: if you only need C++, download `protobuf-cpp-[VERSION].tar.gz`; if
35 you need C++ and Java, download `protobuf-java-[VERSION].tar.gz` (every package
37 download `protobuf-all-[VERSION].tar.gz`.
39 You can also get the source by "git clone" our git repository. Make sure you
43 git clone https://github.com/protocolbuffers/protobuf.git
45 git submodule update --init --recursive
56 sudo ldconfig # refresh shared library cache.
65 http://www.gnu.org/software/autoconf/manual/autoconf.html#Running-configure-Scripts
74 ./configure --prefix=/usr
83 Protocol Buffers integrates with pkg-config to manage this. If you
84 have pkg-config installed, then you can invoke it to get a list of
88 pkg-config --cflags protobuf # print compiler flags
89 pkg-config --libs protobuf # print linker flags
90 pkg-config --cflags --libs protobuf # print both
95 c++ my_program.cc my_proto.pb.cc `pkg-config --cflags --libs protobuf`
98 Buffers may not yet integrate with pkg-config to get flags, and may
104 configure CXXFLAGS="$(pkg-config --cflags protobuf)" \
105 LIBS="$(pkg-config --libs protobuf)"
109 If you are writing an autoconf-based package that uses Protocol
115 See the pkg-config man page for more info.
117 If you only want protobuf-lite, substitute "protobuf-lite" in place
126 sudo xcode-select --install
136 **Note for cross-compiling**
139 built in order to build tests. When cross-compiling, the protoc
142 the --with-protoc option to tell configure to use it instead. For
145 ./configure --with-protoc=protoc
153 ./configure --with-protoc=../host/src/protoc
162 about libstdc++.la being invalid. We have included a work-around
163 in this package. To use the work-around, run configure as follows:
165 ./configure LDFLAGS=-L$PWD/src/solaris
173 ./configure CXXFLAGS="-O -std ansi -ieee -D__USE_STD_IOSTREAM"
185 C++ Installation - Windows
186 --------------------------
188 If you only need the protoc binary, you can download it from the release
193 In the downloads section, download the zip file protoc-$VERSION-win32.zip.
199 >vcpkg install protobuf protobuf:x64-windows
203 >vcpkg install protobuf[zlib] protobuf[zlib]:x64-windows
213 ----------------------------
219 re-compiling. This problem, when it occurs, will normally be detected
224 ./configure --disable-shared
227 -----
232 https://developers.google.com/protocol-buffers/