Jeff Thompson | 057d318 | 2013-08-09 17:02:25 -0700 | [diff] [blame^] | 1 | ndn-cpp: A Named Data Networking client library for C++ and C |
| 2 | ------------------------------------------------------------- |
| 3 | |
| 4 | Prerequisites |
| 5 | ------------- |
| 6 | |
| 7 | libcrypto |
| 8 | |
| 9 | Build |
| 10 | ----- |
| 11 | |
| 12 | To build in a terminal, change directory to the ndn-cpp root. Enter: |
| 13 | |
| 14 | ./configure |
| 15 | make |
| 16 | |
| 17 | (There is currently no "install" step.) |
| 18 | |
| 19 | Files |
| 20 | ----- |
| 21 | |
| 22 | This makes the following libraries: |
| 23 | |
| 24 | .libs/libndn-c.a: The core C code for encoding and communication. |
| 25 | .libs/libndn-cpp.a: The C++ library API. libndn-cpp also needs libndn-c. |
| 26 | |
| 27 | This makes the following test files: |
| 28 | |
| 29 | bin/test-get-async: Connect to one of the NDN testbed hubs, express an interest and display the received data. |
| 30 | bin/test-encode-decode-interest: Encode and decode an interest, testing interest selectors and the name URI. |
| 31 | bin/test-encode-decode-data: Encode and decode a data packet, including signing the data packet. |
| 32 | |
| 33 | Supported platforms |
| 34 | ------------------- |
| 35 | |
| 36 | ndn-cpp is tested on the following platforms: |
| 37 | Ubuntu 12.04 (gcc 4.6.3) |
| 38 | Mac OS X 10.8.4 (clang 4.2) |
| 39 | Mac OS X 10.8.4 (gcc 4.2) |
| 40 | |
| 41 | |