Skip to content

Commit

Permalink
cgal 4.0.2 has a bugfix re clang and gcc 4.7 ( issue openscad#117 )
Browse files Browse the repository at this point in the history
  • Loading branch information
donbright committed Jul 20, 2012
1 parent 821c064 commit eda7a41
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ are build scripts that download and compile the libraries from source.
Follow the instructions for the platform you're compiling on below.

* [Qt4 (4.4 - 4.7)](http://www.qt.nokia.com/)
* [CGAL (3.6 - 3.9)](http://www.cgal.org/)
* [CGAL (3.6 - 4.0.2)](http://www.cgal.org/)
* [GMP (5.0.x)](http://www.gmplib.org/)
* [cmake (2.6 - 2.8, required by CGAL and the test framework)](http://www.cmake.org/)
* [MPFR (3.x)](http://www.mpfr.org/)
Expand Down
7 changes: 4 additions & 3 deletions scripts/linux-build-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,14 @@ build_cgal()
cd $BASEDIR/src
rm -rf CGAL-$version
if [ ! -f CGAL-$version.tar.gz ]; then
#4.0
curl -O https://gforge.inria.fr/frs/download.php/30387/CGAL-$version.tar.gz
#4.0.2
curl -O https://gforge.inria.fr/frs/download.php/31174/CGAL-$version.tar.bz2
# 4.0 curl -O https://gforge.inria.fr/frs/download.php/30387/CGAL-$version.tar.gz
# 3.9 curl -O https://gforge.inria.fr/frs/download.php/29125/CGAL-$version.tar.gz
# 3.8 curl -O https://gforge.inria.fr/frs/download.php/28500/CGAL-$version.tar.gz
# 3.7 curl -O https://gforge.inria.fr/frs/download.php/27641/CGAL-$version.tar.gz
fi
tar xzf CGAL-$version.tar.gz
tar jxf CGAL-$version.tar.bz2
cd CGAL-$version
if [ $2 = use-sys-libs ]; then
cmake -DCMAKE_INSTALL_PREFIX=$DEPLOYDIR -DWITH_CGAL_Qt3=OFF -DWITH_CGAL_Qt4=OFF -DWITH_CGAL_ImageIO=OFF -DCMAKE_BUILD_TYPE=Debug
Expand Down
4 changes: 2 additions & 2 deletions scripts/setenv-linbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

# run this file with 'source setenv-linbuild.sh' every time you re-login
# and want to build or run openscad against custom libraries installed
# into BASEDIR.
# into BASEDIR.

# copy this file to your .bashrc if desired.
# copy this file to your .bashrc if desired.

if [ ! $BASEDIR ]; then
BASEDIR=$HOME/openscad_deps
Expand Down
2 changes: 1 addition & 1 deletion src/version_check.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ a time, to avoid confusion.
#error CGAL library missing or version too old. See README.md. To force compile, run qmake CONFIG=skip-version-check
#else

#if CGAL_VERSION_NR < 1040001000
#if CGAL_VERSION_NR < 1040021000
#warning "======================="
#warning "."
#warning "."
Expand Down

0 comments on commit eda7a41

Please sign in to comment.