mirror of https://github.com/vitalif/openscad
linux build fixes
git-svn-id: http://svn.clifford.at/openscad/trunk@369 b57f626f-c46c-0410-a088-ec61d464b74cstl_dim
parent
3ff0eeefaa
commit
83647da87e
|
@ -24,6 +24,7 @@
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QProgressDialog>
|
#include <QProgressDialog>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
#ifdef ENABLE_CGAL
|
#ifdef ENABLE_CGAL
|
||||||
#include "cgal.h"
|
#include "cgal.h"
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
#define FAR_FAR_AWAY 100000.0
|
#define FAR_FAR_AWAY 100000.0
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#define GRID_H_
|
#define GRID_H_
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include <QHash>
|
#include <QHash>
|
||||||
|
|
||||||
const double GRID_COARSE = 0.001;
|
const double GRID_COARSE = 0.001;
|
||||||
|
|
|
@ -64,7 +64,7 @@ void handle_dep(QString filename)
|
||||||
if (!QFile(filename).exists() && make_command) {
|
if (!QFile(filename).exists() && make_command) {
|
||||||
char buffer[4096];
|
char buffer[4096];
|
||||||
snprintf(buffer, 4096, "%s '%s'", make_command, filename.replace("'", "'\\''").toUtf8().data());
|
snprintf(buffer, 4096, "%s '%s'", make_command, filename.replace("'", "'\\''").toUtf8().data());
|
||||||
system(buffer);
|
system(buffer); // FIXME: Handle error
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
# include "cgal.h"
|
# include "cgal.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <QCache.h>
|
#include <QCache>
|
||||||
|
|
||||||
class PolySet
|
class PolySet
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue