summaryrefslogtreecommitdiffstats
path: root/docs/Ubuntu-LTS.txt
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-07-03 01:10:03 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-07-03 01:10:03 (GMT)
commitb542369263782dc8b85893e218119ed070efa7b3 (patch)
tree0a18012a0af991755ceab98a457b46b79c14129f /docs/Ubuntu-LTS.txt
parent193a01614dc3290eec51745a91be65c166c3763b (diff)
downloaduscxml-b542369263782dc8b85893e218119ed070efa7b3.zip
uscxml-b542369263782dc8b85893e218119ed070efa7b3.tar.gz
uscxml-b542369263782dc8b85893e218119ed070efa7b3.tar.bz2
Got ready for cmake3 and some minor fixes
Diffstat (limited to 'docs/Ubuntu-LTS.txt')
-rw-r--r--docs/Ubuntu-LTS.txt44
1 files changed, 44 insertions, 0 deletions
diff --git a/docs/Ubuntu-LTS.txt b/docs/Ubuntu-LTS.txt
new file mode 100644
index 0000000..df687ab
--- /dev/null
+++ b/docs/Ubuntu-LTS.txt
@@ -0,0 +1,44 @@
+Install Ubuntu LTS 12
+
+For core functionality without fancy plugins:
+
+$ sudo apt-get install cmake build-essential libxml2-dev libcurl4-openssl-dev
+
+For OpenSceneGraph invoker (version in repositories lacks vrml plugin):
+
+$ sudo apt-get install libpng12-dev libjpeg-dev libboost-all-dev libltdl-dev
+$ sudo apt-get install libopenscenegraph-dev # just for the dependencies
+$ sudo apt-get remove libopenscenegraph-dev
+
+$ wget http://sourceforge.net/projects/openvrml/files/latest/download
+$ tar xvjf openvrml*
+$ cd openvrml*
+$ ./configure --disable-render-text-node --disable-script-node-javascript --disable-script-node-java --disable-gl-renderer --disable-xembed --disable-player --disable-examples --disable-mozilla-plugin
+$ sudo make install
+$ cd ..
+
+for mavericks:
+PNG_CFLAGS="-I/opt/local/include" PNG_LIBS="-L/opt/local/lib" XML_CFLAGS="-I`xcrun --show-sdk-path`/usr/include/libxml2" XML_LIBS="-L`xcrun --show-sdk-path`/usr/lib" CPPFLAGS="--sysroot=`xcrun --show-sdk-path` -I/opt/local/include -I`xcrun --show-sdk-path`/usr/include/libxml2" LDFLAGS="--sysroot=`xcrun --show-sdk-path` -L/opt/local/lib -lboost_system-mt -lxml2 -lpng" ./configure --disable-render-text-node --disable-script-node-javascript --disable-script-node-java --disable-gl-renderer --disable-xembed --disable-player --disable-examples --disable-mozilla-plugin
+
+
+$ sudo apt-get install git
+$ git clone https://github.com/openscenegraph/osg
+$ cd osg
+$ nano src/osgPlugins/vrml/IndexedFaceSet.cpp # Edit line 207 and remove the else block
+
+$ mkdir build && cd build
+$ cmake ..
+$ make -j4
+$ sudo make install
+
+For ffmpeg invoker:
+
+Follow http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide for a version of recent version of ffmpeg
+on ubuntu. The various libav* packages that come with the distribution are inadequate.
+
+Install uscxml:
+$ git clone https://github.com/tklab-tud/uscxml.git
+$ cd uscxml
+$ mkdir build && cd build
+$ cmake ..
+$ make \ No newline at end of file