Lines Matching +full:build +full:- +full:with +full:- +full:python
1 # Protocol Buffers - Code Example
12 https://developers.google.com/protocol-buffers/docs/tutorials
14 ## Build the example using bazel
16 The example requires bazel 0.5.4 or newer to build. You can download/install
22 directory to build the code:
24 $ bazel build :all
28 $ bazel-bin/add_person_cpp addressbook.data
31 [BUILD](BUILD) file and [WORKSPACE](WORKSPACE) file.
33 ## Build the example using make
35 You must install the protobuf package before you can build it using make. The
37 and the protobuf runtime for the language you want to build.
39 You can simply run "make" to build the example for all languages (except for
42 build only the language you are interested in.
49 Then run "make cpp" in this examples directory to build the C++ example. It
60 "-lpthread" from the linker commands (perhaps replacing it with something else).
63 ### Python subsection
66 follow [../python/README.md](../python/README.md) to install protobuf python
67 runtime from source. You can also install python runtime using pip:
73 After you have install both protoc and python runtime, run "make python" to
74 build two executables (shell scripts actually): add_person_python and
82 https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java
86 $ export CLASSPATH=/path/to/protobuf-java-[version].jar
95 build with all the other examples. See:
106 go get github.com/golang/protobuf/protoc-gen-go
108 Build the Go samples in this directory with "make go". This creates the
122 Observe that the C++, Python, Java, and Dart examples in this directory run in a
130 …ffer plugin as described [here](https://github.com/dart-lang/dart-protoc-plugin#how-to-build-and-u…
131 Note, the executable `bin/protoc-gen-dart` must be in your `PATH` for `protoc` to find it.
133 Build the Dart samples in this directory with `make dart`.