Jeff Thompson | 9b282e0 | 2013-08-09 17:13:38 -0700 | [diff] [blame] | 1 | NDN-CPP: A Named Data Networking client library for C++ and C |
Jeff Thompson | 057d318 | 2013-08-09 17:02:25 -0700 | [diff] [blame] | 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 | |
Jeff Thompson | 2f951cf | 2013-08-11 16:04:09 -0700 | [diff] [blame^] | 19 | To make documentation, enter: |
| 20 | make doxygen-doc |
| 21 | |
Jeff Thompson | 057d318 | 2013-08-09 17:02:25 -0700 | [diff] [blame] | 22 | Files |
| 23 | ----- |
| 24 | |
| 25 | This makes the following libraries: |
| 26 | |
| 27 | .libs/libndn-c.a: The core C code for encoding and communication. |
| 28 | .libs/libndn-cpp.a: The C++ library API. libndn-cpp also needs libndn-c. |
| 29 | |
| 30 | This makes the following test files: |
| 31 | |
| 32 | bin/test-get-async: Connect to one of the NDN testbed hubs, express an interest and display the received data. |
| 33 | bin/test-encode-decode-interest: Encode and decode an interest, testing interest selectors and the name URI. |
| 34 | bin/test-encode-decode-data: Encode and decode a data packet, including signing the data packet. |
| 35 | |
Jeff Thompson | 2f951cf | 2013-08-11 16:04:09 -0700 | [diff] [blame^] | 36 | Running make doxygen-doc puts code documentation in: |
| 37 | doc/html |
| 38 | |
Jeff Thompson | 057d318 | 2013-08-09 17:02:25 -0700 | [diff] [blame] | 39 | Supported platforms |
| 40 | ------------------- |
| 41 | |
Jeff Thompson | 9b282e0 | 2013-08-09 17:13:38 -0700 | [diff] [blame] | 42 | NDN-CPP is tested on the following platforms: |
Jeff Thompson | 057d318 | 2013-08-09 17:02:25 -0700 | [diff] [blame] | 43 | Ubuntu 12.04 (gcc 4.6.3) |
| 44 | Mac OS X 10.8.4 (clang 4.2) |
| 45 | Mac OS X 10.8.4 (gcc 4.2) |
| 46 | |
| 47 | |