summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim <tim@eclectronics.org>2013-06-25 07:58:58 -0700
committerTim <tim@eclectronics.org>2013-06-25 07:58:58 -0700
commit9f72cdc20b8fe267299047eb7f3d86530be47a5a (patch)
treeba686ed032991c14624742119f452d89248e87bd
parenta20a8f5f44ab0c860bf69c8c01b2bb22e17484be (diff)
build fixes
-rwxr-xr-xinstall_dependencies_linux.sh8
-rw-r--r--rotord/Makefile4
2 files changed, 9 insertions, 3 deletions
diff --git a/install_dependencies_linux.sh b/install_dependencies_linux.sh
index ad1dd15..32bc6d6 100755
--- a/install_dependencies_linux.sh
+++ b/install_dependencies_linux.sh
@@ -26,7 +26,7 @@ sudo make install
cd ../../../
-sudo apt-get install libxvidecore-dev
+sudo apt-get install libxvidcore-dev libxfixes-dev
sudo apt-get install libfaac-dev libfaad-dev libschroedinger-dev libtheora-dev libvorbis-dev libxv-dev libxvmc-dev
@@ -35,6 +35,9 @@ sudo apt-get install libmp3lame-dev
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg
./configure --prefix=/usr/local --enable-gpl --enable-nonfree --enable-shared --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-bzlib --enable-libfaac --enable-libmp3lame --enable-libschroedinger --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib
+
+#https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&ved=0CDYQFjAB&url=https%3A%2F%2Fgithub.com%2Fopenembedded%2Foe-core%2Fblob%2Fmaster%2Fmeta%2Frecipes-multimedia%2Fgstreamer%2Fgst-ffmpeg-0.10.13%2Fh264_qpel_mmx.patch&ei=IKPJUb5GzYuFB5fcgcAF&usg=AFQjCNFXPPb3HZRMdRCnOazSoteHQu6awA&sig2=Z2s4SUshqcOCoB5N_o1aVw&bvm=bv.48293060,d.ZG4
+#problems for now with latest version, use saved one here
make
sudo make install
cd ..
@@ -42,3 +45,6 @@ cd ..
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
sudo ldconfig
+sudo apt-get install colorgcc
+sudo apt-get install g++
+sudo apt-get install libpoco-dev libvamp-hostsdk3 vamp-plugin-sdk libsndfile1-dev
diff --git a/rotord/Makefile b/rotord/Makefile
index ed200cc..36c2ac8 100644
--- a/rotord/Makefile
+++ b/rotord/Makefile
@@ -9,7 +9,7 @@ MY_CFLAGS = -fpermissive -std=c++11
# -I ../ffmpeg
# The linker options.libgstaasinklibgstaasink.so
-MY_LIBS = -lPocoNet -lPocoXML -lPocoUtil -lPocoFoundation -lvamp-hostsdk -lsndfile -L /usr/local/lib -lswscale -lavcodec -lavformat -lavfilter -lavdevice -lavutil
+MY_LIBS = -lPocoNet -lPocoXML -lPocoUtil -lPocoFoundation -lvamp-hostsdk -lsndfile -L /usr/local/lib -lswscale -lavcodec -lavformat -lavfilter -lavdevice -lavutil -lstdc++ -lm
#MY_LIBS = -lPocoNet -lPocoXML -lPocoUtil -lPocoFoundation -lvamp-hostsdk -lsndfile -L /usr/local/lib -lswscale -lavcodec -lavformat -lavfilter -lavdevice -lavutil $(shell pkg-config gstreamer-0.10 gstreamer-video-0.10 gstreamer-base-0.10 --libs)
# -lgstreamer-0.10 -lgstreamer-video-0.10 -lgstreamer-base-0.10 -lglib-2.0 -lgstapp-0.10
#MY_LIBS = ../libavcodec/ffmpeg/libavcodec/libavcodec.a ../libavcodec/ffmpeg/libavutil/libavutil.a ../libavcodec/ffmpeg/libavformat/libavformat.a ../libavcodec/ffmpeg/libavfilter/libavfilter.a ../libavcodec/ffmpeg/libavdevice/libavdevice.a -lPocoNet -lPocoXML -lPocoUtil -lPocoFoundation -lvamp-hostsdk
@@ -19,7 +19,7 @@ MY_LIBS = -lPocoNet -lPocoXML -lPocoUtil -lPocoFoundation -lvamp-hostsdk -lsnd
CPPFLAGS = -Wall
# The options used in linking as well as in any direct use of ld.
-LDFLAGS =
+LDFLAGS =
# The directories in which source files reside.
# If not specified, only the current directory will be serached.