summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-07-11 04:48:49 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-07-11 04:48:49 (GMT)
commitcb287b22ca4373df81cc0f5eee9c24a511f6e409 (patch)
tree10ef62d2167e4268a2b22ef5c1cf158997e0fc1b
parentbf22cef8d94defb615bb5c3ee17d827d94704b8e (diff)
add build script for ubuntu that downloads binary packages too
-rwxr-xr-xscripts/ubuntu-build-dependencies.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/ubuntu-build-dependencies.sh b/scripts/ubuntu-build-dependencies.sh
new file mode 100755
index 0000000..44134cf
--- /dev/null
+++ b/scripts/ubuntu-build-dependencies.sh
@@ -0,0 +1,19 @@
+echo "tested on Ubuntu 12. If this fails try 'old linux' build (see README.md)"
+
+if [ "`dpkg --list | grep -i cgal`" ]; then
+ echo "Please make sure you have run apt-get purge on all cgal packages"
+ exit
+fi
+
+if [ "`dpkg --list | grep -i opencsg`" ]; then
+ echo "Please make sure you have run apt-get purge on all opencsg packages"
+ exit
+fi
+
+sudo apt-get install libqt4-dev libqt4-opengl-dev libxmu-dev cmake \
+ bison flex libeigen2-dev git-core libboost-all-dev libXi-dev libmpfr-dev \
+ libgmp-dev libboost-dev
+
+echo "now copy/paste the following to install CGAL and OpenCSG from source:"
+echo "sudo BASEDIR=/usr/local ./scripts/linux-build-dependencies.sh cgal-use-sys-libs"
+echo "sudo BASEDIR=/usr/local ./scripts/linux-build-dependencies.sh opencsg"
contact: Jan Huwald // Impressum