| 21 | === 2. clone the source tree === |
| 22 | |
| 23 | {{{ |
| 24 | root@lab1:~# git clone git://github.com/psy0rz/Synapse.git |
| 25 | Cloning into 'Synapse'... |
| 26 | remote: Counting objects: 4533, done. |
| 27 | remote: Compressing objects: 100% (1258/1258), done. |
| 28 | remote: Total 4533 (delta 3311), reused 4429 (delta 3207) |
| 29 | Receiving objects: 100% (4533/4533), 2.04 MiB | 835 KiB/s, done. |
| 30 | Resolving deltas: 100% (3311/3311), done. |
| 31 | }}} |
| 32 | |
| 33 | |
| 34 | === 3. compile it === |
| 35 | |
| 36 | We compile a Release version while using less memory for the compiler: |
| 37 | |
| 38 | {{{ |
| 39 | root@lab1:~# cd Synapse/ |
| 40 | root@lab1:~/Synapse# cmake -DCMAKE_BUILD_TYPE=ReleaseLowMem . |
| 41 | -- The C compiler identification is GNU 4.6.3 |
| 42 | ...... |
| 43 | |
| 44 | root@lab1:~/Synapse# make -j 4 |
| 45 | Scanning dependencies of target test_http_json |
| 46 | Scanning dependencies of target pl_dir |
| 47 | .....takes forever the first time... |
| 48 | }}} |
| 49 | |
| 50 | === 4. run it === |
| 51 | |
| 52 | Change etc/synapse/pl.conf to your mediapath and run it: |
| 53 | |
| 54 | {{{ |
| 55 | [rasproot] root@psysamsungtop:/root/Synapse# ./synapse mp |
| 56 | 0x9b63a8 test: Selftesting CVAR_LONG_DOUBLE [/root/Synapse/cvar.cpp:611] |
| 57 | 0x9b63a8 test: empty long value [/root/Synapse/cvar.cpp:613] |
| 58 | 0x9b63a8 test: use long as boolean [/root/Synapse/cvar.cpp:617] |
| 59 | 0x9b63a8 test: long construct [/root/Synapse/cvar.cpp:621] |
| 60 | 0x9b63a8 test: long assignment [/root/Synapse/cvar.cpp:625] |
| 61 | 0x9b63a8 test: long assignment reference [/root/Synapse/cvar.cpp:630] |
| 62 | 0x9b63a8 test: int to string [/root/Synapse/cvar.cpp:636] |
| 63 | 0x9b63a8 test: long to string [/root/Synapse/cvar.cpp:640] |
| 64 | 0x9b63a8 test: long to map [/root/Synapse/cvar.cpp:646] |
| 65 | ... |
| 66 | |
| 67 | }}} |
| 68 | |
| 69 | Now it should start playing and the webinterface should be at http://raspberrypi/mp.html |