summaryrefslogtreecommitdiff
path: root/scripts/ubuntu-build-dependencies.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ubuntu-build-dependencies.sh')
-rwxr-xr-xscripts/ubuntu-build-dependencies.sh17
1 files changed, 2 insertions, 15 deletions
diff --git a/scripts/ubuntu-build-dependencies.sh b/scripts/ubuntu-build-dependencies.sh
index 0609172..1754e32 100755
--- a/scripts/ubuntu-build-dependencies.sh
+++ b/scripts/ubuntu-build-dependencies.sh
@@ -26,21 +26,8 @@ fi
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 build-essential 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 libglew1.6-dev
+ libXi-dev libmpfr-dev libgmp-dev libboost-dev libglew1.6-dev \
+ libcgal-dev libopencsg-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