IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Qt Creator Discussion :

Édition des liens


Sujet :

Qt Creator

  1. #1
    Membre à l'essai
    Homme Profil pro
    élève ingénieur en informatique
    Inscrit en
    Août 2011
    Messages
    15
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Tunisie

    Informations professionnelles :
    Activité : élève ingénieur en informatique

    Informations forums :
    Inscription : Août 2011
    Messages : 15
    Points : 14
    Points
    14
    Par défaut Édition des liens
    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 .

  2. #2
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Juin 2012
    Messages
    43
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 36
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : Industrie

    Informations forums :
    Inscription : Juin 2012
    Messages : 43
    Points : 81
    Points
    81
    Par défaut
    Bonjour,

    Je ne sais pas si cette erreur est présente dans ton code mais déjà y'a une faute de frappe, il manque un espace entre le L et le C.
    LIBS += -LC:\opencv\build\x64\mingw\lib \
    Ensuite attention aux chemin absolus et les librairies openCV pour le debug et le release sont différentes.

    Je te link le contenu d'un .pro équivalent que j'ai qui fonctionne :
    version 2.3.1 désolé de te pourrir le copier coller ^^

    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
    win32 {
        INCLUDEPATH += "../include"
     
        CONFIG(debug,debug|release){
            LIBS += "../lib/debug/opencv_calib3d231d.lib"
            LIBS += "../lib/Debug/opencv_contrib231d.lib"
            LIBS += "../lib/Debug/opencv_core231d.lib"
            LIBS += "../lib/Debug/opencv_features2d231d.lib"
            LIBS += "../lib/Debug/opencv_flann231d.lib"
            LIBS += "../lib/Debug/opencv_gpu231d.lib"
            LIBS += "../lib/Debug/opencv_haartraining_engined.lib"
            LIBS += "../lib/Debug/opencv_highgui231d.lib"
            LIBS += "../lib/Debug/opencv_imgproc231d.lib"
            LIBS += "../lib/Debug/opencv_legacy231d.lib"
            LIBS += "../lib/Debug/opencv_ml231d.lib"
            LIBS += "../lib/Debug/opencv_objdetect231d.lib"
            LIBS += "../lib/Debug/opencv_ts231d.lib"
            LIBS += "../lib/Debug/opencv_video231d.lib"
     
            DEFINES+=MODE_DEBUG
        }
     
        CONFIG(release,debug|release){
            LIBS += "../lib/release/opencv_calib3d231.lib"
            LIBS += "../lib/release/opencv_contrib231.lib"
            LIBS += "../lib/release/opencv_core231.lib"
            LIBS += "../lib/release/opencv_features2d231.lib"
            LIBS += "../lib/release/opencv_flann231.lib"
            LIBS += "../lib/release/opencv_gpu231.lib"
            LIBS += "../lib/release/opencv_haartraining_engine.lib"
            LIBS += "../lib/release/opencv_highgui231.lib"
            LIBS += "../lib/release/opencv_imgproc231.lib"
            LIBS += "../lib/release/opencv_legacy231.lib"
            LIBS += "../lib/release/opencv_ml231.lib"
            LIBS += "../lib/release/opencv_objdetect231.lib"
            LIBS += "../lib/release/opencv_ts231.lib"
            LIBS += "../lib/release/opencv_video231.lib"
        }
    }

  3. #3
    Membre à l'essai
    Homme Profil pro
    élève ingénieur en informatique
    Inscrit en
    Août 2011
    Messages
    15
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Tunisie

    Informations professionnelles :
    Activité : élève ingénieur en informatique

    Informations forums :
    Inscription : Août 2011
    Messages : 15
    Points : 14
    Points
    14
    Par défaut
    Merci pour votre solution mais j'ai testé
    premièrement avec l'espace entre le L et C est échec .
    deuxièmement avec le nouveau configuration de projet .pro est échec (meme message d'erreur qu'avant ) .
    En Fait QT peut résolu s'il y'a un problème de PATH mais je pense qui 'il peut pas résolu si ce sont les bons bibliothèque (.lib ou .a ) ou nn .
    Je vous donne la configuration de Mon système
    Windows 7 64 bits
    QT Creator 2.2.1 avec Qt 4.7.4 (32 bits )
    Compile avec MinGW 4.4
    J'ai télécharger la bibliothèque Opencv 2.4.2
    sans compilation il y'a le dossier build qui contient des lib dans des dossiers différents :
    X64/mingw/lib/*.dll.a
    X64/vc9/lib/*.lib
    X64/vc9/staticlib/*.lib
    X64/vc10/lib/*.lib
    X64/vc10/lib/*.lib
    de meme pour X86
    X86/mingw/lib/*.dll.a
    X86/vc9/lib/*.lib
    X86/vc9/staticlib/*.lib
    X86/vc10/lib/*.lib
    X86/vc10/lib/*.lib
    Quel est le bon dossier pour mon compilateur ?

  4. #4
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Juin 2012
    Messages
    43
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 36
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : Industrie

    Informations forums :
    Inscription : Juin 2012
    Messages : 43
    Points : 81
    Points
    81
    Par défaut
    le bon dossier est X64/mingw/lib/
    X64 pour 64 bits et mingw pour mingw
    Utilises les binary du dossier voisin X64/mingw/bin/

    et dans ton .pro tu links LIBS += ../tonChemin/X64/mingw/lib/lib.dll.a pour tout les dll.a

  5. #5
    Membre à l'essai
    Homme Profil pro
    élève ingénieur en informatique
    Inscrit en
    Août 2011
    Messages
    15
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Tunisie

    Informations professionnelles :
    Activité : élève ingénieur en informatique

    Informations forums :
    Inscription : Août 2011
    Messages : 15
    Points : 14
    Points
    14
    Par défaut
    Bonjour ,

    Merci pour l'aide ,
    En fait mon compilateur MinGW est 32bits donc il faut faire la liaison avec x86/mingw .
    Donc :
    1 - j'ai coller mes lib nécessaire (libopencv_core240.dll.a ; libopencv_highgui.dll.a ; libopencv_imgproc.dll.a ; libopencv_ml240.dll.a )pour mon projet dans la répertoire des lib de Mon compilateur MinGW chez moi (
    "C:\QtSDK\Desktop\Qt\4.7.3\mingw\lib")
    2- pour la configuration du projet .pro
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
     
     
    win32{
    LIBS += -lopencv_core240 \
    -lopencv_highgui240 \
    -lopencv_imgproc240 \
    -lopencv_ml240
    }
    et les erreurs de "undefined reference " sont disparus
    l’exécutable a été créer mais
    mais voila le résultats de lancement
    L'application n'a pas réussi à démarrer correctement (0xc000007b)

    Quelqu’un a une idée ? SVP

  6. #6
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Juin 2012
    Messages
    43
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 36
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : Industrie

    Informations forums :
    Inscription : Juin 2012
    Messages : 43
    Points : 81
    Points
    81
    Par défaut
    T'as pensé à t'occuper des dll contenues dans le dossier bin ?
    Copies celles qui correspondent dans le dossier ou se situe ton exécutable.

Discussions similaires

  1. [édition des liens] ld: Missing library symbol table in
    Par kaloskagatos dans le forum Autres éditeurs
    Réponses: 1
    Dernier message: 25/08/2006, 11h27
  2. [dll] pb à l'édition des liens
    Par poukill dans le forum Autres éditeurs
    Réponses: 2
    Dernier message: 05/05/2006, 09h56
  3. [VC++] Erreur d'édition des liens LNK1143
    Par Yellowmat dans le forum MFC
    Réponses: 6
    Dernier message: 01/02/2006, 15h00
  4. [Dev-C++] Problème d'édition des liens
    Par shura dans le forum EDI
    Réponses: 5
    Dernier message: 30/08/2005, 09h35
  5. Problème à l'édition des liens avec BCC55 et Xerces
    Par ShootDX dans le forum Autres éditeurs
    Réponses: 4
    Dernier message: 30/11/2003, 14h50

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo