-
Notifications
You must be signed in to change notification settings - Fork 0
/
autogen_installer_osx.sh
executable file
·131 lines (109 loc) · 2.69 KB
/
autogen_installer_osx.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#install XCode
#this install xcode command line tools
xcode-select --install
#install macports from macports, then run:
sudo port -v selfupdate
#installing packages:
port install subversion
port install git
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export MANPATH=/opt/local/share/man:$MANPATH
export LDFLAGS='-L/opt/local/lib'
export CPPFLAGS='-I/opt/local/include'
export LD_LIBRARY_PATH=/opt/local/lib
export LD_INCLUDE_PATH=/opt/local/include
#moldeo dependencies:
# search name packages with: port search nameofthepackage
port install muparser
port install lua51
port install tinyxml
port install libsdl
port install libsdl2
port install glew
port install freeglut
#port install gle
port install ftgl
port install freeimage
port install freealut
port install gstreamer010*
port install boost +universal
#port install autoconf-archive
port install check
port install libtool
port install intltool
port install automake
port install pkgconfig
wget https://gstreamer.freedesktop.org/data/pkg/osx/1.20.2/gstreamer-1.0-1.20.2-universal.pkg
wget https://gstreamer.freedesktop.org/data/pkg/osx/1.20.2/gstreamer-1.0-devel-1.20.2-universal.pkg
#libmoldeo
#sudo apt-get install
#libmuparser-dev
#lua5.1-dev
#libtinyxml-dev
#!!! libgtk2.0-dev
#libsdl1.2-dev
#libsdl2-dev
#libglew-dev
#freeglut3-dev
#BAD!! libgle3-dev
#ftgl-dev
#libfreeimage-dev
#libalut-dev
#libgstreamer0.10-dev
#libgstreamer-plugins-base0.10-dev
#libboost-dev
#libboost-filesystem-dev
#libboost-thread-dev
#libboost-system-dev
#libasio-dev
#autoconf-archive
#check
#Moldeo Plugins
#sudo apt-get install libopencv-dev doxygen graphviz openjdk-7-jdk
port install liblo
port install portmidi
port install libsndfile
port install opencv3
port install doxygen
port install graphviz
#CHECK!! javacc or gjdb
#port install openjdk-7-jdk
#Moldeo Director
#sudo apt-get install libgtk2.0-dev wx-common libwxgtk2.8-dev
port install wxgtk-2.8
#port install wxWidgets-2.8
port install wx-common
#clone submodules repositories (libmoldeo, moldeodirector, moldeoplugins, libwxmoldeocontrols, moldeoplayer )
git submodule update --init
mkdir build
cd build
cd ../libmoldeo
git checkout master && git pull
./autogen_osx.sh
sudo make install
cd ../libwxmoldeocontrols
git checkout master && git pull
./autogen_osx.sh
sudo make install
cd ../moldeoplayer
git checkout master && git pull
./autogen_osx.sh
sudo make install
cd ../moldeoplugins
git checkout master && git pull
cd IODevices/Kinect
./install_OpenNI.sh
cd ../../
./autogen_osx.sh
sudo make install
cd ../moldeodirector
git checkout master && git pull
./autogen_osx.sh
sudo make install
cd ../moldeonet
./node-webkit_install.sh
cd ../moldeosamples
git checkout master && git pull
./autogen_osx.sh
make
sudo make install