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
| In file included from mexutil.h:6:0,
from patch.h:16,
from simpatch.h:7,
from knn.cpp:8:
C:\Program Files\MATLAB\R2013b\extern/include/mex.h:215:0: warning: "printf" redefined
#define printf mexPrintf
^
In file included from knn.h:7:0,
from knn.cpp:6:
nn.h:63:0: note: this is the location of the previous definition
#define printf (void)
^
In file included from C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/backward/hash_set:60:0,
from knn.cpp:11:
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
#warning \
^
knn.cpp:50:0: warning: "M_PI" redefined
#define M_PI 3.1415926535897932384626433832795
^
In file included from knn.cpp:7:0:
C:/TDM-GCC-64/x86_64-w64-mingw32/include/math.h:45:0: note: this is the location of the previous definition
#define M_PI 3.14159265358979323846
^
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.text+0x11): undefined reference to `bitmap_color_depth(BITMAP*)'
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.text+0x68): undefined reference to `create_bitmap_ex(int, int, int)'
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.text+0x18e): undefined reference to `bitmap_color_depth(BITMAP*)'
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.text+0x1e5): undefined reference to `create_bitmap_ex(int, int, int)'
[...]
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.text+0xb4e): more undefined references to `destroy_bitmap(BITMAP*)' follow
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.text+0x10a5): undefined reference to `create_bitmap(int, int)'
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.text+0x119c): undefined reference to `init_xform_tables(double, double, int)'
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.text+0x11a6): undefined reference to `operator new(unsigned long long)'
[...]
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.xdata+0x1a0): undefined reference to `__gxx_personality_seh0'
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.xdata+0x2c0): undefined reference to `__gxx_personality_seh0'
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.xdata+0x35c): more undefined references to `__gxx_personality_seh0' follow
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.text$_ZN17LargeKPositionSet4initEPiPSt6vectorI8knn_pairIiESaIS3_EEi[_ZN17LargeKPositionSet4initEPiPSt6vectorI8knn_pairIiESaIS3_EEi]+0x6a): undefined reference to `operator new[](unsigned long long)'
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.text$_ZN17LargeKPositionSet4initEPiPSt6vectorI8knn_pairIiESaIS3_EEi[_ZN17LargeKPositionSet4initEPiPSt6vectorI8knn_pairIiESaIS3_EEi]+0xa2): undefined reference to `operator new[](unsigned long long)'
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.text$_ZN17LargeKPositionSetD1Ev[_ZN17LargeKPositionSetD1Ev]+0x25): undefined reference to `operator delete[](void*)'
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.text$_ZN17LargeKPositionSetD1Ev[_ZN17LargeKPositionSetD1Ev]+0x40): undefined reference to `operator delete[](void*)'
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.text$_ZN9KNNSolver1fEPd[_ZN9KNNSolver1fEPd]+0x15a): undefined reference to `destroy_bitmap(BITMAP*)'
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.text$_ZN9VECBITMAPIiEC1Eiii[_ZN9VECBITMAPIiEC1Eiii]+0x72): undefined reference to `operator new[](unsigned long long)'
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.text$_Z15knn_init_dist_nILi1EEP9VECBITMAPIiEP6ParamsP6BITMAPS6_S2_S2_[_Z15knn_init_dist_nILi1EEP9VECBITMAPIiEP6ParamsP6BITMAPS6_S2_S2_]+0x56): undefined reference to `init_xform_tables(double, double, int)'
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.text$_Z15knn_init_dist_nILi1EEP9VECBITMAPIiEP6ParamsP6BITMAPS6_S2_S2_[_Z15knn_init_dist_nILi1EEP9VECBITMAPIiEP6ParamsP6BITMAPS6_S2_S2_]+0x60): undefined reference to `operator new(unsigned long long)'
[...]
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.rdata$_ZTI13ObjectiveFunc[_ZTI13ObjectiveFunc]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.rdata$_ZTI19KNNSolverWeightFunc[_ZTI19KNNSolverWeightFunc]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
C:\Users\Elise\AppData\Local\Temp\ccyWui98.o:knn.cpp:(.rdata$_ZTI13KNNWeightFunc[_ZTI13KNNWeightFunc]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
collect2.exe: error: ld returned 1 exit status |
Partager