From 83a82dfe5f0723d33cb267cffdbb39268f5f8d89 Mon Sep 17 00:00:00 2001 From: Paolo Cignoni cignoni Date: Thu, 11 Jun 2009 17:30:08 +0000 Subject: [PATCH] Added a .pro inside ann_1.1.1 directory to compile ANN library both under win-VisualStudio and win-mingw. In order to do this has been necessary modify ANN.h, inside ann_1.1.1\include\ANN. Changes goes from line 74 to line 78; an #ifdef has been added to detect windows+mingw config...Of course I'm not so sure it works fine... --- src/external/ann_1.1.1/ANN.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/external/ann_1.1.1/ANN.pro b/src/external/ann_1.1.1/ANN.pro index 3012024c1..25807a1ab 100644 --- a/src/external/ann_1.1.1/ANN.pro +++ b/src/external/ann_1.1.1/ANN.pro @@ -8,7 +8,7 @@ DESTDIR = $$ANNDIR/lib DLLDESTDIR = $$ANNDIR/lib LIBS += -L$$ANNDIR/lib -lANN -#win32-g++: DEFINES += _ANN_WIN_MINGW +win32-g++: DEFINES += _ANN_WIN_MINGW HEADERS = kd_tree.h \ kd_split.h \