tutorials.de Buch-Aktion 05/2012
Like Tree1Danke
  • 1 Beitrag von deepthroat
ERLEDIGT
JA
ANTWORTEN
8
ZUGRIFFE
553
EMPFEHLEN
  • An Twitter übertragen
  • An Facebook übertragen
AUF DIESES THEMA
ANTWORTEN
  1. #1
    pointhi pointhi ist offline Mitglied Bronze
    Registriert seit
    Jul 2011
    Beiträge
    44
    Hy, ich will zurzeit grundlegende Bilderkennugnsalgorythmen ausprobieren, und bin dabei auf opencv gestoßen, in C# hab ich schon verschiedene Filter mit RGB->HSV konvertierung, ect. programmiert, was aber schon wegen der geschwindigkeit nich das ware war, jetzt wollte ich mal opencv probieren, aber der compiler gibt mir nur fehlermeldungen bei den sampels: lauter undefined references. Dann hab ich das Codeblock Tutorial von OpenCV probiert, hab alles nach der anleitung gemacht, nagut, es gab keine undefinded references mehr, dafür aber kamen die fehlermeldungen:
    • C:\Users\User\Programmieren\C++\opencv\test01\opencv_test\main.cpp|15|error: invalid conversion from 'int' to 'CvMemStorage*'|
    • C:\Users\User\Programmieren\C++\opencv\test01\opencv_test\main.cpp|15|error: initializing argument 2 of 'void* cvLoad(const char*, CvMemStorage*, const char*, const char**)'|
    • C:\Users\User\Programmieren\C++\opencv\test01\opencv_test\main.cpp|15|error: invalid conversion from 'void*' to 'IplImage*'|

    der C-Code ist:

    Code :
    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
    
    #include <iostream>
     
    using namespace std;
     
    #include "opencv/cv.h"
    #include "opencv/highgui.h"
     
    using namespace std;
     
    int main( int argc, char** argv)
    {
        IplImage* pImg;
     
        if( argc == 2 &&
           (pImg = cvLoad(argv[1],1)) != 0)
        {
            cvNamedWindow( "Image", 1);
            cvShowImage( "Image",pImg);
     
            cvWaitKey(0);
     
            cvDestroyWindow( "Image" );
            cvReleaseImage( &pImg );
            return 0;
        }
     
        return -1;
    }

    also genauso wie im Tutorial.

    hab ihr eine ahnung was der Fehler sein könnte?

    mfg. pointhi


    Nachtrag:

    hab gerade gelesen dass ich mit CMake die Build dateien machen muss, bei mir gibts aber nur fehlermeldungen:

    CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
    CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
    CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
    Missing variable is:
    CMAKE_C_COMPILER_ENV_VAR
    CMake Error: Could not find cmake module file:C:/opencv2.2MinGW/CMakeFiles/CMakeCCompiler.cmake
    CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
    Missing variable is:
    CMAKE_CXX_COMPILER_ENV_VAR
    CMake Error: Could not find cmake module file:C:/opencv2.2MinGW/CMakeFiles/CMakeCXXCompiler.cmake
    Configuring incomplete, errors occurred!

    Bin nach dieser anleitung gegangen.ich weiß, mir fehlen ein paar variablen, aber ich weiß nicht wass ich da reinschreiben muss, und es sollte eigentlich auch ohne gehen, wenn ich die anleitung richtig gelesen habe.
    Geändert von pointhi (06.08.11 um 10:05 Uhr)
     

  2. #2
    deepthroat deepthroat ist offline Mitglied Diamant
    tutorials.de Premium-User
    Registriert seit
    Jun 2005
    Beiträge
    8.168
    Hi.
    Zitat Zitat von pointhi Beitrag anzeigen
    jetzt wollte ich mal opencv probieren, aber der compiler gibt mir nur fehlermeldungen bei den sampels: lauter undefined references.
    Das heißt allerdings, das der Compiler bereits glücklich (also fertig) war, da "undefined references" vom Linker kommen und du entweder vergessen hast die Bibliotheken anzugeben, oder falsche Bibliotheken verwendet hast.
    Zitat Zitat von pointhi Beitrag anzeigen
    Dann hab ich das Codeblock Tutorial von OpenCV probiert, hab alles nach der anleitung gemacht, nagut, es gab keine undefinded references mehr, dafür aber kamen die fehlermeldungen:
    • C:\Users\User\Programmieren\C++\opencv\test01\opencv_test\main.cpp|15|error: invalid conversion from 'int' to 'CvMemStorage*'|
    • C:\Users\User\Programmieren\C++\opencv\test01\opencv_test\main.cpp|15|error: initializing argument 2 of 'void* cvLoad(const char*, CvMemStorage*, const char*, const char**)'|
    • C:\Users\User\Programmieren\C++\opencv\test01\opencv_test\main.cpp|15|error: invalid conversion from 'void*' to 'IplImage*'|
    Das ist dann ein Rückschritt, da du jetzt tatsächlich Compiler-Fehler bekommst.

    Vermutlich hast du eine andere (neuere) Version von OpenCV die nicht zur Anleitung paßt... laut Fehlermeldung benötigt cvLoad 4 Argumente - du hast nur 2 angegeben...

    Welche OpenCV Version hast du denn? Ist diese auch explizit für den GNU Kompiler?

    Und laut der verlinkten Anleitung gibt es mehrer Arten OpenCV in Code::Blocks zu konfigurieren. Was hast du denn nun eingestellt?
    Zitat Zitat von pointhi Beitrag anzeigen
    der C-Code ist:
    Das ist allerdings C++ Code und da gibt es Unterschiede. Evtl. mußt du explizit casten..

    Grundsätzlich:

    Bitte vollständige Ausgabe des Buildvorgangs reinstellen (in Code::Blocks unter Compiler-Einstellungen "vollständige Ausgabe" o.ä. auswählen).

    Bitte vollständige Fehlermeldungen kopieren und hier in Code-Tags einfügen.

    Gruß
     
    If at first you don't succeed, try again. Then quit. No use being a damn fool about it.

  3. #3
    pointhi pointhi ist offline Mitglied Bronze
    Registriert seit
    Jul 2011
    Beiträge
    44
    Hy deepthroat,

    ich hab jetzt endlich wieder mal zeit und ich hab alle meine opencv files noch mal gelöscht, da ich am anfang planlos angefangen habe und gar nicht mehr alles weis wass ich da eingestellt und kopiert habe.

    Mal die möglicherweise wichtigen daten zum System, ect.:

    Betriebssystem: Windows7/64bit
    Programmierumgebung: Codeblocks 10.05
    Compiler: mingw32-g++
    opencv version: V2.3.0
    gedownloaded: http://sourceforge.net/projects/open...k.exe/download

    da jetzt alle opencv-dateien weg sind und es auchz klappen soll werd ich jetzt meine genauen schritte protokolieren bis ich zu einer frage komme:

    opencv-superpack.exe ausführen -> extract to C:/
    unter C:\OpenCV2.3\build\include sind dann alle include dateien von opencv
    unter C:\OpenCV2.3\build\x64\mingw\bin sind alle dlls
    und unter C:\OpenCV2.3\build\x64\mingw\lib die ganzen dll.a-dateien

    ein problem ist jetzt aber leider dass ich ein 64Bit windows nutze, darum x64nehme, codeblocks und gcc aber in 32bit sind?
    es gibt aber auch die x86 version, soll ich die dann nehmen, und wie soll ich am besten vorgehen um sie in codeblocks einzubinden?

    mfg. pointhi
     

  4. #4
    deepthroat deepthroat ist offline Mitglied Diamant
    tutorials.de Premium-User
    Registriert seit
    Jun 2005
    Beiträge
    8.168
    Hi.

    Wenn du 64bit Bibliotheken hast, brauchst du natürlich auch einen 64bit Compiler.

    Ob Code::Blocks 32- oder 64bittig ist, spielt keine Rolle.

    Also entweder installierst du dir den 64bit MinGW GCC (und richtest den unter Code::Blocks ein) oder du verwendest die 32bit OpenCV Bibliothek.

    Gruß
     
    If at first you don't succeed, try again. Then quit. No use being a damn fool about it.

  5. #5
    pointhi pointhi ist offline Mitglied Bronze
    Registriert seit
    Jul 2011
    Beiträge
    44
    Danke, ich hab jetzt ein neues projekt erstellt, den code kopiert und die include, bin, und lib ordner eingebunden. Auch die beiden pk-config-zeilen hab ich richtig reingeschrieben.

    Vollständige fehlerausgabe:
    • C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp||In function 'int main(int, char**)':|
    • C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp|15|error: invalid conversion from 'int' to 'CvMemStorage*'|
    • C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp|15|error: initializing argument 2 of 'void* cvLoad(const char*, CvMemStorage*, const char*, const char**)'|
    • C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp|15|error: invalid conversion from 'void*' to 'IplImage*'|
    • ||=== Build finished: 3 errors, 0 warnings ===|

    es hat sich also nichts geändert.

    wenn ich noch enable effective-c++ warnings anklicke bekomme ich lauter solche meldungen: C:\OpenCV2.3\build\include\opencv2\objdetect\objdetect.hpp|461|warning: 'cv::HOGDescriptor::blockStride' should be initialized in the member initialization list|
    aber das sind nur warnings, sollten also kein problem sein. Ich such mir jetzt mal ein tutorial für die neue 2.3 version, villeicht hab ich da mehr glück.

    mfg. pointhi
     

  6. #6
    deepthroat deepthroat ist offline Mitglied Diamant
    tutorials.de Premium-User
    Registriert seit
    Jun 2005
    Beiträge
    8.168
    Hi.
    Zitat Zitat von pointhi Beitrag anzeigen
    Danke, ich hab jetzt ein neues projekt erstellt, den code kopiert und die include, bin, und lib ordner eingebunden. Auch die beiden pk-config-zeilen hab ich richtig reingeschrieben.
    Meinst du?! Warum sagst du denn nicht was genau du eingestellt hast?

    Und wieso pkg-config? In dem Paket ist doch überhaupt kein pkg-config dabei?
    Zitat Zitat von pointhi Beitrag anzeigen
    Vollständige fehlerausgabe:
    Es fehlt immer noch der vollständige Compileraufruf mit allen Optionen (aus dem Build Log kopieren).

    Ich habe es mir gerade mal angeschaut. Wo hast du denn den Beispiel-Code her? Der ist veraltet (Verwendung von #include "opencv/cv.h" anstatt von "opencv2/opencv.hpp") und außerdem einfach falsch (cvLoad statt cvLoadImage).

    Warum nimmst du denn nicht erstmal eins der Beispiele die in opencv\samples dabei sind?

    ...

    Ich hab es gerade mal selbst ausprobiert. Ich muß zugeben, das ich es nicht hinbekommen habe die dll.a Bibliotheken zu linken :-o

    Allerdings kann der GCC auch direkt DLLs linken.

    Folgender Code:
    Code cpp:
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    
    #include "opencv2/core/core.hpp"
    #include "opencv2/imgproc/imgproc.hpp"
    #include "opencv2/highgui/highgui.hpp"
     
    int main( int argc, char** argv)
    {
        IplImage* pImg;
     
        if( argc == 2 &&
            (pImg = cvLoadImage(argv[1]), 1) != 0)
        {
            cvNamedWindow( "Image", 1);
            cvShowImage( "Image",pImg);
     
            cvWaitKey(0);
     
            cvDestroyWindow( "Image" );
            cvReleaseImage( &pImg );
            return 0;
        }
     
        return -1;
    }
    Ich habe lediglich das OpenCV build\include Verzeichnis als Include-Suchpfad hinzugefügt, die DLLs aus dem build\x86\mingw\bin Verzeichnis direkt mit vollständigen Pfad in den Project build options -> Linker settings -> Other linker Options eingetragen. Außerdem in den Project/targets options -> Build targets -> Type : GUI application eingestellt.

    Build log:
    Code :
    1
    2
    
    g++.exe -Wall -fexceptions  -O2    -IC:\opencv\build\include\  -c "C:\opencv1\main.cpp" -o obj\Release\main.o
    g++.exe -LC:\opencv\build\x86\mingw\lib\  -o bin\Release\opencv1.exe obj\Release\main.o   c:\opencv\build\x86\mingw\bin\libopencv_highgui230.dll c:\opencv\build\x86\mingw\bin\libopencv_core230.dll -s   -mwindows
    Gruß
     
    If at first you don't succeed, try again. Then quit. No use being a damn fool about it.

  7. #7
    pointhi pointhi ist offline Mitglied Bronze
    Registriert seit
    Jul 2011
    Beiträge
    44
    habs genauso gemacht, aber wieder was:

    [CODE]
    Code :
    1
    2
    3
    4
    5
    6
    7
    8
    
    Build started on: 17-08-2011 at 17:21.50
    Build ended on: 17-08-2011 at 17:21.50
     
    -------------- Build: Debug in test_03 ---------------
    mingw32-g++.exe -o bin\Debug\test_03.exe obj\Debug\main.o C:\OpenCV2.3\build\x86\mingw\bin -mwindows
    c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: C:\OpenCV2.3\build\x86\mingw\bin: No such file: Permission denied
    collect2: ld returned 1 exit status
    Process terminated with status 1 (0 minutes, 0 seconds)

    langsam glaub ich dass mich soche opensouce biblioteken nicht mögen, SDL hab ich auch nur nach langen probieren zum laufen gebracht, und das auch nur auf meinem alten compi, und auch nur mit hilfe eines codeblock projekt,...

    Es fehlt immer noch der vollständige Compileraufruf mit allen Optionen (aus dem Build Log kopieren).
    Code :
    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
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    
    Build started on: 17-08-2011 at 17:12.11
    Build ended on: 17-08-2011 at 17:12.13
     
    -------------- Build: Debug in opencv_test ---------------
    mingw32-g++.exe -Wall -fexceptions -Weffc++ -Wextra -Wall -g -IC:\OpenCV2.3\build\include -c C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp -o obj\Debug\main.o
    mingw32-g++.exe -LC:\OpenCV2.3\build\x86\mingw\bin -LC:\OpenCV2.3\build\x86\mingw\lib -o bin\Debug\opencv_test.exe obj\Debug\main.o
    In file included from C:\OpenCV2.3\build\include/opencv/cv.h:63,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/core/core_c.h:1862: warning: 'struct CvModule' has pointer data members
    C:\OpenCV2.3\build\include/opencv2/core/core_c.h:1862: warning: but does not override 'CvModule(const CvModule&)'
    C:\OpenCV2.3\build\include/opencv2/core/core_c.h:1862: warning: or 'operator=(const CvModule&)'
    C:\OpenCV2.3\build\include/opencv2/core/core_c.h:1872: warning: 'struct CvType' has pointer data members
    C:\OpenCV2.3\build\include/opencv2/core/core_c.h:1872: warning: but does not override 'CvType(const CvType&)'
    C:\OpenCV2.3\build\include/opencv2/core/core_c.h:1872: warning: or 'operator=(const CvType&)'
    In file included from C:\OpenCV2.3\build\include/opencv/cv.h:64,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp:1257: warning: 'class cv::_InputArray' has virtual functions and accessible non-virtual destructor
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp:1306: warning: 'class cv::_OutputArray' has virtual functions and accessible non-virtual destructor
    In file included from C:\OpenCV2.3\build\include/opencv/cv.h:64,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp: In instantiation of 'cv::Vec':
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp:899: instantiated from 'cv::Scalar_'
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp:2140: instantiated from here
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp:571: warning: base class 'class cv::Matx' has a non-virtual destructor
    In file included from C:\OpenCV2.3\build\include/opencv/cv.h:64,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp: In instantiation of 'cv::Scalar_':
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp:2140: instantiated from here
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp:899: warning: base class 'class cv::Vec' has a non-virtual destructor
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp:2848: warning: user-defined 'cv::MatCommaInitializer_<_Tp>& cv::MatCommaInitializer_<_Tp>::operator,(T2)' always evaluates both arguments
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp:2861: warning: user-defined 'cv::MatxCommaInitializer<_Tp, m, n>& cv::MatxCommaInitializer<_Tp, m, n>::operator,(T2)' always evaluates both arguments
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp:2872: warning: user-defined 'cv::VecCommaInitializer<_Tp, m>& cv::VecCommaInitializer<_Tp, m>::operator,(T2)' always evaluates both arguments
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp:3439: warning: base class 'class cv::SparseMatConstIterator' has a non-virtual destructor
    In file included from C:\OpenCV2.3\build\include/opencv2/core/core.hpp:4247,
    from C:\OpenCV2.3\build\include/opencv/cv.h:64,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp:950: warning: user-defined 'cv::MatxCommaInitializer<_Tp, m, n>& cv::MatxCommaInitializer<_Tp, m, n>::operator,(_T2)' always evaluates both arguments
    In file included from C:\OpenCV2.3\build\include/opencv/cv.h:64,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp: In instantiation of 'cv::Vec':
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp:1207: instantiated from here
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp:571: warning: base class 'class cv::Matx' has a non-virtual destructor
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp: In instantiation of 'cv::Vec':
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp:1214: instantiated from here
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp:571: warning: base class 'class cv::Matx' has a non-virtual destructor
    In file included from C:\OpenCV2.3\build\include/opencv2/core/core.hpp:4247,
    from C:\OpenCV2.3\build\include/opencv/cv.h:64,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp:1263: warning: user-defined 'cv::VecCommaInitializer<_Tp, cn>& cv::VecCommaInitializer<_Tp, m>::operator,(_T2)' always evaluates both arguments
    In file included from C:\OpenCV2.3\build\include/opencv2/core/core.hpp:4247,
    from C:\OpenCV2.3\build\include/opencv/cv.h:64,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp: In constructor 'cv::RotatedRect::RotatedRect()':
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp:1773: warning: 'cv::RotatedRect::center' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp:1773: warning: 'cv::RotatedRect::size' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp:1773: warning: 'cv::RotatedRect::angle' should be initialized in the member initialization list
    In file included from C:\OpenCV2.3\build\include/opencv/cv.h:64,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp: At global scope:
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp: In instantiation of 'cv::Vec':
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp:1775: instantiated from here
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp:571: warning: base class 'class cv::Matx' has a non-virtual destructor
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp: In instantiation of 'cv::Vec':
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp:899: instantiated from 'cv::Scalar_'
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp:1938: instantiated from here
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp:571: warning: base class 'class cv::Matx' has a non-virtual destructor
    In file included from C:\OpenCV2.3\build\include/opencv/cv.h:64,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp: In instantiation of 'cv::Scalar_':
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp:1938: instantiated from here
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp:899: warning: base class 'class cv::Vec' has a non-virtual destructor
    In file included from C:\OpenCV2.3\build\include/opencv2/core/core.hpp:4247,
    from C:\OpenCV2.3\build\include/opencv/cv.h:64,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp: In constructor 'cv::RNG::RNG()':
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp:2253: warning: 'cv::RNG::state' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp: In constructor 'cv::RNG::RNG(uint64)':
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp:2254: warning: 'cv::RNG::state' should be initialized in the member initialization list
    In file included from C:\OpenCV2.3\build\include/opencv/cv.h:64,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp: At global scope:
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp: In instantiation of 'cv::Vec':
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp:2307: instantiated from here
    C:\OpenCV2.3\build\include/opencv2/core/core.hpp:571: warning: base class 'class cv::Matx' has a non-virtual destructor
    In file included from C:\OpenCV2.3\build\include/opencv2/core/core.hpp:4247,
    from C:\OpenCV2.3\build\include/opencv/cv.h:64,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp:2516: warning: 'class cv::WriteStructContext' has pointer data members
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp:2516: warning: but does not override 'cv::WriteStructContext(const cv::WriteStructContext&)'
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp:2516: warning: or 'operator=(const cv::WriteStructContext&)'
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp:3495: warning: 'struct cv::Formatted' has pointer data members
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp:3495: warning: but does not override 'cv::Formatted(const cv::Formatted&)'
    C:\OpenCV2.3\build\include/opencv2/core/operations.hpp:3495: warning: or 'operator=(const cv::Formatted&)'
    In file included from C:\OpenCV2.3\build\include/opencv2/core/core.hpp:4248,
    from C:\OpenCV2.3\build\include/opencv/cv.h:64,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat()':
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:58: warning: 'cv::Mat::step' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(int, int, int)':
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:64: warning: 'cv::Mat::step' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(int, int, int, const cv::Scalar&)':
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:71: warning: 'cv::Mat::step' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(cv::Size, int)':
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:79: warning: 'cv::Mat::step' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(cv::Size, int, const cv::Scalar&)':
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:86: warning: 'cv::Mat::step' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(int, const int*, int)':
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:94: warning: 'cv::Mat::step' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(int, const int*, int, const cv::Scalar&)':
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:101: warning: 'cv::Mat::step' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp: In copy constructor 'cv::Mat::Mat(const cv::Mat&)':
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:109: warning: 'cv::Mat::step' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(int, int, int, void*, size_t)':
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:127: warning: 'cv::Mat::step' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(cv::Size, int, void*, size_t)':
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:149: warning: 'cv::Mat::step' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(const CvMat*, bool)':
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:172: warning: 'cv::Mat::dataend' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:172: warning: 'cv::Mat::datalimit' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:172: warning: 'cv::Mat::step' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp: In constructor 'cv::Mat::MStep::MStep()':
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:724: warning: 'cv::Mat::MStep::p' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp: In constructor 'cv::Mat::MStep::MStep(size_t)':
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:725: warning: 'cv::Mat::MStep::p' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp: In constructor 'cv::SVD::SVD()':
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:747: warning: 'cv::SVD::u' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:747: warning: 'cv::SVD::w' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:747: warning: 'cv::SVD::vt' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp: In constructor 'cv::SVD::SVD(const cv::_InputArray&, int)':
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:748: warning: 'cv::SVD::u' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:748: warning: 'cv::SVD::w' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:748: warning: 'cv::SVD::vt' should be initialized in the member initialization list
    In file included from C:\OpenCV2.3\build\include/opencv2/core/core.hpp:4248,
    from C:\OpenCV2.3\build\include/opencv/cv.h:64,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp: At global scope:
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:1159: warning: 'class cv::MatExpr' has pointer data members
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:1159: warning: but does not override 'cv::MatExpr(const cv::MatExpr&)'
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:1159: warning: or 'operator=(const cv::MatExpr&)'
    C:\OpenCV2.3\build\include/opencv2/core/mat.hpp:1969: warning: user-defined 'cv::MatCommaInitializer_<_Tp>& cv::MatCommaInitializer_<_Tp>::operator,(T2)' always evaluates both arguments
    In file included from C:\OpenCV2.3\build\include/opencv2/flann/general.h:39,
    from C:\OpenCV2.3\build\include/opencv2/flann/flann_base.hpp:39,
    from C:\OpenCV2.3\build\include/opencv2/flann/flann.hpp:48,
    from C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:47,
    from C:\OpenCV2.3\build\include/opencv/cv.h:68,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/flann/logger.h:49: warning: 'class cvflann::Logger' has pointer data members
    C:\OpenCV2.3\build\include/opencv2/flann/logger.h:49: warning: but does not override 'cvflann::Logger(const cvflann::Logger&)'
    C:\OpenCV2.3\build\include/opencv2/flann/logger.h:49: warning: or 'operator=(const cvflann::Logger&)'
    In file included from C:\OpenCV2.3\build\include/opencv2/flann/flann_base.hpp:40,
    from C:\OpenCV2.3\build\include/opencv2/flann/flann.hpp:48,
    from C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:47,
    from C:\OpenCV2.3\build\include/opencv/cv.h:68,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/flann/matrix.h:90: warning: 'class cvflann::UntypedMatrix' has pointer data members
    C:\OpenCV2.3\build\include/opencv2/flann/matrix.h:90: warning: but does not override 'cvflann::UntypedMatrix(const cvflann::UntypedMatrix&)'
    C:\OpenCV2.3\build\include/opencv2/flann/matrix.h:90: warning: or 'operator=(const cvflann::UntypedMatrix&)'
    C:\OpenCV2.3\build\include/opencv2/flann/matrix.h: In constructor 'cvflann::UntypedMatrix::UntypedMatrix(void*, long int, long int)':
    C:\OpenCV2.3\build\include/opencv2/flann/matrix.h:97: warning: 'cvflann::UntypedMatrix::type' should be initialized in the member initialization list
    In file included from C:\OpenCV2.3\build\include/opencv2/flann/result_set.h:38,
    from C:\OpenCV2.3\build\include/opencv2/flann/flann_base.hpp:41,
    from C:\OpenCV2.3\build\include/opencv2/flann/flann.hpp:48,
    from C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:47,
    from C:\OpenCV2.3\build\include/opencv/cv.h:68,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/flann/dist.h: At global scope:
    C:\OpenCV2.3\build\include/opencv2/flann/dist.h:346: warning: postfix 'cvflann::ZeroIterator& cvflann::ZeroIterator::operator++(int)' should return 'cvflann::ZeroIterator'
    In file included from C:\OpenCV2.3\build\include/opencv2/flann/index_testing.h:41,
    from C:\OpenCV2.3\build\include/opencv2/flann/flann_base.hpp:42,
    from C:\OpenCV2.3\build\include/opencv2/flann/flann.hpp:48,
    from C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:47,
    from C:\OpenCV2.3\build\include/opencv/cv.h:68,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/flann/timer.h: In constructor 'cvflann::StartStopTimer::StartStopTimer()':
    C:\OpenCV2.3\build\include/opencv2/flann/timer.h:59: warning: 'cvflann::StartStopTimer::startTime' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/flann/timer.h:59: warning: 'cvflann::StartStopTimer::value' should be initialized in the member initialization list
    In file included from C:\OpenCV2.3\build\include/opencv2/flann/flann_base.hpp:40,
    from C:\OpenCV2.3\build\include/opencv2/flann/flann.hpp:48,
    from C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:47,
    from C:\OpenCV2.3\build\include/opencv/cv.h:68,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/flann/matrix.h: At global scope:
    C:\OpenCV2.3\build\include/opencv2/flann/matrix.h: In instantiation of 'cvflann::Matrix':
    C:\OpenCV2.3\build\include/opencv2/flann/index_testing.h:74: instantiated from here
    C:\OpenCV2.3\build\include/opencv2/flann/matrix.h:47: warning: 'class cvflann::Matrix' has pointer data members
    C:\OpenCV2.3\build\include/opencv2/flann/matrix.h:47: warning: but does not override 'cvflann::Matrix(const cvflann::Matrix&)'
    C:\OpenCV2.3\build\include/opencv2/flann/matrix.h:47: warning: or 'operator=(const cvflann::Matrix&)'
    In file included from C:\OpenCV2.3\build\include/opencv2/flann/kdtree_index.h:44,
    from C:\OpenCV2.3\build\include/opencv2/flann/all_indices.h:36,
    from C:\OpenCV2.3\build\include/opencv2/flann/flann_base.hpp:46,
    from C:\OpenCV2.3\build\include/opencv2/flann/flann.hpp:48,
    from C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:47,
    from C:\OpenCV2.3\build\include/opencv/cv.h:68,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/flann/allocator.h:74: warning: 'class cvflann::PooledAllocator' has pointer data members
    C:\OpenCV2.3\build\include/opencv2/flann/allocator.h:74: warning: but does not override 'cvflann::PooledAllocator(const cvflann::PooledAllocator&)'
    C:\OpenCV2.3\build\include/opencv2/flann/allocator.h:74: warning: or 'operator=(const cvflann::PooledAllocator&)'
    C:\OpenCV2.3\build\include/opencv2/flann/allocator.h: In constructor 'cvflann::PooledAllocator::PooledAllocator(int)':
    C:\OpenCV2.3\build\include/opencv2/flann/allocator.h:94: warning: 'cvflann::PooledAllocator::remaining' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/flann/allocator.h:94: warning: 'cvflann::PooledAllocator::base' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/flann/allocator.h:94: warning: 'cvflann::PooledAllocator::loc' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/flann/allocator.h:94: warning: 'cvflann::PooledAllocator::blocksize' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/flann/allocator.h:94: warning: 'cvflann::PooledAllocator::usedMemory' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/flann/allocator.h:94: warning: 'cvflann::PooledAllocator::wastedMemory' should be initialized in the member initialization list
    In file included from C:\OpenCV2.3\build\include/opencv2/flann/kdtree_index.h:45,
    from C:\OpenCV2.3\build\include/opencv2/flann/all_indices.h:36,
    from C:\OpenCV2.3\build\include/opencv2/flann/flann_base.hpp:46,
    from C:\OpenCV2.3\build\include/opencv2/flann/flann.hpp:48,
    from C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:47,
    from C:\OpenCV2.3\build\include/opencv/cv.h:68,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/flann/random.h: At global scope:
    C:\OpenCV2.3\build\include/opencv2/flann/random.h:66: warning: 'class cvflann::UniqueRandom' has pointer data members
    C:\OpenCV2.3\build\include/opencv2/flann/random.h:66: warning: but does not override 'cvflann::UniqueRandom(const cvflann::UniqueRandom&)'
    C:\OpenCV2.3\build\include/opencv2/flann/random.h:66: warning: or 'operator=(const cvflann::UniqueRandom&)'
    C:\OpenCV2.3\build\include/opencv2/flann/random.h: In constructor 'cvflann::UniqueRandom::UniqueRandom(int)':
    C:\OpenCV2.3\build\include/opencv2/flann/random.h:78: warning: 'cvflann::UniqueRandom::size' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/flann/random.h:78: warning: 'cvflann::UniqueRandom::counter' should be initialized in the member initialization list
    In file included from C:\OpenCV2.3\build\include/opencv2/flann/flann_base.hpp:40,
    from C:\OpenCV2.3\build\include/opencv2/flann/flann.hpp:48,
    from C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:47,
    from C:\OpenCV2.3\build\include/opencv/cv.h:68,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/flann/matrix.h: At global scope:
    C:\OpenCV2.3\build\include/opencv2/flann/matrix.h: In instantiation of 'cvflann::Matrix':
    C:\OpenCV2.3\build\include/opencv2/flann/kmeans_index.h:733: instantiated from here
    C:\OpenCV2.3\build\include/opencv2/flann/matrix.h:47: warning: 'class cvflann::Matrix' has pointer data members
    C:\OpenCV2.3\build\include/opencv2/flann/matrix.h:47: warning: but does not override 'cvflann::Matrix(const cvflann::Matrix&)'
    C:\OpenCV2.3\build\include/opencv2/flann/matrix.h:47: warning: or 'operator=(const cvflann::Matrix&)'
    C:\OpenCV2.3\build\include/opencv2/flann/matrix.h: In instantiation of 'cvflann::Matrix':
    C:\OpenCV2.3\build\include/opencv2/flann/flann_base.hpp:171: instantiated from here
    C:\OpenCV2.3\build\include/opencv2/flann/matrix.h:47: warning: 'class cvflann::Matrix' has pointer data members
    C:\OpenCV2.3\build\include/opencv2/flann/matrix.h:47: warning: but does not override 'cvflann::Matrix(const cvflann::Matrix&)'
    C:\OpenCV2.3\build\include/opencv2/flann/matrix.h:47: warning: or 'operator=(const cvflann::Matrix&)'
    In file included from C:\OpenCV2.3\build\include/opencv/cv.h:68,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:393: warning: base class 'struct CvSURFParams' has a non-virtual destructor
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp: In constructor 'cv::ORB::CommonParams::CommonParams(float, unsigned int, int, unsigned int)':
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:428: warning: 'cv::ORB::CommonParams::patch_size_' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp: At global scope:
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:576: warning: base class 'struct CvMSERParams' has a non-virtual destructor
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:596: warning: base class 'struct CvStarDetectorParams' has a non-virtual destructor
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:793: warning: 'class cv::RandomizedTree' has pointer data members
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:793: warning: but does not override 'cv::RandomizedTree(const cv::RandomizedTree&)'
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:793: warning: or 'operator=(const cv::RandomizedTree&)'
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp: In constructor 'cv::RTreeNode::RTreeNode()':
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:897: warning: 'cv::RTreeNode::offset1' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:897: warning: 'cv::RTreeNode::offset2' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp: At global scope:
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:911: warning: 'class cv::RTreeClassifier' has pointer data members
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:911: warning: but does not override 'cv::RTreeClassifier(const cv::RTreeClassifier&)'
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:911: warning: or 'operator=(const cv::RTreeClassifier&)'
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:977: warning: 'class cv::OneWayDescriptor' has pointer data members
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:977: warning: but does not override 'cv::OneWayDescriptor(const cv::OneWayDescriptor&)'
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:977: warning: or 'operator=(const cv::OneWayDescriptor&)'
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:1129: warning: 'class cv::OneWayDescriptorBase' has pointer data members
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:1129: warning: but does not override 'cv::OneWayDescriptorBase(const cv::OneWayDescriptorBase&)'
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:1129: warning: or 'operator=(const cv::OneWayDescriptorBase&)'
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:1317: warning: 'class cv::OneWayDescriptorObject' has pointer data members
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:1317: warning: but does not override 'cv::OneWayDescriptorObject(const cv::OneWayDescriptorObject&)'
    C:\OpenCV2.3\build\include/opencv2/features2d/features2d.hpp:1317: warning: or 'operator=(const cv::OneWayDescriptorObject&)'
    In file included from C:\OpenCV2.3\build\include/opencv/cv.h:71,
    from C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:5:
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp: In constructor 'cv::HOGDescriptor::HOGDescriptor()':
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:439: warning: 'cv::HOGDescriptor::svmDetector' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp: In constructor 'cv::HOGDescriptor::HOGDescriptor(cv::Size, cv::Size, cv::Size, cv::Size, int, int, double, int, double, bool, int)':
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:445: warning: 'cv::HOGDescriptor::svmDetector' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp: In constructor 'cv::HOGDescriptor::HOGDescriptor(const cv::String&)':
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:456: warning: 'cv::HOGDescriptor::winSize' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:456: warning: 'cv::HOGDescriptor::blockSize' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:456: warning: 'cv::HOGDescriptor::blockStride' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:456: warning: 'cv::HOGDescriptor::cellSize' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:456: warning: 'cv::HOGDescriptor::nbins' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:456: warning: 'cv::HOGDescriptor::derivAperture' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:456: warning: 'cv::HOGDescriptor::winSigma' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:456: warning: 'cv::HOGDescriptor::histogramNormType' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:456: warning: 'cv::HOGDescriptor::L2HysThreshold' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:456: warning: 'cv::HOGDescriptor::gammaCorrection' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:456: warning: 'cv::HOGDescriptor::svmDetector' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:456: warning: 'cv::HOGDescriptor::nlevels' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp: In copy constructor 'cv::HOGDescriptor::HOGDescriptor(const cv::HOGDescriptor&)':
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:461: warning: 'cv::HOGDescriptor::winSize' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:461: warning: 'cv::HOGDescriptor::blockSize' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:461: warning: 'cv::HOGDescriptor::blockStride' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:461: warning: 'cv::HOGDescriptor::cellSize' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:461: warning: 'cv::HOGDescriptor::nbins' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:461: warning: 'cv::HOGDescriptor::derivAperture' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:461: warning: 'cv::HOGDescriptor::winSigma' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:461: warning: 'cv::HOGDescriptor::histogramNormType' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:461: warning: 'cv::HOGDescriptor::L2HysThreshold' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:461: warning: 'cv::HOGDescriptor::gammaCorrection' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:461: warning: 'cv::HOGDescriptor::svmDetector' should be initialized in the member initialization list
    C:\OpenCV2.3\build\include/opencv2/objdetect/objdetect.hpp:461: warning: 'cv::HOGDescriptor::nlevels' should be initialized in the member initialization list
    C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp: In function 'int main(int, char**)':
    C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:15: error: invalid conversion from 'int' to 'CvMemStorage*'
    C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:15: error: initializing argument 2 of 'void* cvLoad(const char*, CvMemStorage*, const char*, const char**)'
    C:\Users\User\Programmieren\C++\opencv\test02\opencv_test\main.cpp:15: error: invalid conversion from 'void*' to 'IplImage*'
    Process terminated with status 1 (0 minutes, 1 seconds)
    3 errors, 138 warnings
     

  8. #8
    deepthroat deepthroat ist offline Mitglied Diamant
    tutorials.de Premium-User
    Registriert seit
    Jun 2005
    Beiträge
    8.168
    Zitat Zitat von pointhi Beitrag anzeigen
    habs genauso gemacht
    Nein, hast du nicht.

    Es war keine Rede davon irgendwelche Verzeichnisse für den Linker einzustellen.

    Du solltest die DLLs mit vollständigem Pfad eintragen. Das muß so aussehen:

    OpenCV in Codeblocks, nur fehler-opencv_link.png

    Gruß
    pointhi bedankt sich. 
    If at first you don't succeed, try again. Then quit. No use being a damn fool about it.

  9. #9
    pointhi pointhi ist offline Mitglied Bronze
    Registriert seit
    Jul 2011
    Beiträge
    44
    Danke, es funktioniert endlich.

    mfg. pointhi
     

Ähnliche Themen

  1. MFC und OpenCV
    Von Nukleo im Forum VisualStudio & MFC
    Antworten: 3
    Letzter Beitrag: 24.11.10, 15:22
  2. OpenCV Speicherüberlauf
    Von bertonex19 im Forum C/C++
    Antworten: 1
    Letzter Beitrag: 18.11.10, 11:36
  3. CodeBlocks: Probleme mit .lib linken?
    Von Ryu1991 im Forum C/C++
    Antworten: 20
    Letzter Beitrag: 11.05.09, 19:14
  4. Antworten: 3
    Letzter Beitrag: 02.04.08, 21:31
  5. Compilerproblem mit Codeblocks
    Von Drache2 im Forum C/C++
    Antworten: 1
    Letzter Beitrag: 25.08.07, 01:54