forked from labatrockwell/openTSPS
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathinstall_opentsps_from_scratch.sh
57 lines (56 loc) · 1.8 KB
/
install_opentsps_from_scratch.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
cd
mkdir -p sources
cd sources
wget http://www.openframeworks.cc/versions/v0.8.0/of_v0.8.0_linux64_release.tar.gz
tar xzvf of_v0.8.0_linux64_release.tar.gz
cd of_v0.8.0_linux64_release/scripts/linux/ubuntu
sudo bash install_dependencies.sh
# make sure it install gstreamer1.0
# if not, edit the script to force gstreamer1.0 install
sudo bash install_codecs.sh
sed -i 's/freetype2\/freetype/freetype/' ../../../libs/openFrameworks/graphics/ofTrueTypeFont.cpp
# try to compile a simple of example
# cd ../../../examples/video/videoPlayerExample
# make
# if you get an error with poco, you may be trying to use poco built with gcc4 and you are using gcc5 or higer
# try
# sudo apt-get install g++-4.9 gcc-4.9
# cd /usr/bin/
# sudo mv gcc gcc.bkp
# sudo mv g++ g++.bkp
# sudo ln -s /usr/bin/gcc-4.9 gcc
# sudo ln -s /usr/bin/g++-4.9 g++
# rebuild of
# cd
# cd sources/of_v0.8.0_linux64_release/libs/openFrameworksCompiled/project
# make clean
# cd
# cd sources/of_v0.8.0_linux64_release/examples/video/videoPlayerExample/
# make clean
# make
cd ../../../apps
mkdir soixante
cd soixante
git clone [email protected]:emmanuelgeoffray/openTSPS.git
cd openTSPS
bash clone_addons.sh
sudo install_dependencies.sh
cd ../../../addons/ofxCv/
git reset --hard ac235ab
cd ../ofxIpVideoGrabber
git reset --hard 8f0775dc988175003d0aeb6d3795e6ff94293235
cd ../ofxHTTP
git reset --hard 8a5a51c1d7b0eb7a1a57ac2d6d04531ef27bb9de
cd ../ofxTaskQueue
git reset --hard 1a49a08daadbce46f67b4cfe65904eff76d76f06
cd ../ofxIO
git reset --hard 5861979ccf7d9053d2940330d7a5f2aa9fa90587
cd ../ofxMediaType
git reset --hard 764010240efd30531f4d70c103bad3e6615615ff
cd ../ofxSSLManager
git reset --hard 0acbc4bea436b63748781df971f88a3c9a2d4875
cd ../ofxSpacebrew
git reset --hard d99b734483de9af0f3b1d7c01670105a9bae544
cd ../../apps/soixante/openTSPS/standalone/basic
make
make run