Bonsoir ,
j'ai configuré mon projet avec les options suivants :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
 
win32{
INCLUDEPATH += C:\opencv\build\include
LIBS += -LC:\opencv\build\x64\mingw\lib \
-lopencv_core240 \
-lopencv_highgui240 \
-lopencv_imgproc240
}
mais la compilation n'a pas réussi de faire la liaison avec la bibliothèque OpenCV

voila la sortie de compilation

Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
 
Le processus "C:\QtSDK\mingw\bin\mingw32-make.exe" s'est terminé normalement.
Configuration inchangée, étape QMake sautée.
Commence : "C:\QtSDK\mingw\bin\mingw32-make.exe" 
C:/QtSDK/mingw/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `C:/Users/pc/Detect-build-desktop'
c:\QtSDK\Desktop\Qt\4.7.3\mingw\bin\uic.exe ..\Detectplate\mainwindow.ui -o ui_mainwindow.h
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtCore" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtGui" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include" -I"..\..\..\opencv\build\include" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\ActiveQt" -I"debug" -I"." -I"..\Detectplate" -I"." -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\mkspecs\win32-g++" -o debug\main.o ..\Detectplate\main.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtCore" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtGui" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include" -I"..\..\..\opencv\build\include" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\ActiveQt" -I"debug" -I"." -I"..\Detectplate" -I"." -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\mkspecs\win32-g++" -o debug\mainwindow.o ..\Detectplate\mainwindow.cpp
..\Detectplate\mainwindow.cpp: In member function 'void MainWindow::on_pushButton_2_clicked()':
..\Detectplate\mainwindow.cpp:47: warning: comparison between signed and unsigned integer expressions
..\Detectplate\mainwindow.cpp:83: warning: comparison between signed and unsigned integer expressions
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtCore" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtGui" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include" -I"..\..\..\opencv\build\include" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\ActiveQt" -I"debug" -I"." -I"..\Detectplate" -I"." -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\mkspecs\win32-g++" -o debug\morphofeatures.o ..\Detectplate\morphofeatures.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtCore" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtGui" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include" -I"..\..\..\opencv\build\include" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\ActiveQt" -I"debug" -I"." -I"..\Detectplate" -I"." -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\mkspecs\win32-g++" -o debug\detect.o ..\Detectplate\detect.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtCore" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtGui" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include" -I"..\..\..\opencv\build\include" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\ActiveQt" -I"debug" -I"." -I"..\Detectplate" -I"." -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\mkspecs\win32-g++" -o debug\basicocr.o ..\Detectplate\basicocr.cpp
..\Detectplate\basicocr.cpp: In member function 'void basicOCR::test()':
..\Detectplate\basicocr.cpp:99: warning: unused variable 'row'
..\Detectplate\basicocr.cpp:99: warning: unused variable 'data'
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtCore" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtGui" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include" -I"..\..\..\opencv\build\include" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\ActiveQt" -I"debug" -I"." -I"..\Detectplate" -I"." -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\mkspecs\win32-g++" -o debug\preprocessing.o ..\Detectplate\preprocessing.cpp
..\Detectplate\preprocessing.cpp: In member function 'IplImage preprocessing::preprocess(IplImage*, int, int)':
..\Detectplate\preprocessing.cpp:77: warning: unused variable 'bba'
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtCore" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtGui" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include" -I"..\..\..\opencv\build\include" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\ActiveQt" -I"debug" -I"." -I"..\Detectplate" -I"." -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\mkspecs\win32-g++" -o debug\recognition.o ..\Detectplate\recognition.cpp
..\Detectplate\recognition.cpp: In function 'int separation(cv::Vector<cv::Rect_<int> >)':
..\Detectplate\recognition.cpp:129: warning: comparison between signed and unsigned integer expressions
..\Detectplate\recognition.cpp: In function 'void elimnation(cv::Vector<cv::Rect_<int> >)':
..\Detectplate\recognition.cpp:147: warning: comparison between signed and unsigned integer expressions
..\Detectplate\recognition.cpp:152: warning: statement has no effect
..\Detectplate\recognition.cpp:152: warning: comparison between signed and unsigned integer expressions
..\Detectplate\recognition.cpp: In member function 'int recognition::contours()':
..\Detectplate\recognition.cpp:177: warning: comparison between signed and unsigned integer expressions
..\Detectplate\recognition.cpp:177: warning: comparison between signed and unsigned integer expressions
..\Detectplate\recognition.cpp:198: warning: statement has no effect
..\Detectplate\recognition.cpp:198: warning: comparison between signed and unsigned integer expressions
..\Detectplate\recognition.cpp:223: warning: comparison between signed and unsigned integer expressions
..\Detectplate\recognition.cpp: In member function 'std::string recognition::ocr()':
..\Detectplate\recognition.cpp:263: warning: comparison between signed and unsigned integer expressions
..\Detectplate\recognition.cpp:275: warning: comparison between signed and unsigned integer expressions
..\Detectplate\recognition.cpp:279: warning: comparison between signed and unsigned integer expressions
..\Detectplate\recognition.cpp:282: warning: comparison between signed and unsigned integer expressions
..\Detectplate\recognition.cpp:288: warning: comparison between signed and unsigned integer expressions
..\Detectplate\recognition.cpp:287: warning: unused variable 'ch'
C:\QtSDK\Desktop\Qt\4.7.3\mingw\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtCore" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtGui" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include" -I"..\..\..\opencv\build\include" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\ActiveQt" -I"debug" -I"." -I"..\Detectplate" -I"." -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\mkspecs\win32-g++" -D__GNUC__ -DWIN32 ..\Detectplate\mainwindow.h -o debug\moc_mainwindow.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtCore" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtGui" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include" -I"..\..\..\opencv\build\include" -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\include\ActiveQt" -I"debug" -I"." -I"..\Detectplate" -I"." -I"..\..\..\QtSDK\Desktop\Qt\4.7.3\mingw\mkspecs\win32-g++" -o debug\moc_mainwindow.o debug\moc_mainwindow.cpp
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\Detect.exe debug/main.o debug/mainwindow.o debug/morphofeatures.o debug/detect.o debug/basicocr.o debug/preprocessing.o debug/recognition.o debug/moc_mainwindow.o  -L"c:\QtSDK\Desktop\Qt\4.7.3\mingw\lib" -lmingw32 -lqtmaind -LC:\opencv\build\x64\mingw\lib -lopencv_core240 -lopencv_highgui240 -lopencv_imgproc240 -lQtGuid4 -lQtCored4 -LC:\OpenSSL-Win32_full\lib 
mingw32-make[1]: Leaving directory `C:/Users/pc/Detect-build-desktop'
debug/mainwindow.o:C:\Users\pc\Detect-build-desktop/../Detectplate/mainwindow.cpp:20: undefined reference to `cv::imread(std::string const&, int)'
debug/mainwindow.o:C:\Users\pc\Detect-build-desktop/../Detectplate/mainwindow.cpp:26: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/mainwindow.o:C:\Users\pc\Detect-build-desktop/../Detectplate/mainwindow.cpp:26: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/mainwindow.o:C:\Users\pc\Detect-build-desktop/../Detectplate/mainwindow.cpp:26: undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)'
debug/mainwindow.o:C:\Users\pc\Detect-build-desktop/../Detectplate/mainwindow.cpp:27: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/mainwindow.o:C:\Users\pc\Detect-build-desktop/../Detectplate/mainwindow.cpp:27: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/mainwindow.o:C:\Users\pc\Detect-build-desktop/../Detectplate/mainwindow.cpp:27: undefined reference to `cv::resize(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int)'
debug/mainwindow.o:C:\Users\pc\Detect-build-desktop/../Detectplate/mainwindow.cpp:51: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/mainwindow.o:C:\Users\pc\Detect-build-desktop/../Detectplate/mainwindow.cpp:51: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/mainwindow.o:C:\Users\pc\Detect-build-desktop/../Detectplate/mainwindow.cpp:51: undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)'
debug/mainwindow.o:C:\Users\pc\Detect-build-desktop/../Detectplate/mainwindow.cpp:64: undefined reference to `cv::imread(std::string const&, int)'
debug/mainwindow.o:C:\Users\pc\Detect-build-desktop/../Detectplate/mainwindow.cpp:104: undefined reference to `cv::waitKey(int)'
debug/mainwindow.o: In function `Mat':
C:\Users\pc\Detect-build-desktop/../../../opencv/build/include/opencv2/core/mat.hpp:125: undefined reference to `cv::Mat::copySize(cv::Mat const&)'
debug/mainwindow.o: In function `~Mat':
C:\Users\pc\Detect-build-desktop/../../../opencv/build/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)'
debug/mainwindow.o:C:\Users\pc\Detect-build-desktop/../../../opencv/build/include/opencv2/core/mat.hpp:298: undefined reference to `cv::Mat::copySize(cv::Mat const&)'
debug/mainwindow.o:C:\Users\pc\Detect-build-desktop/../../../opencv/build/include/opencv2/core/mat.hpp:364: undefined reference to `cv::Mat::deallocate()'
debug/morphofeatures.o:C:\Users\pc\Detect-build-desktop/../Detectplate/morphofeatures.cpp:16: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/morphofeatures.o:C:\Users\pc\Detect-build-desktop/../Detectplate/morphofeatures.cpp:16: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/morphofeatures.o:C:\Users\pc\Detect-build-desktop/../Detectplate/morphofeatures.cpp:16: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/morphofeatures.o:C:\Users\pc\Detect-build-desktop/../Detectplate/morphofeatures.cpp:16: undefined reference to `cv::morphologyEx(cv::_InputArray const&, cv::_OutputArray const&, int, cv::_InputArray const&, cv::Point_<int>, int, int, cv::Scalar_<double> const&)'
debug/morphofeatures.o:C:\Users\pc\Detect-build-desktop/../Detectplate/morphofeatures.cpp:24: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/morphofeatures.o:C:\Users\pc\Detect-build-desktop/../Detectplate/morphofeatures.cpp:24: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/morphofeatures.o:C:\Users\pc\Detect-build-desktop/../Detectplate/morphofeatures.cpp:24: undefined reference to `cv::threshold(cv::_InputArray const&, cv::_OutputArray const&, double, double, int)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:39: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:39: undefined reference to `cv::findContours(cv::_OutputArray const&, cv::_OutputArray const&, int, int, cv::Point_<int>)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:42: undefined reference to `cv::noArray()'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:42: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:42: undefined reference to `cv::drawContours(cv::_OutputArray const&, cv::_InputArray const&, int, cv::Scalar_<double> const&, int, int, cv::_InputArray const&, int, cv::Point_<int>)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:43: undefined reference to `cv::namedWindow(std::string const&, int)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:44: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:44: undefined reference to `cv::imshow(std::string const&, cv::_InputArray const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:53: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:53: undefined reference to `cv::arcLength(cv::_InputArray const&, bool)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:53: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:53: undefined reference to `cv::approxPolyDP(cv::_InputArray const&, cv::_OutputArray const&, double, bool)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:61: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:61: undefined reference to `cv::contourArea(cv::_InputArray const&, bool)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:61: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:61: undefined reference to `cv::contourArea(cv::_InputArray const&, bool)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:61: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:61: undefined reference to `cv::isContourConvex(cv::_InputArray const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:90: undefined reference to `cv::polylines(cv::Mat&, cv::Point_<int> const**, int const*, int, bool, cv::Scalar_<double> const&, int, int, int)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:92: undefined reference to `cv::namedWindow(std::string const&, int)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:93: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:93: undefined reference to `cv::imshow(std::string const&, cv::_InputArray const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:109: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:109: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:109: undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:125: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:125: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:125: undefined reference to `cv::resize(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:131: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:131: undefined reference to `cv::boundingRect(cv::_InputArray const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:132: undefined reference to `cv::Mat::Mat(cv::Mat const&, cv::Rect_<int> const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:134: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:134: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:134: undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:135: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:135: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:135: undefined reference to `cv::resize(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:136: undefined reference to `cv::namedWindow(std::string const&, int)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:137: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../Detectplate/detect.cpp:137: undefined reference to `cv::imshow(std::string const&, cv::_InputArray const&)'
debug/detect.o: In function `Mat':
C:\Users\pc\Detect-build-desktop/../../../opencv/build/include/opencv2/core/mat.hpp:95: undefined reference to `cv::Mat::operator=(cv::Scalar_<double> const&)'
debug/detect.o:C:\Users\pc\Detect-build-desktop/../../../opencv/build/include/opencv2/core/mat.hpp:350: undefined reference to `cv::Mat::create(int, int const*, int)'
debug/detect.o: In function `OutputArray<cv::Point_<int> >':
C:\Users\pc\Detect-build-desktop/../../../opencv/build/include/opencv2/core/mat.hpp:1134: undefined reference to `vtable for cv::_OutputArray'
debug/detect.o: In function `InputArray<cv::Point_<int> >':
C:\Users\pc\Detect-build-desktop/../../../opencv/build/include/opencv2/core/mat.hpp:1119: undefined reference to `vtable for cv::_InputArray'
C:\Users\pc\Detect-build-desktop/../../../opencv/build/include/opencv2/core/mat.hpp:1119: undefined reference to `vtable for cv::_InputArray'
debug/detect.o: In function `Mat<cv::Point_<int> >':
C:\Users\pc\Detect-build-desktop/../../../opencv/build/include/opencv2/core/mat.hpp:188: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
C:\Users\pc\Detect-build-desktop/../../../opencv/build/include/opencv2/core/mat.hpp:188: undefined reference to `cv::Mat::copyTo(cv::_OutputArray const&) const'
debug/detect.o: In function `OutputArray<cv::Point_<int> >':
C:\Users\pc\Detect-build-desktop/../../../opencv/build/include/opencv2/core/mat.hpp:1133: undefined reference to `vtable for cv::_OutputArray'
debug/detect.o: In function `InputArray<cv::Point_<int> >':
C:\Users\pc\Detect-build-desktop/../../../opencv/build/include/opencv2/core/mat.hpp:1116: undefined reference to `vtable for cv::_InputArray'
debug/basicocr.o:C:\Users\pc\Detect-build-desktop/../Detectplate/basicocr.cpp:29: undefined reference to `cvLoadImage'
debug/basicocr.o:C:\Users\pc\Detect-build-desktop/../Detectplate/basicocr.cpp:39: undefined reference to `cvSet'
debug/basicocr.o:C:\Users\pc\Detect-build-desktop/../Detectplate/basicocr.cpp:43: undefined reference to `cvCreateImage'
debug/basicocr.o:C:\Users\pc\Detect-build-desktop/../Detectplate/basicocr.cpp:45: undefined reference to `cvConvertScale'
debug/basicocr.o:C:\Users\pc\Detect-build-desktop/../Detectplate/basicocr.cpp:47: undefined reference to `cvGetSubRect'
debug/basicocr.o:C:\Users\pc\Detect-build-desktop/../Detectplate/basicocr.cpp:51: undefined reference to `cvReshape'
debug/basicocr.o:C:\Users\pc\Detect-build-desktop/../Detectplate/basicocr.cpp:52: undefined reference to `cvCopy'
debug/basicocr.o:C:\Users\pc\Detect-build-desktop/../Detectplate/basicocr.cpp:59: undefined reference to `CvKNearest::CvKNearest(CvMat const*, CvMat const*, CvMat const*, bool, int)'
debug/basicocr.o:C:\Users\pc\Detect-build-desktop/../Detectplate/basicocr.cpp:66: undefined reference to `cvCreateMat'
debug/basicocr.o:C:\Users\pc\Detect-build-desktop/../Detectplate/basicocr.cpp:73: undefined reference to `cvCreateImage'
debug/basicocr.o:C:\Users\pc\Detect-build-desktop/../Detectplate/basicocr.cpp:74: undefined reference to `cvConvertScale'
debug/basicocr.o:C:\Users\pc\Detect-build-desktop/../Detectplate/basicocr.cpp:75: undefined reference to `cvGetSubRect'
debug/basicocr.o:C:\Users\pc\Detect-build-desktop/../Detectplate/basicocr.cpp:77: undefined reference to `cvReshape'
debug/basicocr.o:C:\Users\pc\Detect-build-desktop/../Detectplate/basicocr.cpp:109: undefined reference to `cvLoadImage'
debug/basicocr.o: In function `basicOCR':
C:\Users\pc\Detect-build-desktop/../Detectplate/basicocr.cpp:137: undefined reference to `cvCreateMat'
C:\Users\pc\Detect-build-desktop/../Detectplate/basicocr.cpp:138: undefined reference to `cvCreateMat'
C:\Users\pc\Detect-build-desktop/../Detectplate/basicocr.cpp:137: undefined reference to `cvCreateMat'
C:\Users\pc\Detect-build-desktop/../Detectplate/basicocr.cpp:138: undefined reference to `cvCreateMat'
debug/basicocr.o: In function `cvGetRow':
C:\Users\pc\Detect-build-desktop/../../../opencv/build/include/opencv2/core/core_c.h:184: undefined reference to `cvGetRows'
debug/preprocessing.o: In function `Z5findXP9_IplImagePiS1_':
C:\Users\pc\Detect-build-desktop/../Detectplate/preprocessing.cpp:25: undefined reference to `cvSum'
debug/preprocessing.o: In function `Z5findYP9_IplImagePiS1_':
C:\Users\pc\Detect-build-desktop/../Detectplate/preprocessing.cpp:46: undefined reference to `cvSum'
debug/preprocessing.o:C:\Users\pc\Detect-build-desktop/../Detectplate/preprocessing.cpp:83: undefined reference to `cvGetSubRect'
debug/preprocessing.o:C:\Users\pc\Detect-build-desktop/../Detectplate/preprocessing.cpp:87: undefined reference to `cvCreateImage'
debug/preprocessing.o:C:\Users\pc\Detect-build-desktop/../Detectplate/preprocessing.cpp:88: undefined reference to `cvSet'
debug/preprocessing.o:C:\Users\pc\Detect-build-desktop/../Detectplate/preprocessing.cpp:92: undefined reference to `cvGetSubRect'
debug/preprocessing.o:C:\Users\pc\Detect-build-desktop/../Detectplate/preprocessing.cpp:93: undefined reference to `cvCopy'
debug/preprocessing.o:C:\Users\pc\Detect-build-desktop/../Detectplate/preprocessing.cpp:95: undefined reference to `cvCreateImage'
debug/preprocessing.o:C:\Users\pc\Detect-build-desktop/../Detectplate/preprocessing.cpp:96: undefined reference to `cvResize'
debug/preprocessing.o: In function `cvGetCol':
C:\Users\pc\Detect-build-desktop/../../../opencv/build/include/opencv2/core/core_c.h:195: undefined reference to `cvGetCols'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:73: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:73: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:73: undefined reference to `cv::resize(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:76: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:76: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:76: undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:78: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:78: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:78: undefined reference to `cv::blur(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, cv::Point_<int>, int)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:80: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:80: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:80: undefined reference to `cv::threshold(cv::_InputArray const&, cv::_OutputArray const&, double, double, int)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:82: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:82: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:82: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:82: undefined reference to `cv::erode(cv::_InputArray const&, cv::_OutputArray const&, cv::_InputArray const&, cv::Point_<int>, int, int, cv::Scalar_<double> const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:87: undefined reference to `cv::namedWindow(std::string const&, int)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:88: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:88: undefined reference to `cv::imshow(std::string const&, cv::_InputArray const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:92: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:92: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:92: undefined reference to `cv::resize(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:93: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:93: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:93: undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:94: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:94: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:94: undefined reference to `cv::threshold(cv::_InputArray const&, cv::_OutputArray const&, double, double, int)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:164: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:164: undefined reference to `cv::findContours(cv::_OutputArray const&, cv::_OutputArray const&, int, int, cv::Point_<int>)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:168: undefined reference to `cv::noArray()'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:168: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:168: undefined reference to `cv::drawContours(cv::_OutputArray const&, cv::_InputArray const&, int, cv::Scalar_<double> const&, int, int, cv::_InputArray const&, int, cv::Point_<int>)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:169: undefined reference to `cv::namedWindow(std::string const&, int)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:170: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:170: undefined reference to `cv::imshow(std::string const&, cv::_InputArray const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:185: undefined reference to `cv::noArray()'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:185: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:185: undefined reference to `cv::drawContours(cv::_OutputArray const&, cv::_InputArray const&, int, cv::Scalar_<double> const&, int, int, cv::_InputArray const&, int, cv::Point_<int>)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:186: undefined reference to `cv::namedWindow(std::string const&, int)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:187: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:187: undefined reference to `cv::imshow(std::string const&, cv::_InputArray const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:199: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:199: undefined reference to `cv::boundingRect(cv::_InputArray const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:210: undefined reference to `cv::rectangle(cv::Mat&, cv::Rect_<int>, cv::Scalar_<double> const&, int, int, int)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:224: undefined reference to `cv::Mat::Mat(cv::Mat const&, cv::Rect_<int> const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:232: undefined reference to `cv::noArray()'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:232: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:232: undefined reference to `cv::drawContours(cv::_OutputArray const&, cv::_InputArray const&, int, cv::Scalar_<double> const&, int, int, cv::_InputArray const&, int, cv::Point_<int>)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:233: undefined reference to `cv::namedWindow(std::string const&, int)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:234: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:234: undefined reference to `cv::imshow(std::string const&, cv::_InputArray const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:238: undefined reference to `cv::noArray()'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:238: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:238: undefined reference to `cv::drawContours(cv::_OutputArray const&, cv::_InputArray const&, int, cv::Scalar_<double> const&, int, int, cv::_InputArray const&, int, cv::Point_<int>)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:239: undefined reference to `cv::namedWindow(std::string const&, int)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:240: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:240: undefined reference to `cv::imshow(std::string const&, cv::_InputArray const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:264: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:264: undefined reference to `cv::imwrite(std::string const&, cv::_InputArray const&, std::vector<int, std::allocator<int> > const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:265: undefined reference to `cv::namedWindow(std::string const&, int)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:266: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:266: undefined reference to `cv::imshow(std::string const&, cv::_InputArray const&)'
debug/recognition.o:C:\Users\pc\Detect-build-desktop/../Detectplate/recognition.cpp:276: undefined reference to `cv::Mat::operator _IplImage() const'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [debug\Detect.exe] Error 1
mingw32-make: *** [debug] Error 2
Le processus "C:\QtSDK\mingw\bin\mingw32-make.exe" s'est terminé avec le code 2.
Erreur à la compilation du projet Detect (cible : Desktop)
Lors de l'exécution de l'étape 'Make'
C'est claire que c'est un problème de linker ,
Pouvez vous me aider , Merci .