I am trying to implement a Delaunay triangulation on a pointcloud which is defined in 3d space with cartesian co-ordinates.
I am using QT on Windows 7 (64 bit) and the CGAL library to do the same.
The library is correctly installed.
Everytime I try to compile my program, I get the following type of error.
error C2065: 'FLT_RADIX' : undeclared identifier
error C2057: expected constant expression
error C2065: 'FLT_MANT_DIG' : undeclared identifier
error C2057: expected constant expression
these errors are repeated, and thus in total there are more than a hundred error messages due to which, the compiling stops.
My .pro file looks like this.
#-------------------------------------------------
#
# Project created by QtCreator 2013-01-11T14:53:46
#
#-------------------------------------------------
QT += core
QT -= gui
TARGET = dt_trial
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
INCLUDEPATH += C:\\libraries\\CGAL_4_1\\include\\CGAL
INCLUDEPATH += C:\\libraries\\CGAL_4_1\\include
INCLUDEPATH += C:\\libraries\\CGAL_4_1
INCLUDEPATH += C:\\libraries\\boost_1_51
INCLUDEPATH += C:\\libraries\\CGAL_4_1\\build\\include\\CGAL
INCLUDEPATH += C:\\libraries\\CGAL_4_1\\auxiliary\\gmp\\include
LIBS += -LC:\\libraries\\CGAL_4_1\\build\\lib -CGAL_Core-vc100-mt-gd-4.1.lib
LIBS += -LC:\\libraries\\CGAL_4_1\\build\\lib -CGAL_ImageIO-vc100-mt-gd-4.1.lib
LIBS += -LC:\\libraries\\CGAL_4_1\\build\\lib -CGAL_Qt4-vc100-mt-gd-4.1.lib
LIBS += -LC:\\libraries\\CGAL_4_1\\build\\lib -CGAL-vc100-mt-gd-4.1.lib
SOURCES += main.cpp
On the CGAL forums, I read that this has something to do with the configuration flags, and if I understand correctly, then in QT it means the contents of the .pro file.
also I have asked this same question, on the cgal forums here
Can anyone hint me to what the problem is?
Best Regards
thedorkknight