summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md21
-rwxr-xr-xscripts/ubuntu-build-dependencies.sh2
2 files changed, 16 insertions, 7 deletions
diff --git a/README.md b/README.md
index 1f8ada8..ef46955 100644
--- a/README.md
+++ b/README.md
@@ -117,14 +117,23 @@ compilation process.
After that, follow the Compilation instructions below.
-### Building for newer Ubunutu
+### Building for newer Linux distributions
-sudo apt-get install libqt4-dev libqt4-opengl-dev libxmu-dev cmake \
- libglew1.5-dev bison flex libeigen2-dev git-core libboost-all-dev \
- libXi-dev libcgal-dev libopencsg-dev libopencsg1
+First, make sure that you have development tools installed. Then use a
+package manager to download the appropriate packages. Scripts are
+available for popular systems:
-Check your library versions against the list above. After that, follow
-the Compilation instructions below.
+Aptitude based systems (ubuntu, debian):
+
+ ./scripts/ubuntu-build-dependencies.sh
+
+Zypper based systems (opensuse)
+
+ ./scripts/opensuse-build-dependencies.sh
+
+Check your binary packaged library versions to make sure they meet the
+minimum requirements listed above. After that, follow the Compilation
+instructions below.
### Building for older Linux or without root access
diff --git a/scripts/ubuntu-build-dependencies.sh b/scripts/ubuntu-build-dependencies.sh
index 44134cf..8662043 100755
--- a/scripts/ubuntu-build-dependencies.sh
+++ b/scripts/ubuntu-build-dependencies.sh
@@ -12,7 +12,7 @@ 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
+ libgmp-dev libboost-dev libglew1.6-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"
contact: Jan Huwald // Impressum