Skip to content

Commit 19b1d22

Browse files
author
Peter Spiess-Knafl
committed
updated readme
1 parent c3f7e61 commit 19b1d22

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

README.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ It is fully JSON-RPC 2.0 compatible ([JSON-RPC 2.0](http://www.jsonrpc.org/speci
2424
- Very verbose error reporting.
2525
- Easy to use [cmake](http://www.cmake.org) cross platform build system.
2626
- Clean and simple architecture.
27-
- Tested under MacOS X (10.7,10.8), Linux (Debian 8 64-bit).
27+
- Tested under MacOS X (10.9), Linux (Debian 8 64-bit).
2828
- Tested under RaspberryPi (raspbian). This library offers great opportunities to remotely control your raspberry pi.
2929
- Automated testing using `make test`
3030
- Useful Examples provided. e.g. XBMC Remote using json-rpc client part and stub generator.
@@ -39,12 +39,25 @@ Build the framework
3939
You will need [Git](http://git-scm.com/downloads) and [CMake](http://www.cmake.org/cmake/resources/software.html). You can click on the links to download the latest versions. [libcurl](http://curl.haxx.se/libcurl/) is also required but should already be installed on most systems.
4040
CMake must be Version 2.6 or later.
4141

42-
Under Debian based systems type:
42+
**Install the dependencies:**
43+
44+
*Debian based systems:*
4345

4446
```sh
4547
sudo apt-get install libcurl4-openssl-dev libjsoncpp-dev libargtable2-dev libboost-test-dev cmake
4648
```
4749

50+
*Mac OS X*
51+
52+
You need [Brew](http://brew.sh) installed and type the following commands
53+
```sh
54+
brew install argtable cmake boost
55+
```
56+
57+
[jsoncpp](https://github.com/open-source-parsers/jsoncpp) needs to be built by hand, because jsoncpp is not merged into brew yet. [See here](https://github.com/Homebrew/homebrew/pull/32916).
58+
59+
**Build and install this framework**
60+
4861
Open a terminal and copy the following commands:
4962

5063
```sh
@@ -153,7 +166,7 @@ In the main function the concrete server is instantiated and started. That is al
153166
Compile the server with:
154167
155168
```sh
156-
g++ main.cpp -ljsonrpccppserver -o sampleserver
169+
g++ main.cpp -ljsonrpccpp-server -o sampleserver
157170
```
158171

159172
### Step 4: Create the client application
@@ -185,7 +198,7 @@ int main()
185198
Compile the client with:
186199

187200
```sh
188-
g++ main.cpp -ljsonrpccppclient -o sampleclient
201+
g++ main.cpp -ljsonrpccpp-client -o sampleclient
189202
```
190203

191204
References
@@ -208,18 +221,12 @@ Changelogs
208221
----------
209222
Changelogs can be found [here](https://github.com/cinemast/libjson-rpc-cpp/blob/master/CHANGELOG.md).
210223

211-
Known issues
212-
-------------
213-
- Due to a bug in gcc 4.6.2 this project is not compiling under Mac OS gcc. Use clang++ instead. [See here](http://stackoverflow.com/questions/8887864/template-base-constructor-call-in-member-initialization-list-error)
214-
215224
Licsense
216225
--------
217226
This framework is licensed under [MIT](http://en.wikipedia.org/wiki/MIT_License).
218227

219-
220228
Dependencies
221229
---------------
222-
223230
- [jsoncpp](http://jsoncpp.sourceforge.net) (licensed under MIT)
224231
jsoncpp is a very easy to use and powerful json library.
225232
It is used for all the JSON parsing and generation inside this library.

0 commit comments

Comments
 (0)