Jerome Poichet | 7c99785 | 2014-05-20 10:50:05 -0700 | [diff] [blame] | 1 | Installation Instructions |
| 2 | ************************* |
| 3 | |
| 4 | PREREQUISITES |
| 5 | ============= |
| 6 | |
| 7 | * Protobuf 2.4.1 |
| 8 | http://code.google.com/p/protobuf/ |
| 9 | |
| 10 | * OpenSSL 1.0.1 |
| 11 | http://openssl.org/source |
| 12 | |
| 13 | * glog 0.3.2 |
| 14 | http://code.google.com/p/google-glog/ |
| 15 | |
| 16 | * Google Test 1.6.0 |
| 17 | http://code.google.com/p/googletest/ |
| 18 | |
| 19 | * Google Mock 1.6.0 |
| 20 | http://code.google.com/p/googlemock |
| 21 | |
| 22 | |
| 23 | BUILDING |
| 24 | ======== |
| 25 | |
| 26 | * Build the required prerequisite libraries. |
| 27 | |
| 28 | * Build and install the OpenSSL library: |
| 29 | $ ./config shared |
| 30 | $ make |
| 31 | $ make install |
| 32 | |
| 33 | * Build and install the Google TV Pairing library: |
| 34 | $ ./configure --with-gtest=/path/to/gtest --with-gmock=/path/to/gmock |
| 35 | $ make |
| 36 | $ make install |
| 37 | |
| 38 | |
| 39 | TESTING |
| 40 | ======= |
| 41 | |
| 42 | * Build and run the tests: |
| 43 | $ make check |
| 44 | |