Changes between Version 16 and Version 17 of projects/synapse/raspberry


Ignore:
Timestamp:
11/25/14 22:22:35 (9 years ago)
Author:
Edwin Eefting
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • projects/synapse/raspberry

    v16 v17  
    44
    55
    6 Install dependencys:
     6=== 1. install dependencies neccesary to compile synapse ===
     7
     8Inside the chroot do this:
     9
    710{{{
    811root@lab1:~/Synapse# apt-get install libboost-all-dev cmake libcurl4-openssl-dev liboauth-dev libvlc-dev
     
    1619
    1720
     21=== 2. clone the source tree ===
     22
     23{{{
     24root@lab1:~# git clone git://github.com/psy0rz/Synapse.git
     25Cloning into 'Synapse'...
     26remote: Counting objects: 4533, done.
     27remote: Compressing objects: 100% (1258/1258), done.
     28remote: Total 4533 (delta 3311), reused 4429 (delta 3207)
     29Receiving objects: 100% (4533/4533), 2.04 MiB | 835 KiB/s, done.
     30Resolving deltas: 100% (3311/3311), done.
     31}}}
     32
     33
     34=== 3. compile it ===
     35
     36We compile a Release version while using less memory for the compiler:
     37
     38{{{
     39root@lab1:~# cd Synapse/
     40root@lab1:~/Synapse# cmake -DCMAKE_BUILD_TYPE=ReleaseLowMem .
     41-- The C compiler identification is GNU 4.6.3
     42......
     43
     44root@lab1:~/Synapse# make -j 4
     45Scanning dependencies of target test_http_json
     46Scanning dependencies of target pl_dir
     47.....takes forever the first time...
     48}}}
     49
     50=== 4. run it ===
     51
     52Change etc/synapse/pl.conf to your mediapath and run it:
     53
     54{{{
     55[rasproot] root@psysamsungtop:/root/Synapse# ./synapse mp
     560x9b63a8 test: Selftesting CVAR_LONG_DOUBLE [/root/Synapse/cvar.cpp:611]
     570x9b63a8 test: empty long value [/root/Synapse/cvar.cpp:613]
     580x9b63a8 test: use long as boolean [/root/Synapse/cvar.cpp:617]
     590x9b63a8 test: long construct [/root/Synapse/cvar.cpp:621]
     600x9b63a8 test: long assignment [/root/Synapse/cvar.cpp:625]
     610x9b63a8 test: long assignment reference [/root/Synapse/cvar.cpp:630]
     620x9b63a8 test: int to string [/root/Synapse/cvar.cpp:636]
     630x9b63a8 test: long to string [/root/Synapse/cvar.cpp:640]
     640x9b63a8 test: long to map [/root/Synapse/cvar.cpp:646]
     65...
     66
     67}}}
     68
     69Now it should start playing and the webinterface should be at http://raspberrypi/mp.html
    1870
    1971= Cross-compiling Synapse for raspberry (ARM) and other architectures =