diff options
author | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-10-30 15:24:49 (GMT) |
---|---|---|
committer | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-10-30 15:24:49 (GMT) |
commit | 487dace74e31f0d475daffeca404ece520b782a2 (patch) | |
tree | 49c4e980e39c19eb6815f8b124fc36b401983863 | |
parent | 4dceada8f4380913cfded94a845abf59a6a4d3ee (diff) |
Compile fixes from Giles Bathgate
git-svn-id: http://svn.clifford.at/openscad/trunk@569 b57f626f-c46c-0410-a088-ec61d464b74c
-rw-r--r-- | src/dxftess-glu.cc | 1 | ||||
-rw-r--r-- | src/polyset.cc | 3 | ||||
-rw-r--r-- | src/primitives.cc | 1 | ||||
-rwxr-xr-x | test-code/batch-cgal-tests.sh | 2 | ||||
-rwxr-xr-x | test-code/batch-cgal.sh | 2 | ||||
-rwxr-xr-x | test-code/batch-dump.sh | 4 | ||||
-rw-r--r-- | test-code/dumptest.pro | 3 |
7 files changed, 12 insertions, 4 deletions
diff --git a/src/dxftess-glu.cc b/src/dxftess-glu.cc index 73eae63..ca12ea9 100644 --- a/src/dxftess-glu.cc +++ b/src/dxftess-glu.cc @@ -2,6 +2,7 @@ #include "dxfdata.h" #include "polyset.h" #include "grid.h" +#include <stdio.h> #ifdef ENABLE_OPENCSG // this must be included before the GL headers diff --git a/src/polyset.cc b/src/polyset.cc index 47d858c..d438769 100644 --- a/src/polyset.cc +++ b/src/polyset.cc @@ -26,9 +26,10 @@ #include "polyset.h" #include "printutils.h" #include "Preferences.h" +#ifdef ENABLE_CGAL #include <CGAL/assertions_behaviour.h> #include <CGAL/exceptions.h> - +#endif #include <Eigen/Core> #include <Eigen/LU> diff --git a/src/primitives.cc b/src/primitives.cc index 1856cbc..ac1f0a3 100644 --- a/src/primitives.cc +++ b/src/primitives.cc @@ -31,6 +31,7 @@ #include "dxftess.h" #include "builtin.h" #include "printutils.h" +#include <assert.h> enum primitive_type_e { CUBE, diff --git a/test-code/batch-cgal-tests.sh b/test-code/batch-cgal-tests.sh index 8b3a2b5..12b8fe1 100755 --- a/test-code/batch-cgal-tests.sh +++ b/test-code/batch-cgal-tests.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash cmd="./cgaltest" diff --git a/test-code/batch-cgal.sh b/test-code/batch-cgal.sh index ea587be..031020d 100755 --- a/test-code/batch-cgal.sh +++ b/test-code/batch-cgal.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash cmd="./cgaltest" diff --git a/test-code/batch-dump.sh b/test-code/batch-dump.sh index 9db4fb5..e8c9cd5 100755 --- a/test-code/batch-dump.sh +++ b/test-code/batch-dump.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash cmd="./dumptest" @@ -8,6 +8,8 @@ else dir=$1 fi +echo $dir; + for f in $dir/*.scad; do echo `basename $f` "$cmd" "$f" diff --git a/test-code/dumptest.pro b/test-code/dumptest.pro index 50d3a98..a6729f7 100644 --- a/test-code/dumptest.pro +++ b/test-code/dumptest.pro @@ -30,6 +30,9 @@ else { INCLUDEPATH += /usr/include/eigen2 } } +FORMS += ../src/Preferences.ui +HEADERS += ../src/Preferences.h +SOURCES += ../src/Preferences.cc LEXSOURCES += ../src/lexer.l YACCSOURCES += ../src/parser.y |