summarylogtreecommitdiffstats
path: root/levmar.patch
blob: 60c93ab842c1427d70feaf825d36f8c8e4a6125a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
diff --git a/src/meshlabplugins/filter_isoparametrization/filter_isoparametrization.pro b/src/meshlabplugins/filter_isoparametrization/filter_isoparametrization.pro
index 808b0b21..b02cdcff 100644
--- a/src/meshlabplugins/filter_isoparametrization/filter_isoparametrization.pro
+++ b/src/meshlabplugins/filter_isoparametrization/filter_isoparametrization.pro
@@ -53,9 +53,9 @@ win32-msvc2010:LIBS	+= ../../external/lib/win32-msvc2010/levmar.lib
 win32-msvc2012:LIBS	+= ../../external/lib/win32-msvc2012/levmar.lib
 win32-msvc2015:LIBS	+= ../../external/lib/win32-msvc2015/levmar.lib
 win32-g++:LIBS		+= -L../../external/lib/win32-gcc -llevmar
-linux-g++:LIBS		+= -L$$PWD/../../external/lib/linux-g++ -llevmar
-linux-g++-32:LIBS		+= -L$$PWD/../../external/lib/linux-g++-32 -llevmar
-linux-g++-64:LIBS		+= -L$$PWD/../../external/lib/linux-g++-64 -llevmar
+linux-g++:LIBS		+= -llevmar
+linux-g++-32:LIBS		+=  -llevmar
+linux-g++-64:LIBS		+=  -llevmar
 macx:LIBS += $$MACLIBDIR/liblevmar.a
 
 # Please never ever uncomment this...
diff --git a/src/meshlabplugins/filter_mutualinfoxml/levmarmethods.h b/src/meshlabplugins/filter_mutualinfoxml/levmarmethods.h
index 484d6dbf..8c0ae176 100644
--- a/src/meshlabplugins/filter_mutualinfoxml/levmarmethods.h
+++ b/src/meshlabplugins/filter_mutualinfoxml/levmarmethods.h
@@ -12,7 +12,7 @@ sufficient to get a calibrated shot.<br>
 
 #include <list>
 
-#include "../../external/levmar-2.3/lm.h"
+#include <levmar/levmar.h>
 
 
 struct LevmarCorrelation {
diff --git a/src/meshlabplugins/filter_mutualinfoxml/solver.h b/src/meshlabplugins/filter_mutualinfoxml/solver.h
index c45992b2..4d7b7405 100644
--- a/src/meshlabplugins/filter_mutualinfoxml/solver.h
+++ b/src/meshlabplugins/filter_mutualinfoxml/solver.h
@@ -5,7 +5,7 @@
 #include "alignset.h"
 
 #include "parameters.h"
-#include "../../external/levmar-2.3/lm.h"
+#include <levmar/levmar.h>
 
 #include <iostream>
 #include <fstream>
diff --git a/src/meshlabplugins/edit_mutualcorrs/edit_mutualcorrs.pro b/src/meshlabplugins/edit_mutualcorrs/edit_mutualcorrs.pro
index ce494321..6eb7596b 100644
--- a/src/meshlabplugins/edit_mutualcorrs/edit_mutualcorrs.pro
+++ b/src/meshlabplugins/edit_mutualcorrs/edit_mutualcorrs.pro
@@ -29,8 +29,8 @@ win32-msvc:  LIBS += ../../external/lib/win32-msvc/levmar.lib
 win32-msvc2013:  LIBS += ../../external/lib/win32-msvc2013/levmar.lib
 win32-msvc2015:  LIBS += ../../external/lib/win32-msvc2015/levmar.lib
 win32-g++:LIBS += -L../../external -llevmar
-linux-g++:LIBS += -L$$PWD/../../external/lib/linux-g++ -llevmar
-linux-g++-32:LIBS += -L$$PWD/../../external/lib/linux-g++-32 -llevmar
-linux-g++-64:LIBS += -L$$PWD/../../external/lib/linux-g++-64 -llevmar
+linux-g++:LIBS += -llevmar
+linux-g++-32:LIBS += -llevmar
+linux-g++-64:LIBS += -llevmar
 macx:LIBS            += $$MACLIBDIR/liblevmar.a
 
diff --git a/src/meshlabplugins/edit_mutualcorrs/levmarmethods.h b/src/meshlabplugins/edit_mutualcorrs/levmarmethods.h
index 484d6dbf..8c0ae176 100644
--- a/src/meshlabplugins/edit_mutualcorrs/levmarmethods.h
+++ b/src/meshlabplugins/edit_mutualcorrs/levmarmethods.h
@@ -12,7 +12,7 @@ sufficient to get a calibrated shot.<br>
 
 #include <list>
 
-#include "../../external/levmar-2.3/lm.h"
+#include <levmar/levmar.h>
 
 
 struct LevmarCorrelation {
diff --git a/src/meshlabplugins/edit_mutualcorrs/solver.h b/src/meshlabplugins/edit_mutualcorrs/solver.h
index 05e99c5e..81bbb7f2 100644
--- a/src/meshlabplugins/edit_mutualcorrs/solver.h
+++ b/src/meshlabplugins/edit_mutualcorrs/solver.h
@@ -5,7 +5,7 @@
 #include "alignset.h"
 
 #include "parameters.h"
-#include "../../external/levmar-2.3/lm.h"
+#include <levmar/levmar.h>
 
 #include <iostream>
 #include <fstream>
diff --git a/src/meshlabplugins/filter_mutualglobal/levmarmethods.h b/src/meshlabplugins/filter_mutualglobal/levmarmethods.h
index 484d6dbf..8c0ae176 100644
--- a/src/meshlabplugins/filter_mutualglobal/levmarmethods.h
+++ b/src/meshlabplugins/filter_mutualglobal/levmarmethods.h
@@ -12,7 +12,7 @@ sufficient to get a calibrated shot.<br>
 
 #include <list>
 
-#include "../../external/levmar-2.3/lm.h"
+#include <levmar/levmar.h>
 
 
 struct LevmarCorrelation {
diff --git a/src/meshlabplugins/filter_mutualglobal/solver.h b/src/meshlabplugins/filter_mutualglobal/solver.h
index c45992b2..4d7b7405 100644
--- a/src/meshlabplugins/filter_mutualglobal/solver.h
+++ b/src/meshlabplugins/filter_mutualglobal/solver.h
@@ -5,7 +5,7 @@
 #include "alignset.h"
 
 #include "parameters.h"
-#include "../../external/levmar-2.3/lm.h"
+#include <levmar/levmar.h>
 
 #include <iostream>
 #include <fstream>