You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-10Lines changed: 17 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ It is fully JSON-RPC 2.0 compatible ([JSON-RPC 2.0](http://www.jsonrpc.org/speci
24
24
- Very verbose error reporting.
25
25
- Easy to use [cmake](http://www.cmake.org) cross platform build system.
26
26
- 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).
28
28
- Tested under RaspberryPi (raspbian). This library offers great opportunities to remotely control your raspberry pi.
29
29
- Automated testing using `make test`
30
30
- Useful Examples provided. e.g. XBMC Remote using json-rpc client part and stub generator.
@@ -39,12 +39,25 @@ Build the framework
39
39
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.
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
+
48
61
Open a terminal and copy the following commands:
49
62
50
63
```sh
@@ -153,7 +166,7 @@ In the main function the concrete server is instantiated and started. That is al
153
166
Compile the server with:
154
167
155
168
```sh
156
-
g++ main.cpp -ljsonrpccppserver -o sampleserver
169
+
g++ main.cpp -ljsonrpccpp-server -o sampleserver
157
170
```
158
171
159
172
### Step 4: Create the client application
@@ -185,7 +198,7 @@ int main()
185
198
Compile the client with:
186
199
187
200
```sh
188
-
g++ main.cpp -ljsonrpccppclient -o sampleclient
201
+
g++ main.cpp -ljsonrpccpp-client -o sampleclient
189
202
```
190
203
191
204
References
@@ -208,18 +221,12 @@ Changelogs
208
221
----------
209
222
Changelogs can be found [here](https://github.com/cinemast/libjson-rpc-cpp/blob/master/CHANGELOG.md).
210
223
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
-
215
224
Licsense
216
225
--------
217
226
This framework is licensed under [MIT](http://en.wikipedia.org/wiki/MIT_License).
218
227
219
-
220
228
Dependencies
221
229
---------------
222
-
223
230
-[jsoncpp](http://jsoncpp.sourceforge.net) (licensed under MIT)
224
231
jsoncpp is a very easy to use and powerful json library.
225
232
It is used for all the JSON parsing and generation inside this library.
0 commit comments