Skip to content

Commit

Permalink
Updated README to build cpp client. (apache#2798)
Browse files Browse the repository at this point in the history
  • Loading branch information
zuyu authored and merlimat committed Oct 17, 2018
1 parent 1c4d0fa commit 9875866
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions pulsar-client-cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ Run unit tests:
#### Install all dependencies:

```shell
apt-get install g++ cmake libssl-dev libcurl4-openssl-dev liblog4cxx-dev \
libprotobuf-dev libboost-all-dev libgtest-dev \
apt-get install -y g++ cmake libssl-dev libcurl4-openssl-dev liblog4cxx-dev \
libprotobuf-dev libboost-all-dev libgtest-dev google-mock \
libjsoncpp-dev libxml2-utils protobuf-compiler python-setuptools
```

Expand All @@ -88,6 +88,16 @@ sudo cp *.a /usr/lib
```


#### Compile and install Google Mock:

```shell
cd /usr/src/gmock
sudo cmake .
sudo make
sudo cp *.a /usr/lib
```


#### Compile Pulsar client library:

```shell
Expand Down

0 comments on commit 9875866

Please sign in to comment.