"C:\Program Files\CMake\bin\cmake.exe" --build E:\project\SIFT-master\cmake-build-debug --target sift -- -j 4 Scanning dependencies of target sift [ 25%] Building CXX object CMakeFiles/sift.dir/algorithms.cpp.obj [ 50%] Building CXX object CMakeFiles/sift.dir/sift.cpp.obj [ 75%] Building CXX object CMakeFiles/sift.dir/main.cpp.obj In file included from c:\mingw\x86_64-w64-mingw32\include\stddef.h:7:0, from c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\stddef.h:1, from c:\mingw\include\c++\7.1.0\bits\cxxabi_init_exception.h:38, from c:\mingw\include\c++\7.1.0\bits\exception_ptr.h:38, from c:\mingw\include\c++\7.1.0\exception:142, from c:\mingw\include\c++\7.1.0\new:40, from c:\mingw\include\c++\7.1.0\ext\new_allocator.h:33, from c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++allocator.h:33, from c:\mingw\include\c++\7.1.0\bits\allocator.h:46, from c:\mingw\include\c++\7.1.0\memory:63, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:35:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION typedef unsigned __int64 size_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:45:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION typedef __int64 ssize_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:52:9: error: 'size_t' does not name a type typedef size_t rsize_t; ^~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\math.h:13:0, from c:\mingw\include\c++\7.1.0\cmath:45, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:35:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION typedef unsigned __int64 size_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:62:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION typedef __int64 intptr_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:75:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION typedef unsigned __int64 uintptr_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:45:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION typedef __int64 ssize_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:52:9: error: 'size_t' does not name a type typedef size_t rsize_t; ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:88:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION typedef __int64 ptrdiff_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:62:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION typedef __int64 intptr_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:123:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION typedef __int64 __time64_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:138:9: error: '__time64_t' does not name a type; did you mean '__time32_t'? typedef __time64_t time_t; ^~~~~~~~~~ __time32_t In file included from c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\stddef.h:1:0, from c:\mingw\include\c++\7.1.0\bits\cxxabi_init_exception.h:38, from c:\mingw\include\c++\7.1.0\bits\exception_ptr.h:38, from c:\mingw\include\c++\7.1.0\exception:142, from c:\mingw\include\c++\7.1.0\new:40, from c:\mingw\include\c++\7.1.0\ext\new_allocator.h:33, from c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++allocator.h:33, from c:\mingw\include\c++\7.1.0\bits\allocator.h:46, from c:\mingw\include\c++\7.1.0\memory:63, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stddef.h:26:18: error: 'uintptr_t' does not name a type; did you mean '__intptr_t'? _CRTIMP extern uintptr_t __cdecl __threadhandle(void); ^~~~~~~~~ __intptr_t In file included from c:\mingw\include\c++\7.1.0\bits\exception_ptr.h:38:0, from c:\mingw\include\c++\7.1.0\exception:142, from c:\mingw\include\c++\7.1.0\new:40, from c:\mingw\include\c++\7.1.0\ext\new_allocator.h:33, from c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++allocator.h:33, from c:\mingw\include\c++\7.1.0\bits\allocator.h:46, from c:\mingw\include\c++\7.1.0\memory:63, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\bits\cxxabi_init_exception.h:63:32: error: 'size_t' was not declared in this scope __cxa_allocate_exception(size_t) _GLIBCXX_NOTHROW; ^~~~~~ c:\mingw\include\c++\7.1.0\bits\cxxabi_init_exception.h:63:32: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:75:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION typedef unsigned __int64 uintptr_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION In file included from c:\mingw\include\c++\7.1.0\exception:142:0, from c:\mingw\include\c++\7.1.0\new:40, from c:\mingw\include\c++\7.1.0\ext\new_allocator.h:33, from c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++allocator.h:33, from c:\mingw\include\c++\7.1.0\bits\allocator.h:46, from c:\mingw\include\c++\7.1.0\memory:63, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\bits\exception_ptr.h: In function 'std::__exception_ptr::exception_ptr std::make_exception_ptr(_Ex)': c:\mingw\include\c++\7.1.0\bits\exception_ptr.h:185:71: error: '__cxxabiv1::__cxa_allocate_exception' cannot be used as a function void *__e = __cxxabiv1::__cxa_allocate_exception(sizeof(_Ex)); ^ c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:88:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION typedef __int64 ptrdiff_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:123:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION typedef __int64 __time64_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:138:9: error: '__time64_t' does not name a type; did you mean '__time32_t'? typedef __time64_t time_t; ^~~~~~~~~~ __time32_t In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:122:5: error: '__C89_NAMELESS' does not name a type; did you mean '__CRT_ALIAS'? __C89_NAMELESS struct { ^~~~~~~~~~~~~~ __CRT_ALIAS c:\mingw\x86_64-w64-mingw32\include\math.h:124:7: error: 'lh' does not name a type } lh; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:135:5: error: '__C89_NAMELESS' does not name a type; did you mean '__CRT_ALIAS'? __C89_NAMELESS struct { ^~~~~~~~~~~~~~ __CRT_ALIAS c:\mingw\x86_64-w64-mingw32\include\math.h:140:7: error: 'lh' does not name a type } lh; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:156:38: error: '_HUGE' was not declared in this scope extern double * __MINGW_IMP_SYMBOL(_HUGE); ^~~~~ In file included from C:/MinGW/include/wchar.h:83:0, from c:\mingw\include\c++\7.1.0\cwchar:44, from c:\mingw\include\c++\7.1.0\bits\postypes.h:40, from c:\mingw\include\c++\7.1.0\iosfwd:40, from c:\mingw\include\c++\7.1.0\memory:72, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/stdio.h: At global scope: C:/MinGW/include/stdio.h:926:64: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int _snwprintf (wchar_t *, size_t, const wchar_t *, ...); ^~~~~~ C:/MinGW/include/stdio.h:928:65: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int _vsnwprintf (wchar_t *, size_t, const wchar_t *, __VALIST); ^~~~~~ C:/MinGW/include/stdio.h:970:52: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW int snwprintf (wchar_t *, size_t, const wchar_t *, ...); ^~~~~~ C:/MinGW/include/stdio.h:971:53: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW int vsnwprintf (wchar_t *, size_t, const wchar_t *, __VALIST); ^~~~~~ C:/MinGW/include/stdio.h:976:31: error: 'size_t' has not been declared int vsnwprintf (wchar_t *__s, size_t __n, const wchar_t *__fmt, __VALIST __arg) ^~~~~~ In file included from C:/MinGW/include/wchar.h:147:0, from c:\mingw\include\c++\7.1.0\cwchar:44, from c:\mingw\include\c++\7.1.0\bits\postypes.h:40, from c:\mingw\include\c++\7.1.0\iosfwd:40, from c:\mingw\include\c++\7.1.0\memory:72, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/stdlib.h:468:50: error: 'size_t' has not been declared wchar_t *_wfullpath (wchar_t *, const wchar_t *, size_t); ^~~~~~ In file included from C:/MinGW/include/wchar.h:290:0, from c:\mingw\include\c++\7.1.0\cwchar:44, from c:\mingw\include\c++\7.1.0\bits\postypes.h:40, from c:\mingw\include\c++\7.1.0\iosfwd:40, from c:\mingw\include\c++\7.1.0\memory:72, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/time.h:496:1: error: 'size_t' does not name a type; did you mean 'time_t'? size_t wcsftime (wchar_t *, size_t, const wchar_t *, const struct tm *); ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'int __fpclassifyl(long double)': c:\mingw\x86_64-w64-mingw32\include\math.h:417:18: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' e = hlp.ldt->lh.sign_exponent & 0x7fff; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:420:35: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' unsigned int h = hlp.ldt->lh.high; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:421:24: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' if (!(hlp.ldt->lh.low | h)) ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:427:26: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' return (((hlp.ldt->lh.high & 0x7fffffff) | hlp.ldt->lh.low) == 0 ? ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:427:59: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' return (((hlp.ldt->lh.high & 0x7fffffff) | hlp.ldt->lh.low) == 0 ? ^~ c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'int __fpclassify(double)': c:\mingw\x86_64-w64-mingw32\include\math.h:444:18: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' h = hlp.ldt->lh.high; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:445:18: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' l = hlp.ldt->lh.low | (h & 0xfffff); ^~ In file included from c:\mingw\include\c++\7.1.0\cwchar:44:0, from c:\mingw\include\c++\7.1.0\bits\postypes.h:40, from c:\mingw\include\c++\7.1.0\iosfwd:40, from c:\mingw\include\c++\7.1.0\memory:72, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/wchar.h:397:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t wcscspn (const wchar_t *, const wchar_t *); ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'int __isnan(double)': c:\mingw\x86_64-w64-mingw32\include\math.h:532:17: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh' l = hlp.dt->lh.low; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:533:17: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh' h = hlp.dt->lh.high & 0x7fffffff; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'int __isnanl(long double)': c:\mingw\x86_64-w64-mingw32\include\math.h:572:24: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' signexp = (ld.ldt->lh.sign_exponent & 0x7fff) << 1; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:573:25: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' xx = (int) (ld.ldt->lh.low | (ld.ldt->lh.high & 0x7fffffffu)); /* explicit */ ^~ C:/MinGW/include/wchar.h:398:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t wcslen (const wchar_t *); ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\math.h:573:43: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' xx = (int) (ld.ldt->lh.low | (ld.ldt->lh.high & 0x7fffffffu)); /* explicit */ ^~ C:/MinGW/include/wchar.h:399:80: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW wchar_t *wcsncat (wchar_t *, const wchar_t *, size_t); ^~~~~~ C:/MinGW/include/wchar.h:400:81: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int wcsncmp (const wchar_t *, const wchar_t *, size_t); ^~~~~~ C:/MinGW/include/wchar.h:401:80: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW wchar_t *wcsncpy (wchar_t *, const wchar_t *, size_t); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'int __signbit(double)': c:\mingw\x86_64-w64-mingw32\include\math.h:616:22: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh' return ((hlp.dt->lh.high & 0x80000000) != 0); ^~ c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'int __signbitl(long double)': c:\mingw\x86_64-w64-mingw32\include\math.h:640:22: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' return ((ld.ldt->lh.sign_exponent & 0x8000) != 0); ^~ C:/MinGW/include/wchar.h:404:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t wcsspn (const wchar_t *, const wchar_t *); ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\math.h: At global scope: c:\mingw\x86_64-w64-mingw32\include\math.h:882:48: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' extern double __cdecl hypot (double, double) __MINGW_ATTRIB_DEPRECATED_MSVC2005; /* in libmoldname.a */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'float hypotf(float, float)': c:\mingw\x86_64-w64-mingw32\include\math.h:885:73: error: 'hypot' was not declared in this scope __CRT_INLINE float __cdecl hypotf (float x, float y) { return (float) hypot ((double)x, (double)y);} ^~~~~ C:/MinGW/include/wchar.h:407:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t wcsxfrm (wchar_t *, const wchar_t *, size_t); ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\math.h:885:73: note: suggested alternative: 'hypotf' __CRT_INLINE float __cdecl hypotf (float x, float y) { return (float) hypot ((double)x, (double)y);} ^~~~~ hypotf C:/MinGW/include/wchar.h:522:1: error: 'size_t' does not name a type; did you mean 'time_t'? size_t mbrlen (const char *__restrict__, size_t, mbstate_t *__restrict__); ^~~~~~ time_t C:/MinGW/include/wchar.h:524:26: error: 'size_t' does not name a type; did you mean 'time_t'? __cdecl __MINGW_NOTHROW size_t mbrtowc ^~~~~~ time_t C:/MinGW/include/wchar.h:527:26: error: 'size_t' does not name a type; did you mean 'time_t'? __cdecl __MINGW_NOTHROW size_t mbsrtowcs ^~~~~~ time_t C:/MinGW/include/wchar.h:531:1: error: 'size_t' does not name a type; did you mean 'time_t'? size_t wcrtomb (char * __restrict__, wchar_t, mbstate_t *__restrict__); ^~~~~~ time_t C:/MinGW/include/wchar.h:533:26: error: 'size_t' does not name a type; did you mean 'time_t'? __cdecl __MINGW_NOTHROW size_t wcsrtombs ^~~~~~ time_t C:/MinGW/include/wchar.h:555:64: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW wchar_t *wmemset (wchar_t *, wchar_t, size_t); ^~~~~~ C:/MinGW/include/wchar.h:556:70: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW wchar_t *wmemchr (const wchar_t *, wchar_t, size_t); ^~~~~~ C:/MinGW/include/wchar.h:562:48: error: 'size_t' has not been declared int wmemcmp (const wchar_t *, const wchar_t *, size_t); ^~~~~~ C:/MinGW/include/wchar.h:565:71: error: 'size_t' has not been declared wchar_t *wmemcpy (wchar_t *__restrict__, const wchar_t *__restrict__, size_t); ^~~~~~ C:/MinGW/include/wchar.h:567:73: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW wchar_t *wmemmove (wchar_t *, const wchar_t *, size_t); ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\postypes.h:40:0, from c:\mingw\include\c++\7.1.0\iosfwd:40, from c:\mingw\include\c++\7.1.0\memory:72, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\cwchar:151:11: error: '::mbrlen' has not been declared using ::mbrlen; ^~~~~~ c:\mingw\include\c++\7.1.0\cwchar:152:11: error: '::mbrtowc' has not been declared using ::mbrtowc; ^~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:154:11: error: '::mbsrtowcs' has not been declared using ::mbsrtowcs; ^~~~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:158:11: error: '::swprintf' has not been declared using ::swprintf; ^~~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:167:11: error: '::vswprintf' has not been declared using ::vswprintf; ^~~~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:176:11: error: '::wcrtomb' has not been declared using ::wcrtomb; ^~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:181:11: error: '::wcscspn' has not been declared using ::wcscspn; ^~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:182:11: error: '::wcsftime' has not been declared using ::wcsftime; ^~~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:183:11: error: '::wcslen' has not been declared using ::wcslen; ^~~~~~ c:\mingw\include\c++\7.1.0\cwchar:187:11: error: '::wcsrtombs' has not been declared using ::wcsrtombs; ^~~~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:188:11: error: '::wcsspn' has not been declared using ::wcsspn; ^~~~~~ c:\mingw\include\c++\7.1.0\cwchar:196:11: error: '::wcsxfrm' has not been declared using ::wcsxfrm; ^~~~~~~ c:\mingw\x86_64-w64-mingw32\include\math.h: At global scope: c:\mingw\x86_64-w64-mingw32\include\math.h:946:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llrint (double); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\math.h:947:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llrintf (float); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\math.h:948:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llrintl (long double); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\math.h:1038:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llround (double); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\math.h:1039:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llroundf (float); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\math.h:1040:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llroundl (long double); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'double copysign(double, double)': c:\mingw\x86_64-w64-mingw32\include\math.h:1073:8: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh' hx.lh.high = (hx.lh.high & 0x7fffffff) | (hy.lh.high & 0x80000000); ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:1073:22: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh' hx.lh.high = (hx.lh.high & 0x7fffffff) | (hy.lh.high & 0x80000000); ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:1073:50: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh' hx.lh.high = (hx.lh.high & 0x7fffffff) | (hy.lh.high & 0x80000000); ^~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h: At global scope: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:114:47: error: conflicting declaration 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__mb_cur_max); ^ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:156:19: note: previous declaration as 'double* __MINGW_IMP_SYMBOL' extern double * __MINGW_IMP_SYMBOL(_HUGE); ^~~~~~~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:114:35: error: '__mb_cur_max' was not declared in this scope extern int * __MINGW_IMP_SYMBOL(__mb_cur_max); ^~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\string:40:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\bits\char_traits.h: In static member function 'static std::size_t std::char_traits::length(const char_type*)': c:\mingw\include\c++\7.1.0\bits\char_traits.h:360:16: error: 'wcslen' was not declared in this scope { return wcslen(__s); } ^~~~~~ c:\mingw\include\c++\7.1.0\bits\char_traits.h:360:16: note: suggested alternative: 'wcsstr' { return wcslen(__s); } ^~~~~~ wcsstr c:\mingw\x86_64-w64-mingw32\include\stdlib.h:145:115: error: 'uintptr_t' has not been declared typedef void (__cdecl *_invalid_parameter_handler)(const wchar_t *,const wchar_t *,const wchar_t *,unsigned int,uintptr_t); ^~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:41: error: conflicting declaration 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:156:19: note: previous declaration as 'double* __MINGW_IMP_SYMBOL' extern double * __MINGW_IMP_SYMBOL(_HUGE); ^~~~~~~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:35: error: '__argc' was not declared in this scope extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:188:44: error: conflicting declaration 'char*** __MINGW_IMP_SYMBOL' extern char *** __MINGW_IMP_SYMBOL(__argv); ^ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:156:19: note: previous declaration as 'double* __MINGW_IMP_SYMBOL' extern double * __MINGW_IMP_SYMBOL(_HUGE); ^~~~~~~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:188:38: error: '__argv' was not declared in this scope extern char *** __MINGW_IMP_SYMBOL(__argv); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:196:48: error: conflicting declaration 'wchar_t*** __MINGW_IMP_SYMBOL' extern wchar_t *** __MINGW_IMP_SYMBOL(__wargv); ^ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:156:19: note: previous declaration as 'double* __MINGW_IMP_SYMBOL' extern double * __MINGW_IMP_SYMBOL(_HUGE); ^~~~~~~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:196:41: error: '__wargv' was not declared in this scope extern wchar_t *** __MINGW_IMP_SYMBOL(__wargv); ^~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:208:46: error: conflicting declaration 'char*** __MINGW_IMP_SYMBOL' extern char *** __MINGW_IMP_SYMBOL(_environ); ^ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:156:19: note: previous declaration as 'double* __MINGW_IMP_SYMBOL' extern double * __MINGW_IMP_SYMBOL(_HUGE); ^~~~~~~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:208:38: error: '_environ' was not declared in this scope extern char *** __MINGW_IMP_SYMBOL(_environ); ^~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:208:38: note: suggested alternative: 'union' extern char *** __MINGW_IMP_SYMBOL(_environ); ^~~~~~~~ union c:\mingw\x86_64-w64-mingw32\include\stdlib.h:217:50: error: conflicting declaration 'wchar_t*** __MINGW_IMP_SYMBOL' extern wchar_t *** __MINGW_IMP_SYMBOL(_wenviron); ^ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:156:19: note: previous declaration as 'double* __MINGW_IMP_SYMBOL' extern double * __MINGW_IMP_SYMBOL(_HUGE); ^~~~~~~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:217:41: error: '_wenviron' was not declared in this scope extern wchar_t *** __MINGW_IMP_SYMBOL(_wenviron); ^~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:226:44: error: conflicting declaration 'char** __MINGW_IMP_SYMBOL' extern char ** __MINGW_IMP_SYMBOL(_pgmptr); ^ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:156:19: note: previous declaration as 'double* __MINGW_IMP_SYMBOL' extern double * __MINGW_IMP_SYMBOL(_HUGE); ^~~~~~~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:226:37: error: '_pgmptr' was not declared in this scope extern char ** __MINGW_IMP_SYMBOL(_pgmptr); ^~~~~~~ In file included from C:/MinGW/include/ctype.h:59:0, from c:\mingw\include\c++\7.1.0\cctype:42, from c:\mingw\include\c++\7.1.0\bits\localefwd.h:42, from c:\mingw\include\c++\7.1.0\string:43, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/wctype.h: At global scope: C:/MinGW/include/wctype.h:89:18: error: conflicting declaration 'typedef wchar_t wctype_t' typedef wchar_t wctype_t; ^~~~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\stddef.h:7:0, from c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\stddef.h:1, from c:\mingw\include\c++\7.1.0\bits\cxxabi_init_exception.h:38, from c:\mingw\include\c++\7.1.0\bits\exception_ptr.h:38, from c:\mingw\include\c++\7.1.0\exception:142, from c:\mingw\include\c++\7.1.0\new:40, from c:\mingw\include\c++\7.1.0\ext\new_allocator.h:33, from c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++allocator.h:33, from c:\mingw\include\c++\7.1.0\bits\allocator.h:46, from c:\mingw\include\c++\7.1.0\memory:63, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:107:24: note: previous declaration as 'typedef short unsigned int wctype_t' typedef unsigned short wctype_t; ^~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:235:48: error: conflicting declaration 'wchar_t** __MINGW_IMP_SYMBOL' extern wchar_t ** __MINGW_IMP_SYMBOL(_wpgmptr); ^ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:156:19: note: previous declaration as 'double* __MINGW_IMP_SYMBOL' extern double * __MINGW_IMP_SYMBOL(_HUGE); ^~~~~~~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:235:40: error: '_wpgmptr' was not declared in this scope extern wchar_t ** __MINGW_IMP_SYMBOL(_wpgmptr); ^~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:245:41: error: conflicting declaration 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(_fmode); ^ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:156:19: note: previous declaration as 'double* __MINGW_IMP_SYMBOL' extern double * __MINGW_IMP_SYMBOL(_HUGE); ^~~~~~~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:245:35: error: '_fmode' was not declared in this scope extern int * __MINGW_IMP_SYMBOL(_fmode); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:245:35: note: suggested alternative: 'fmodl' extern int * __MINGW_IMP_SYMBOL(_fmode); ^~~~~~ fmodl c:\mingw\x86_64-w64-mingw32\include\stdlib.h:256:55: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL' extern unsigned int * __MINGW_IMP_SYMBOL(_osplatform); ^ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:156:19: note: previous declaration as 'double* __MINGW_IMP_SYMBOL' extern double * __MINGW_IMP_SYMBOL(_HUGE); ^~~~~~~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:256:44: error: '_osplatform' was not declared in this scope extern unsigned int * __MINGW_IMP_SYMBOL(_osplatform); ^~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:265:50: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL' extern unsigned int * __MINGW_IMP_SYMBOL(_osver); ^ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:156:19: note: previous declaration as 'double* __MINGW_IMP_SYMBOL' extern double * __MINGW_IMP_SYMBOL(_HUGE); ^~~~~~~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:265:44: error: '_osver' was not declared in this scope extern unsigned int * __MINGW_IMP_SYMBOL(_osver); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:274:51: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL' extern unsigned int * __MINGW_IMP_SYMBOL(_winver); ^ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:156:19: note: previous declaration as 'double* __MINGW_IMP_SYMBOL' extern double * __MINGW_IMP_SYMBOL(_HUGE); ^~~~~~~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:274:44: error: '_winver' was not declared in this scope extern unsigned int * __MINGW_IMP_SYMBOL(_winver); ^~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:283:53: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL' extern unsigned int * __MINGW_IMP_SYMBOL(_winmajor); ^ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:156:19: note: previous declaration as 'double* __MINGW_IMP_SYMBOL' extern double * __MINGW_IMP_SYMBOL(_HUGE); ^~~~~~~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:283:44: error: '_winmajor' was not declared in this scope extern unsigned int * __MINGW_IMP_SYMBOL(_winmajor); ^~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:292:53: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL' extern unsigned int * __MINGW_IMP_SYMBOL(_winminor); ^ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:156:19: note: previous declaration as 'double* __MINGW_IMP_SYMBOL' extern double * __MINGW_IMP_SYMBOL(_HUGE); ^~~~~~~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:292:44: error: '_winminor' was not declared in this scope extern unsigned int * __MINGW_IMP_SYMBOL(_winminor); ^~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:307:37: error: 'size_t' has not been declared template char (*__countof_helper(UNALIGNED _CountofType (&_Array)[_SizeOfArray]))[_SizeOfArray]; ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:307:81: error: expected ')' before '(' token template char (*__countof_helper(UNALIGNED _CountofType (&_Array)[_SizeOfArray]))[_SizeOfArray]; ^ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:342:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION __int64 __cdecl _abs64(__int64); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:361:60: error: 'size_t' has not been declared void *__cdecl bsearch(const void *_Key,const void *_Base,size_t _NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(const void *,const void *)); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:361:82: error: 'size_t' has not been declared void *__cdecl bsearch(const void *_Key,const void *_Base,size_t _NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(const void *,const void *)); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:362:34: error: 'size_t' has not been declared void __cdecl qsort(void *_Base,size_t _NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(const void *,const void *)); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:362:56: error: 'size_t' has not been declared void __cdecl qsort(void *_Base,size_t _NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(const void *,const void *)); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:366:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION unsigned __int64 __cdecl _byteswap_uint64(unsigned __int64 _Int64); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:368:46: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' char *__cdecl getenv(const char *_VarName) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:370:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP char *__cdecl _i64toa(__int64 _Val,char *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:35: error: '__argc' was not declared in this scope extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:188:44: error: conflicting declaration 'char*** __MINGW_IMP_SYMBOL' extern char *** __MINGW_IMP_SYMBOL(__argv); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:188:38: error: '__argv' was not declared in this scope extern char *** __MINGW_IMP_SYMBOL(__argv); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:196:48: error: conflicting declaration 'wchar_t*** __MINGW_IMP_SYMBOL' extern wchar_t *** __MINGW_IMP_SYMBOL(__wargv); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:196:41: error: '__wargv' was not declared in this scope extern wchar_t *** __MINGW_IMP_SYMBOL(__wargv); ^~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:208:46: error: conflicting declaration 'char*** __MINGW_IMP_SYMBOL' extern char *** __MINGW_IMP_SYMBOL(_environ); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:208:38: error: '_environ' was not declared in this scope extern char *** __MINGW_IMP_SYMBOL(_environ); ^~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:208:38: note: suggested alternative: 'union' extern char *** __MINGW_IMP_SYMBOL(_environ); ^~~~~~~~ union c:\mingw\x86_64-w64-mingw32\include\stdlib.h:217:50: error: conflicting declaration 'wchar_t*** __MINGW_IMP_SYMBOL' extern wchar_t *** __MINGW_IMP_SYMBOL(_wenviron); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:217:41: error: '_wenviron' was not declared in this scope extern wchar_t *** __MINGW_IMP_SYMBOL(_wenviron); ^~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:371:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP char *__cdecl _ui64toa(unsigned __int64 _Val,char *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:226:44: error: conflicting declaration 'char** __MINGW_IMP_SYMBOL' extern char ** __MINGW_IMP_SYMBOL(_pgmptr); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:226:37: error: '_pgmptr' was not declared in this scope extern char ** __MINGW_IMP_SYMBOL(_pgmptr); ^~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:235:48: error: conflicting declaration 'wchar_t** __MINGW_IMP_SYMBOL' extern wchar_t ** __MINGW_IMP_SYMBOL(_wpgmptr); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:235:40: error: '_wpgmptr' was not declared in this scope extern wchar_t ** __MINGW_IMP_SYMBOL(_wpgmptr); ^~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:245:41: error: redefinition of 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(_fmode); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: 'int* __MINGW_IMP_SYMBOL' previously defined here extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:245:35: error: '_fmode' was not declared in this scope extern int * __MINGW_IMP_SYMBOL(_fmode); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:245:35: note: suggested alternative: 'fwide' extern int * __MINGW_IMP_SYMBOL(_fmode); ^~~~~~ fwide c:\mingw\x86_64-w64-mingw32\include\stdlib.h:256:55: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL' extern unsigned int * __MINGW_IMP_SYMBOL(_osplatform); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:256:44: error: '_osplatform' was not declared in this scope extern unsigned int * __MINGW_IMP_SYMBOL(_osplatform); ^~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:265:50: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL' extern unsigned int * __MINGW_IMP_SYMBOL(_osver); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:265:44: error: '_osver' was not declared in this scope extern unsigned int * __MINGW_IMP_SYMBOL(_osver); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:274:51: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL' extern unsigned int * __MINGW_IMP_SYMBOL(_winver); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:274:44: error: '_winver' was not declared in this scope extern unsigned int * __MINGW_IMP_SYMBOL(_winver); ^~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:372:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _atoi64(const char *_String); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:283:53: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL' extern unsigned int * __MINGW_IMP_SYMBOL(_winmajor); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:283:44: error: '_winmajor' was not declared in this scope extern unsigned int * __MINGW_IMP_SYMBOL(_winmajor); ^~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:292:53: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL' extern unsigned int * __MINGW_IMP_SYMBOL(_winminor); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:292:44: error: '_winminor' was not declared in this scope extern unsigned int * __MINGW_IMP_SYMBOL(_winminor); ^~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:307:37: error: 'size_t' has not been declared template char (*__countof_helper(UNALIGNED _CountofType (&_Array)[_SizeOfArray]))[_SizeOfArray]; ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:307:81: error: expected ')' before '(' token template char (*__countof_helper(UNALIGNED _CountofType (&_Array)[_SizeOfArray]))[_SizeOfArray]; ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:373:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _atoi64_l(const char *_String,_locale_t _Locale); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:342:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION __int64 __cdecl _abs64(__int64); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:361:60: error: 'size_t' has not been declared void *__cdecl bsearch(const void *_Key,const void *_Base,size_t _NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(const void *,const void *)); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:361:82: error: 'size_t' has not been declared void *__cdecl bsearch(const void *_Key,const void *_Base,size_t _NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(const void *,const void *)); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:362:34: error: 'size_t' has not been declared void __cdecl qsort(void *_Base,size_t _NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(const void *,const void *)); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:362:56: error: 'size_t' has not been declared void __cdecl qsort(void *_Base,size_t _NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(const void *,const void *)); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:366:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION unsigned __int64 __cdecl _byteswap_uint64(unsigned __int64 _Int64); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:368:46: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' char *__cdecl getenv(const char *_VarName) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:374:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _strtoi64(const char *_String,char **_EndPtr,int _Radix); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:370:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP char *__cdecl _i64toa(__int64 _Val,char *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:375:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _strtoi64_l(const char *_String,char **_EndPtr,int _Radix,_locale_t _Locale); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:371:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP char *__cdecl _ui64toa(unsigned __int64 _Val,char *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:376:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _strtoui64(const char *_String,char **_EndPtr,int _Radix); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:372:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _atoi64(const char *_String); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:373:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _atoi64_l(const char *_String,_locale_t _Locale); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:377:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _strtoui64_l(const char *_String,char **_EndPtr,int _Radix,_locale_t _Locale); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:379:67: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP char *__cdecl _ltoa(long _Value,char *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:380:37: error: 'size_t' has not been declared int __cdecl mblen(const char *_Ch,size_t _MaxCount); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:381:48: error: 'size_t' has not been declared _CRTIMP int __cdecl _mblen_l(const char *_Ch,size_t _MaxCount,_locale_t _Locale); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:382:11: error: 'size_t' does not name a type; did you mean 'div_t'? _CRTIMP size_t __cdecl _mbstrlen(const char *_Str); ^~~~~~ div_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:383:11: error: 'size_t' does not name a type; did you mean 'div_t'? _CRTIMP size_t __cdecl _mbstrlen_l(const char *_Str,_locale_t _Locale); ^~~~~~ div_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:374:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _strtoi64(const char *_String,char **_EndPtr,int _Radix); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:384:11: error: 'size_t' does not name a type; did you mean 'div_t'? _CRTIMP size_t __cdecl _mbstrnlen(const char *_Str,size_t _MaxCount); ^~~~~~ div_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:385:11: error: 'size_t' does not name a type; did you mean 'div_t'? _CRTIMP size_t __cdecl _mbstrnlen_l(const char *_Str,size_t _MaxCount,_locale_t _Locale); ^~~~~~ div_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:386:85: error: 'size_t' has not been declared int __cdecl mbtowc(wchar_t * __restrict__ _DstCh,const char * __restrict__ _SrcCh,size_t _SrcSizeInBytes); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:387:96: error: 'size_t' has not been declared _CRTIMP int __cdecl _mbtowc_l(wchar_t * __restrict__ _DstCh,const char * __restrict__ _SrcCh,size_t _SrcSizeInBytes,_locale_t _Locale); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:388:3: error: 'size_t' does not name a type; did you mean 'div_t'? size_t __cdecl mbstowcs(wchar_t * __restrict__ _Dest,const char * __restrict__ _Source,size_t _MaxCount); ^~~~~~ div_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:389:11: error: 'size_t' does not name a type; did you mean 'div_t'? _CRTIMP size_t __cdecl _mbstowcs_l(wchar_t * __restrict__ _Dest,const char * __restrict__ _Source,size_t _MaxCount,_locale_t _Locale); ^~~~~~ div_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:375:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _strtoi64_l(const char *_String,char **_EndPtr,int _Radix,_locale_t _Locale); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:404:1: error: '__mingw_ovr' does not name a type __mingw_ovr ^~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:376:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _strtoui64(const char *_String,char **_EndPtr,int _Radix); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:411:1: error: '__mingw_ovr' does not name a type __mingw_ovr ^~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:447:77: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP char *__cdecl _ultoa(unsigned long _Value,char *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:448:48: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' int __cdecl wctomb(char *_MbCh,wchar_t _WCh) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:449:77: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP int __cdecl _wctomb_l(char *_MbCh,wchar_t _WCh,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:450:3: error: 'size_t' does not name a type; did you mean 'div_t'? size_t __cdecl wcstombs(char * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~ div_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:451:11: error: 'size_t' does not name a type; did you mean 'div_t'? _CRTIMP size_t __cdecl _wcstombs_l(char * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _MaxCount,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~ div_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:455:24: error: 'size_t' was not declared in this scope void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:455:24: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:455:46: error: 'size_t' was not declared in this scope void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:455:46: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:455:68: error: expression list treated as compound expression in initializer [-fpermissive] void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:457:24: error: 'size_t' was not declared in this scope void *__cdecl malloc(size_t _Size); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:457:24: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:458:39: error: 'size_t' has not been declared void *__cdecl realloc(void *_Memory,size_t _NewSize); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:459:49: error: 'size_t' has not been declared _CRTIMP void *__cdecl _recalloc(void *_Memory,size_t _Count,size_t _Size); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:459:63: error: 'size_t' has not been declared _CRTIMP void *__cdecl _recalloc(void *_Memory,size_t _Count,size_t _Size); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:467:41: error: 'size_t' was not declared in this scope _CRTIMP void *__cdecl _aligned_malloc(size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:467:41: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:467:54: error: 'size_t' was not declared in this scope _CRTIMP void *__cdecl _aligned_malloc(size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:467:54: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:467:71: error: expression list treated as compound expression in initializer [-fpermissive] _CRTIMP void *__cdecl _aligned_malloc(size_t _Size,size_t _Alignment); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:48: error: 'size_t' was not declared in this scope _CRTIMP void *__cdecl _aligned_offset_malloc(size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:48: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:61: error: 'size_t' was not declared in this scope _CRTIMP void *__cdecl _aligned_offset_malloc(size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:61: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:79: error: 'size_t' was not declared in this scope _CRTIMP void *__cdecl _aligned_offset_malloc(size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:79: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:93: error: expression list treated as compound expression in initializer [-fpermissive] _CRTIMP void *__cdecl _aligned_offset_malloc(size_t _Size,size_t _Alignment,size_t _Offset); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:472:56: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_realloc(void *_Memory,size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:472:69: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_realloc(void *_Memory,size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:473:57: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:473:71: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:473:84: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:474:63: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_realloc(void *_Memory,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:474:76: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_realloc(void *_Memory,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:474:94: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_realloc(void *_Memory,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:475:64: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:475:78: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:475:91: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:475:109: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:481:72: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP wchar_t *__cdecl _itow(int _Value,wchar_t *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:482:73: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP wchar_t *__cdecl _ltow(long _Value,wchar_t *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:483:83: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP wchar_t *__cdecl _ultow(unsigned long _Value,wchar_t *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:377:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _strtoui64_l(const char *_String,char **_EndPtr,int _Radix,_locale_t _Locale); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:379:67: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP char *__cdecl _ltoa(long _Value,char *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:380:37: error: 'size_t' has not been declared int __cdecl mblen(const char *_Ch,size_t _MaxCount); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:381:48: error: 'size_t' has not been declared _CRTIMP int __cdecl _mblen_l(const char *_Ch,size_t _MaxCount,_locale_t _Locale); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:490:3: error: '__mingw_ovr' does not name a type; did you mean '__mingw_strtod'? __mingw_ovr ^~~~~~~~~~~ __mingw_strtod c:\mingw\x86_64-w64-mingw32\include\stdlib.h:382:11: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP size_t __cdecl _mbstrlen(const char *_Str); ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:383:11: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP size_t __cdecl _mbstrlen_l(const char *_Str,_locale_t _Locale); ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:384:11: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP size_t __cdecl _mbstrnlen(const char *_Str,size_t _MaxCount); ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:385:11: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP size_t __cdecl _mbstrnlen_l(const char *_Str,size_t _MaxCount,_locale_t _Locale); ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:494:3: error: '__mingw_ovr' does not name a type; did you mean '__mingw_strtod'? __mingw_ovr ^~~~~~~~~~~ __mingw_strtod c:\mingw\x86_64-w64-mingw32\include\stdlib.h:386:85: error: 'size_t' has not been declared int __cdecl mbtowc(wchar_t * __restrict__ _DstCh,const char * __restrict__ _SrcCh,size_t _SrcSizeInBytes); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:387:96: error: 'size_t' has not been declared _CRTIMP int __cdecl _mbtowc_l(wchar_t * __restrict__ _DstCh,const char * __restrict__ _SrcCh,size_t _SrcSizeInBytes,_locale_t _Locale); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:511:62: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP wchar_t *__cdecl _wgetenv(const wchar_t *_VarName) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:388:3: error: 'size_t' does not name a type; did you mean 'time_t'? size_t __cdecl mbstowcs(wchar_t * __restrict__ _Dest,const char * __restrict__ _Source,size_t _MaxCount); ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:389:11: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP size_t __cdecl _mbstowcs_l(wchar_t * __restrict__ _Dest,const char * __restrict__ _Source,size_t _MaxCount,_locale_t _Locale); ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:404:1: error: '__mingw_ovr' does not name a type __mingw_ovr ^~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:411:1: error: '__mingw_ovr' does not name a type __mingw_ovr ^~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:447:77: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP char *__cdecl _ultoa(unsigned long _Value,char *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:448:48: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' int __cdecl wctomb(char *_MbCh,wchar_t _WCh) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:449:77: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP int __cdecl _wctomb_l(char *_MbCh,wchar_t _WCh,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:450:3: error: 'size_t' does not name a type; did you mean 'time_t'? size_t __cdecl wcstombs(char * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:451:11: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP size_t __cdecl _wcstombs_l(char * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _MaxCount,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:455:24: error: 'size_t' was not declared in this scope void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:455:24: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:455:46: error: 'size_t' was not declared in this scope void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:455:46: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:455:68: error: expression list treated as compound expression in initializer [-fpermissive] void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:457:24: error: 'size_t' was not declared in this scope void *__cdecl malloc(size_t _Size); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:457:24: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:458:39: error: 'size_t' has not been declared void *__cdecl realloc(void *_Memory,size_t _NewSize); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:459:49: error: 'size_t' has not been declared _CRTIMP void *__cdecl _recalloc(void *_Memory,size_t _Count,size_t _Size); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:459:63: error: 'size_t' has not been declared _CRTIMP void *__cdecl _recalloc(void *_Memory,size_t _Count,size_t _Size); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:467:41: error: 'size_t' was not declared in this scope _CRTIMP void *__cdecl _aligned_malloc(size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:467:41: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:467:54: error: 'size_t' was not declared in this scope _CRTIMP void *__cdecl _aligned_malloc(size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:467:54: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:467:71: error: expression list treated as compound expression in initializer [-fpermissive] _CRTIMP void *__cdecl _aligned_malloc(size_t _Size,size_t _Alignment); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:48: error: 'size_t' was not declared in this scope _CRTIMP void *__cdecl _aligned_offset_malloc(size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:48: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:61: error: 'size_t' was not declared in this scope _CRTIMP void *__cdecl _aligned_offset_malloc(size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:61: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:79: error: 'size_t' was not declared in this scope _CRTIMP void *__cdecl _aligned_offset_malloc(size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:79: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:93: error: expression list treated as compound expression in initializer [-fpermissive] _CRTIMP void *__cdecl _aligned_offset_malloc(size_t _Size,size_t _Alignment,size_t _Offset); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:472:56: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_realloc(void *_Memory,size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:472:69: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_realloc(void *_Memory,size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:473:57: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:473:71: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:473:84: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:474:63: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_realloc(void *_Memory,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:474:76: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_realloc(void *_Memory,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:474:94: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_realloc(void *_Memory,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:475:64: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:475:78: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:475:91: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:475:109: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:481:72: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP wchar_t *__cdecl _itow(int _Value,wchar_t *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:482:73: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP wchar_t *__cdecl _ltow(long _Value,wchar_t *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:483:83: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP wchar_t *__cdecl _ultow(unsigned long _Value,wchar_t *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:523:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP wchar_t *__cdecl _i64tow(__int64 _Val,wchar_t *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:490:3: error: '__mingw_ovr' does not name a type; did you mean '__mingw_strtod'? __mingw_ovr ^~~~~~~~~~~ __mingw_strtod c:\mingw\x86_64-w64-mingw32\include\stdlib.h:494:3: error: '__mingw_ovr' does not name a type; did you mean '__mingw_strtod'? __mingw_ovr ^~~~~~~~~~~ __mingw_strtod c:\mingw\x86_64-w64-mingw32\include\stdlib.h:511:62: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP wchar_t *__cdecl _wgetenv(const wchar_t *_VarName) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:524:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP wchar_t *__cdecl _ui64tow(unsigned __int64 _Val,wchar_t *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:523:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP wchar_t *__cdecl _i64tow(__int64 _Val,wchar_t *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:525:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wtoi64(const wchar_t *_Str); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:524:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP wchar_t *__cdecl _ui64tow(unsigned __int64 _Val,wchar_t *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:525:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wtoi64(const wchar_t *_Str); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:526:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wtoi64_l(const wchar_t *_Str,_locale_t _Locale); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:526:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wtoi64_l(const wchar_t *_Str,_locale_t _Locale); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:527:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wcstoi64(const wchar_t *_Str,wchar_t **_EndPtr,int _Radix); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:527:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wcstoi64(const wchar_t *_Str,wchar_t **_EndPtr,int _Radix); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:528:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wcstoi64_l(const wchar_t *_Str,wchar_t **_EndPtr,int _Radix,_locale_t _Locale); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:529:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _wcstoui64(const wchar_t *_Str,wchar_t **_EndPtr,int _Radix); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:530:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _wcstoui64_l(const wchar_t *_Str ,wchar_t **_EndPtr,int _Radix,_locale_t _Locale); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:538:69: error: 'size_t' has not been declared _CRTIMP char *__cdecl _fullpath(char *_FullPath,const char *_Path,size_t _SizeInBytes); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:539:86: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP char *__cdecl _ecvt(double _Val,int _NumOfDigits,int *_PtDec,int *_PtSign) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:540:83: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP char *__cdecl _fcvt(double _Val,int _NumOfDec,int *_PtDec,int *_PtSign) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:541:75: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP char *__cdecl _gcvt(double _Val,int _NumOfDigits,char *_DstBuf) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:581:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION unsigned __int64 __cdecl _rotl64(unsigned __int64 _Val,int _Shift); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:528:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wcstoi64_l(const wchar_t *_Str,wchar_t **_EndPtr,int _Radix,_locale_t _Locale); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:582:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION unsigned __int64 __cdecl _rotr64(unsigned __int64 Value,int Shift); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:593:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION unsigned __int64 __cdecl _rotr64(unsigned __int64 _Val,int _Shift); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:594:96: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP void __cdecl _searchenv(const char *_Filename,const char *_EnvVar,char *_ResultPath) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:595:109: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP void __cdecl _splitpath(const char *_FullPath,char *_Drive,char *_Dir,char *_Filename,char *_Ext) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:600:79: error: 'size_t' has not been declared _CRTIMP wchar_t *__cdecl _wfullpath(wchar_t *_FullPath,const wchar_t *_Path,size_t _SizeInWords); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:606:106: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP void __cdecl _wsearchenv(const wchar_t *_Filename,const wchar_t *_EnvVar,wchar_t *_ResultPath) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:607:125: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP void __cdecl _wsplitpath(const wchar_t *_FullPath,wchar_t *_Drive,wchar_t *_Dir,wchar_t *_Filename,wchar_t *_Ext) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:634:77: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' char *__cdecl ecvt(double _Val,int _NumOfDigits,int *_PtDec,int *_PtSign) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:635:74: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' char *__cdecl fcvt(double _Val,int _NumOfDec,int *_PtDec,int *_PtSign) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:636:66: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' char *__cdecl gcvt(double _Val,int _NumOfDigits,char *_DstBuf) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:637:57: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' char *__cdecl itoa(int _Val,char *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:638:58: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' char *__cdecl ltoa(long _Val,char *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:639:46: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' int __cdecl putenv(const char *_EnvString) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:643:63: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' void __cdecl swab(char *_Buf1,char *_Buf2,int _SizeInBytes) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:646:68: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' char *__cdecl ultoa(unsigned long _Val,char *_Dstbuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:653:20: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? typedef struct { __MINGW_EXTENSION long long quot, rem; } lldiv_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:529:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _wcstoui64(const wchar_t *_Str,wchar_t **_EndPtr,int _Radix); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:655:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION lldiv_t __cdecl lldiv(long long, long long); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:657:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llabs(long long); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:659:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION __CRT_INLINE long long __cdecl llabs(long long _j) { return (_j >= 0 ? _j : -_j); } ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:530:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _wcstoui64_l(const wchar_t *_Str ,wchar_t **_EndPtr,int _Radix,_locale_t _Locale); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:538:69: error: 'size_t' has not been declared _CRTIMP char *__cdecl _fullpath(char *_FullPath,const char *_Path,size_t _SizeInBytes); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:539:86: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP char *__cdecl _ecvt(double _Val,int _NumOfDigits,int *_PtDec,int *_PtSign) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:540:83: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP char *__cdecl _fcvt(double _Val,int _NumOfDec,int *_PtDec,int *_PtSign) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:541:75: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP char *__cdecl _gcvt(double _Val,int _NumOfDigits,char *_DstBuf) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:581:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION unsigned __int64 __cdecl _rotl64(unsigned __int64 _Val,int _Shift); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:662:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl strtoll(const char * __restrict__, char ** __restrict, int); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:663:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION unsigned long long __cdecl strtoull(const char * __restrict__, char ** __restrict__, int); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:666:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl atoll (const char *); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/stdlib.h:169:39: error: conflicting declaration of C function 'int* __doserrno()' _CRTIMP __cdecl __MINGW_NOTHROW int *__doserrno(void); ^~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:156:34: note: previous declaration 'long unsigned int* __doserrno()' _CRTIMP unsigned long *__cdecl __doserrno(void); ^~~~~~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/stdlib.h:474:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t wcstombs (char *, const wchar_t *, size_t); ^~~~~~ time_t C:/MinGW/include/stdlib.h:477:59: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int mblen (const char *, size_t); ^~~~~~ C:/MinGW/include/stdlib.h:478:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t mbstowcs (wchar_t *, const char *, size_t); ^~~~~~ time_t C:/MinGW/include/stdlib.h:479:71: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int mbtowc (wchar_t *, const char *, size_t); ^~~~~~ C:/MinGW/include/stdlib.h:484:48: error: redefinition of 'void* calloc' _CRTIMP __cdecl __MINGW_NOTHROW void *calloc (size_t, size_t) __MINGW_ATTRIB_MALLOC; ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:455:17: note: 'void* calloc' previously defined here void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements); ^~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/stdlib.h:484:48: error: 'size_t' was not declared in this scope _CRTIMP __cdecl __MINGW_NOTHROW void *calloc (size_t, size_t) __MINGW_ATTRIB_MALLOC; ^~~~~~ C:/MinGW/include/stdlib.h:484:48: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/stdlib.h:484:56: error: 'size_t' was not declared in this scope _CRTIMP __cdecl __MINGW_NOTHROW void *calloc (size_t, size_t) __MINGW_ATTRIB_MALLOC; ^~~~~~ C:/MinGW/include/stdlib.h:484:56: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/stdlib.h:485:54: error: redefinition of 'void* malloc' _CRTIMP __cdecl __MINGW_NOTHROW void *malloc (size_t) __MINGW_ATTRIB_MALLOC; ^ In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:457:17: note: 'void* malloc' previously defined here void *__cdecl malloc(size_t _Size); ^~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/stdlib.h:485:48: error: 'size_t' was not declared in this scope _CRTIMP __cdecl __MINGW_NOTHROW void *malloc (size_t) __MINGW_ATTRIB_MALLOC; ^~~~~~ C:/MinGW/include/stdlib.h:485:48: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/stdlib.h:486:57: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW void *realloc (void *, size_t); ^~~~~~ C:/MinGW/include/stdlib.h:504:30: error: 'size_t' has not been declared (const void *, const void *, size_t, size_t, int (*)(const void *, const void *)); ^~~~~~ C:/MinGW/include/stdlib.h:504:38: error: 'size_t' has not been declared (const void *, const void *, size_t, size_t, int (*)(const void *, const void *)); ^~~~~~ C:/MinGW/include/stdlib.h:507:10: error: 'size_t' has not been declared (void *, size_t, size_t, int (*)(const void *, const void *)); ^~~~~~ C:/MinGW/include/stdlib.h:507:18: error: 'size_t' has not been declared (void *, size_t, size_t, int (*)(const void *, const void *)); ^~~~~~ C:/MinGW/include/stdlib.h:519:35: error: conflicting declaration 'typedef struct div_t div_t' typedef struct { int quot, rem; } div_t; ^~~~~ In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:62:5: note: previous declaration as 'typedef struct _div_t div_t' } div_t; ^~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/stdlib.h:520:36: error: conflicting declaration 'typedef struct ldiv_t ldiv_t' typedef struct { long quot, rem; } ldiv_t; ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:67:5: note: previous declaration as 'typedef struct _ldiv_t ldiv_t' } ldiv_t; ^~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/stdlib.h: In function 'void _Exit(int)': C:/MinGW/include/stdlib.h:653:31: error: redefinition of 'void _Exit(int)' __cdecl __MINGW_NOTHROW void _Exit( int __status ){ _exit (__status); } ^~~~~ In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:322:54: note: 'void _Exit(int)' previously defined here __CRT_INLINE __MINGW_ATTRIB_NORETURN void __cdecl _Exit(int status) ^~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/stdlib.h: At global scope: C:/MinGW/include/stdlib.h:656:41: error: conflicting declaration 'typedef struct lldiv_t lldiv_t' typedef struct { long long quot, rem; } lldiv_t; ^~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:653:61: note: previous declaration as 'typedef struct lldiv_t lldiv_t' typedef struct { __MINGW_EXTENSION long long quot, rem; } lldiv_t; ^~~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/malloc.h:30:2: error: 'size_t' does not name a type; did you mean 'time_t'? size_t _size; ^~~~~~ time_t C:/MinGW/include/malloc.h:72:9: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP size_t __cdecl __MINGW_NOTHROW _msize (void*); ^~~~~~ time_t C:/MinGW/include/malloc.h:73:9: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP size_t __cdecl __MINGW_NOTHROW _get_sbh_threshold (void); ^~~~~~ time_t C:/MinGW/include/malloc.h:74:57: error: 'size_t' was not declared in this scope _CRTIMP int __cdecl __MINGW_NOTHROW _set_sbh_threshold (size_t); ^~~~~~ C:/MinGW/include/malloc.h:74:57: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/malloc.h:75:55: error: 'size_t' has not been declared _CRTIMP void* __cdecl __MINGW_NOTHROW _expand (void*, size_t); ^~~~~~ C:/MinGW/include/malloc.h:90:63: error: 'size_t' was not declared in this scope void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_malloc (size_t, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:90:63: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/malloc.h:90:71: error: 'size_t' was not declared in this scope void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_malloc (size_t, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:90:71: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/malloc.h:90:79: error: 'size_t' was not declared in this scope void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_malloc (size_t, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:90:79: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/malloc.h:90:85: error: expression list treated as compound expression in initializer [-fpermissive] void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_malloc (size_t, size_t, size_t); ^ C:/MinGW/include/malloc.h:91:71: error: 'size_t' has not been declared void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_realloc (void*, size_t, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:91:79: error: 'size_t' has not been declared void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_realloc (void*, size_t, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:91:87: error: 'size_t' has not been declared void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_realloc (void*, size_t, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:93:56: error: 'size_t' was not declared in this scope void * __cdecl __MINGW_NOTHROW __mingw_aligned_malloc (size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:93:56: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/malloc.h:93:64: error: 'size_t' was not declared in this scope void * __cdecl __MINGW_NOTHROW __mingw_aligned_malloc (size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:93:64: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/malloc.h:93:70: error: expression list treated as compound expression in initializer [-fpermissive] void * __cdecl __MINGW_NOTHROW __mingw_aligned_malloc (size_t, size_t); ^ C:/MinGW/include/malloc.h:94:64: error: 'size_t' has not been declared void * __cdecl __MINGW_NOTHROW __mingw_aligned_realloc (void*, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:94:72: error: 'size_t' has not been declared void * __cdecl __MINGW_NOTHROW __mingw_aligned_realloc (void*, size_t, size_t); ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41:0, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\cstdlib:148:11: error: '::mbstowcs' has not been declared using ::mbstowcs; ^~~~~~~~ c:\mingw\include\c++\7.1.0\cstdlib:165:11: error: '::wcstombs' has not been declared using ::wcstombs; ^~~~~~~~ c:\mingw\include\c++\7.1.0\cstdlib: In function 'lldiv_t __gnu_cxx::div(long long int, long long int)': c:\mingw\include\c++\7.1.0\cstdlib:208:22: error: 'struct lldiv_t' has no member named 'quot' { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } ^~~~ c:\mingw\include\c++\7.1.0\cstdlib:208:44: error: 'struct lldiv_t' has no member named 'rem' { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } ^~~ In file included from c:\mingw\include\c++\7.1.0\cstdio:42:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:43, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/stdio.h: At global scope: C:/MinGW/include/stdio.h:295:71: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int setvbuf (FILE *, char *, int, size_t); ^~~~~~ C:/MinGW/include/stdio.h:309:54: error: 'size_t' has not been declared extern int __mingw_stdio_redirect__(snprintf)(char*, size_t, const char*, ...); ^~~~~~ C:/MinGW/include/stdio.h:313:55: error: 'size_t' has not been declared extern int __mingw_stdio_redirect__(vsnprintf)(char*, size_t, const char*, __VALIST); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:582:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION unsigned __int64 __cdecl _rotr64(unsigned __int64 Value,int Shift); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION C:/MinGW/include/stdio.h:397:31: error: 'size_t' has not been declared int snprintf (char *__stream, size_t __len, const char *__format, ...) ^~~~~~ C:/MinGW/include/stdio.h:425:32: error: 'size_t' has not been declared int vsnprintf (char *__stream, size_t __len, const char *__format, __VALIST __local_argv) ^~~~~~ C:/MinGW/include/stdio.h:458:57: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int _snprintf (char *, size_t, const char *, ...); ^~~~~~ C:/MinGW/include/stdio.h:459:58: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int _vsnprintf (char *, size_t, const char *, __VALIST); ^~~~~~ C:/MinGW/include/stdio.h:469:48: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW int snprintf (char *, size_t, const char *, ...); ^~~~~~ C:/MinGW/include/stdio.h:470:49: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW int vsnprintf (char *, size_t, const char *, __VALIST); ^~~~~~ C:/MinGW/include/stdio.h:698:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t fread (void *, size_t, size_t, FILE *); ^~~~~~ time_t C:/MinGW/include/stdio.h:699:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t fwrite (const void *, size_t, size_t, FILE *); ^~~~~~ time_t In file included from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:43:0, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\cstdio:113:11: error: '::fread' has not been declared using ::fread; ^~~~~ c:\mingw\include\c++\7.1.0\cstdio:119:11: error: '::fwrite' has not been declared using ::fwrite; ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:593:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION unsigned __int64 __cdecl _rotr64(unsigned __int64 _Val,int _Shift); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:594:96: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP void __cdecl _searchenv(const char *_Filename,const char *_EnvVar,char *_ResultPath) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:595:109: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP void __cdecl _splitpath(const char *_FullPath,char *_Drive,char *_Dir,char *_Filename,char *_Ext) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:600:79: error: 'size_t' has not been declared _CRTIMP wchar_t *__cdecl _wfullpath(wchar_t *_FullPath,const wchar_t *_Path,size_t _SizeInWords); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:606:106: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP void __cdecl _wsearchenv(const wchar_t *_Filename,const wchar_t *_EnvVar,wchar_t *_ResultPath) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:607:125: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP void __cdecl _wsplitpath(const wchar_t *_FullPath,wchar_t *_Drive,wchar_t *_Dir,wchar_t *_Filename,wchar_t *_Ext) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:634:77: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' char *__cdecl ecvt(double _Val,int _NumOfDigits,int *_PtDec,int *_PtSign) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:635:74: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' char *__cdecl fcvt(double _Val,int _NumOfDec,int *_PtDec,int *_PtSign) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:636:66: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' char *__cdecl gcvt(double _Val,int _NumOfDigits,char *_DstBuf) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:637:57: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' char *__cdecl itoa(int _Val,char *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:638:58: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' char *__cdecl ltoa(long _Val,char *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:639:46: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' int __cdecl putenv(const char *_EnvString) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:643:63: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' void __cdecl swab(char *_Buf1,char *_Buf2,int _SizeInBytes) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:646:68: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' char *__cdecl ultoa(unsigned long _Val,char *_Dstbuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:653:20: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? typedef struct { __MINGW_EXTENSION long long quot, rem; } lldiv_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6214:20: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), long long unsigned int, const char [3], int&)' "%d", __val); } ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6214:20: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%d", __val); } ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(unsigned int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6220:20: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), long long unsigned int, const char [3], unsigned int&)' "%u", __val); } ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6220:20: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%u", __val); } ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6225:21: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), long long unsigned int, const char [4], long int&)' "%ld", __val); } ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6225:21: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%ld", __val); } ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long unsigned int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6231:21: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), long long unsigned int, const char [4], long unsigned int&)' "%lu", __val); } ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6231:21: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%lu", __val); } ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:655:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION lldiv_t __cdecl lldiv(long long, long long); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long long int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6237:22: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), long long unsigned int, const char [5], long long int&)' "%lld", __val); } ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6237:22: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%lld", __val); } ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long long unsigned int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6243:22: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), long long unsigned int, const char [5], long long unsigned int&)' "%llu", __val); } ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6243:22: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%llu", __val); } ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(float)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6251:20: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), const int&, const char [3], float&)' "%f", __val); ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6251:20: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%f", __val); ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(double)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6260:20: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), const int&, const char [3], double&)' "%f", __val); ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6260:20: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%f", __val); ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long double)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6269:21: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), const int&, const char [4], long double&)' "%Lf", __val); ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6269:21: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%Lf", __val); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:657:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llabs(long long); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6316:51: error: 'vswprintf' is not a member of 'std' { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(int), ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6316:51: note: suggested alternative: 'isprint' { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(int), ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(unsigned int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6321:51: error: 'vswprintf' is not a member of 'std' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6321:51: note: suggested alternative: 'isprint' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6327:51: error: 'vswprintf' is not a member of 'std' { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(long), ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6327:51: note: suggested alternative: 'isprint' { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(long), ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long unsigned int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6332:51: error: 'vswprintf' is not a member of 'std' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6332:51: note: suggested alternative: 'isprint' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long long int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6338:51: error: 'vswprintf' is not a member of 'std' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6338:51: note: suggested alternative: 'isprint' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long long unsigned int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6344:51: error: 'vswprintf' is not a member of 'std' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6344:51: note: suggested alternative: 'isprint' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(float)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6353:51: error: 'vswprintf' is not a member of 'std' return __gnu_cxx::__to_xstring(&std::vswprintf, __n, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6353:51: note: suggested alternative: 'isprint' return __gnu_cxx::__to_xstring(&std::vswprintf, __n, ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(double)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6362:51: error: 'vswprintf' is not a member of 'std' return __gnu_cxx::__to_xstring(&std::vswprintf, __n, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6362:51: note: suggested alternative: 'isprint' return __gnu_cxx::__to_xstring(&std::vswprintf, __n, ^~~~~~~~~ isprint c:\mingw\x86_64-w64-mingw32\include\stdlib.h:659:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION __CRT_INLINE long long __cdecl llabs(long long _j) { return (_j >= 0 ? _j : -_j); } ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long double)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6371:51: error: 'vswprintf' is not a member of 'std' return __gnu_cxx::__to_xstring(&std::vswprintf, __n, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6371:51: note: suggested alternative: 'isprint' return __gnu_cxx::__to_xstring(&std::vswprintf, __n, ^~~~~~~~~ isprint c:\mingw\x86_64-w64-mingw32\include\stdlib.h:662:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl strtoll(const char * __restrict__, char ** __restrict, int); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:663:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION unsigned long long __cdecl strtoull(const char * __restrict__, char ** __restrict__, int); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:666:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl atoll (const char *); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION In file included from c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\stddef.h:1:0, from C:/MinGW/include/stdlib.h:55, from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stddef.h:26:18: error: 'uintptr_t' does not name a type; did you mean '__uintptr_t'? _CRTIMP extern uintptr_t __cdecl __threadhandle(void); ^~~~~~~~~ __uintptr_t In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/stdlib.h:169:39: error: conflicting declaration of C function 'int* __doserrno()' _CRTIMP __cdecl __MINGW_NOTHROW int *__doserrno(void); ^~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:156:34: note: previous declaration 'long unsigned int* __doserrno()' _CRTIMP unsigned long *__cdecl __doserrno(void); ^~~~~~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/stdlib.h:468:50: error: 'size_t' has not been declared wchar_t *_wfullpath (wchar_t *, const wchar_t *, size_t); ^~~~~~ C:/MinGW/include/stdlib.h:474:34: error: 'size_t' does not name a type; did you mean 'div_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t wcstombs (char *, const wchar_t *, size_t); ^~~~~~ div_t C:/MinGW/include/stdlib.h:477:59: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int mblen (const char *, size_t); ^~~~~~ C:/MinGW/include/stdlib.h:478:34: error: 'size_t' does not name a type; did you mean 'div_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t mbstowcs (wchar_t *, const char *, size_t); ^~~~~~ div_t C:/MinGW/include/stdlib.h:479:71: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int mbtowc (wchar_t *, const char *, size_t); ^~~~~~ C:/MinGW/include/stdlib.h:484:48: error: redefinition of 'void* calloc' _CRTIMP __cdecl __MINGW_NOTHROW void *calloc (size_t, size_t) __MINGW_ATTRIB_MALLOC; ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:455:17: note: 'void* calloc' previously defined here void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements); ^~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/stdlib.h:484:48: error: 'size_t' was not declared in this scope _CRTIMP __cdecl __MINGW_NOTHROW void *calloc (size_t, size_t) __MINGW_ATTRIB_MALLOC; ^~~~~~ C:/MinGW/include/stdlib.h:484:48: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/stdlib.h:484:56: error: 'size_t' was not declared in this scope _CRTIMP __cdecl __MINGW_NOTHROW void *calloc (size_t, size_t) __MINGW_ATTRIB_MALLOC; ^~~~~~ C:/MinGW/include/stdlib.h:484:56: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/stdlib.h:485:54: error: redefinition of 'void* malloc' _CRTIMP __cdecl __MINGW_NOTHROW void *malloc (size_t) __MINGW_ATTRIB_MALLOC; ^ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:457:17: note: 'void* malloc' previously defined here void *__cdecl malloc(size_t _Size); ^~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/stdlib.h:485:48: error: 'size_t' was not declared in this scope _CRTIMP __cdecl __MINGW_NOTHROW void *malloc (size_t) __MINGW_ATTRIB_MALLOC; ^~~~~~ C:/MinGW/include/stdlib.h:485:48: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/stdlib.h:486:57: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW void *realloc (void *, size_t); ^~~~~~ C:/MinGW/include/stdlib.h:504:30: error: 'size_t' has not been declared (const void *, const void *, size_t, size_t, int (*)(const void *, const void *)); ^~~~~~ C:/MinGW/include/stdlib.h:504:38: error: 'size_t' has not been declared (const void *, const void *, size_t, size_t, int (*)(const void *, const void *)); ^~~~~~ C:/MinGW/include/stdlib.h:507:10: error: 'size_t' has not been declared (void *, size_t, size_t, int (*)(const void *, const void *)); ^~~~~~ C:/MinGW/include/stdlib.h:507:18: error: 'size_t' has not been declared (void *, size_t, size_t, int (*)(const void *, const void *)); ^~~~~~ C:/MinGW/include/stdlib.h:519:35: error: conflicting declaration 'typedef struct div_t div_t' typedef struct { int quot, rem; } div_t; ^~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:62:5: note: previous declaration as 'typedef struct _div_t div_t' } div_t; ^~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/stdlib.h:520:36: error: conflicting declaration 'typedef struct ldiv_t ldiv_t' typedef struct { long quot, rem; } ldiv_t; ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:67:5: note: previous declaration as 'typedef struct _ldiv_t ldiv_t' } ldiv_t; ^~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/stdlib.h: In function 'void _Exit(int)': C:/MinGW/include/stdlib.h:653:31: error: redefinition of 'void _Exit(int)' __cdecl __MINGW_NOTHROW void _Exit( int __status ){ _exit (__status); } ^~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:322:54: note: 'void _Exit(int)' previously defined here __CRT_INLINE __MINGW_ATTRIB_NORETURN void __cdecl _Exit(int status) ^~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/stdlib.h: At global scope: C:/MinGW/include/stdlib.h:656:41: error: conflicting declaration 'typedef struct lldiv_t lldiv_t' typedef struct { long long quot, rem; } lldiv_t; ^~~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38:0, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:653:61: note: previous declaration as 'typedef struct lldiv_t lldiv_t' typedef struct { __MINGW_EXTENSION long long quot, rem; } lldiv_t; ^~~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/malloc.h:30:2: error: 'size_t' does not name a type; did you mean 'div_t'? size_t _size; ^~~~~~ div_t C:/MinGW/include/malloc.h:72:9: error: 'size_t' does not name a type; did you mean 'div_t'? _CRTIMP size_t __cdecl __MINGW_NOTHROW _msize (void*); ^~~~~~ div_t C:/MinGW/include/malloc.h:73:9: error: 'size_t' does not name a type; did you mean 'div_t'? _CRTIMP size_t __cdecl __MINGW_NOTHROW _get_sbh_threshold (void); ^~~~~~ div_t C:/MinGW/include/malloc.h:74:57: error: 'size_t' was not declared in this scope _CRTIMP int __cdecl __MINGW_NOTHROW _set_sbh_threshold (size_t); ^~~~~~ C:/MinGW/include/malloc.h:74:57: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/malloc.h:75:55: error: 'size_t' has not been declared _CRTIMP void* __cdecl __MINGW_NOTHROW _expand (void*, size_t); ^~~~~~ C:/MinGW/include/malloc.h:90:63: error: 'size_t' was not declared in this scope void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_malloc (size_t, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:90:63: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/malloc.h:90:71: error: 'size_t' was not declared in this scope void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_malloc (size_t, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:90:71: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/malloc.h:90:79: error: 'size_t' was not declared in this scope void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_malloc (size_t, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:90:79: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/malloc.h:90:85: error: expression list treated as compound expression in initializer [-fpermissive] void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_malloc (size_t, size_t, size_t); ^ C:/MinGW/include/malloc.h:91:71: error: 'size_t' has not been declared void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_realloc (void*, size_t, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:91:79: error: 'size_t' has not been declared void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_realloc (void*, size_t, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:91:87: error: 'size_t' has not been declared void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_realloc (void*, size_t, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:93:56: error: 'size_t' was not declared in this scope void * __cdecl __MINGW_NOTHROW __mingw_aligned_malloc (size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:93:56: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/malloc.h:93:64: error: 'size_t' was not declared in this scope void * __cdecl __MINGW_NOTHROW __mingw_aligned_malloc (size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:93:64: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/malloc.h:93:70: error: expression list treated as compound expression in initializer [-fpermissive] void * __cdecl __MINGW_NOTHROW __mingw_aligned_malloc (size_t, size_t); ^ C:/MinGW/include/malloc.h:94:64: error: 'size_t' has not been declared void * __cdecl __MINGW_NOTHROW __mingw_aligned_realloc (void*, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:94:72: error: 'size_t' has not been declared void * __cdecl __MINGW_NOTHROW __mingw_aligned_realloc (void*, size_t, size_t); ^~~~~~ In file included from E:\project\SIFT-master\sift.hpp:4:0, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\cmath:1136:11: error: '::hypot' has not been declared using ::hypot; ^~~~~ c:\mingw\include\c++\7.1.0\cmath:1149:11: error: '::llrint' has not been declared using ::llrint; ^~~~~~ c:\mingw\include\c++\7.1.0\cmath:1150:11: error: '::llrintf' has not been declared using ::llrintf; ^~~~~~~ c:\mingw\include\c++\7.1.0\cmath:1151:11: error: '::llrintl' has not been declared using ::llrintl; ^~~~~~~ c:\mingw\include\c++\7.1.0\cmath:1153:11: error: '::llround' has not been declared using ::llround; ^~~~~~~ c:\mingw\include\c++\7.1.0\cmath:1154:11: error: '::llroundf' has not been declared using ::llroundf; ^~~~~~~~ c:\mingw\include\c++\7.1.0\cmath:1155:11: error: '::llroundl' has not been declared using ::llroundl; ^~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\exception_ptr.h:38:0, from c:\mingw\include\c++\7.1.0\exception:142, from c:\mingw\include\c++\7.1.0\stdexcept:38, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\bits\cxxabi_init_exception.h:63:32: error: 'size_t' was not declared in this scope __cxa_allocate_exception(size_t) _GLIBCXX_NOTHROW; ^~~~~~ c:\mingw\include\c++\7.1.0\bits\cxxabi_init_exception.h:63:32: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\exception:142:0, from c:\mingw\include\c++\7.1.0\stdexcept:38, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\bits\exception_ptr.h: In function 'std::__exception_ptr::exception_ptr std::make_exception_ptr(_Ex)': c:\mingw\include\c++\7.1.0\bits\exception_ptr.h:185:71: error: '__cxxabiv1::__cxa_allocate_exception' cannot be used as a function void *__e = __cxxabiv1::__cxa_allocate_exception(sizeof(_Ex)); ^ In file included from C:/MinGW/include/wchar.h:83:0, from c:\mingw\include\c++\7.1.0\cwchar:44, from c:\mingw\include\c++\7.1.0\bits\postypes.h:40, from c:\mingw\include\c++\7.1.0\bits\char_traits.h:40, from c:\mingw\include\c++\7.1.0\string:40, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/stdio.h: At global scope: C:/MinGW/include/stdio.h:926:64: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int _snwprintf (wchar_t *, size_t, const wchar_t *, ...); ^~~~~~ C:/MinGW/include/stdio.h:928:65: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int _vsnwprintf (wchar_t *, size_t, const wchar_t *, __VALIST); ^~~~~~ C:/MinGW/include/stdio.h:970:52: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW int snwprintf (wchar_t *, size_t, const wchar_t *, ...); ^~~~~~ C:/MinGW/include/stdio.h:971:53: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW int vsnwprintf (wchar_t *, size_t, const wchar_t *, __VALIST); ^~~~~~ C:/MinGW/include/stdio.h:976:31: error: 'size_t' has not been declared int vsnwprintf (wchar_t *__s, size_t __n, const wchar_t *__fmt, __VALIST __arg) ^~~~~~ In file included from C:/MinGW/include/wchar.h:290:0, from c:\mingw\include\c++\7.1.0\cwchar:44, from c:\mingw\include\c++\7.1.0\bits\postypes.h:40, from c:\mingw\include\c++\7.1.0\bits\char_traits.h:40, from c:\mingw\include\c++\7.1.0\string:40, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/time.h:496:1: error: 'size_t' does not name a type; did you mean 'time_t'? size_t wcsftime (wchar_t *, size_t, const wchar_t *, const struct tm *); ^~~~~~ time_t In file included from c:\mingw\include\c++\7.1.0\cwchar:44:0, from c:\mingw\include\c++\7.1.0\bits\postypes.h:40, from c:\mingw\include\c++\7.1.0\bits\char_traits.h:40, from c:\mingw\include\c++\7.1.0\string:40, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/wchar.h:397:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t wcscspn (const wchar_t *, const wchar_t *); ^~~~~~ time_t C:/MinGW/include/wchar.h:398:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t wcslen (const wchar_t *); ^~~~~~ time_t C:/MinGW/include/wchar.h:399:80: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW wchar_t *wcsncat (wchar_t *, const wchar_t *, size_t); ^~~~~~ C:/MinGW/include/wchar.h:400:81: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int wcsncmp (const wchar_t *, const wchar_t *, size_t); ^~~~~~ C:/MinGW/include/wchar.h:401:80: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW wchar_t *wcsncpy (wchar_t *, const wchar_t *, size_t); ^~~~~~ C:/MinGW/include/wchar.h:404:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t wcsspn (const wchar_t *, const wchar_t *); ^~~~~~ time_t C:/MinGW/include/wchar.h:407:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t wcsxfrm (wchar_t *, const wchar_t *, size_t); ^~~~~~ time_t C:/MinGW/include/wchar.h:522:1: error: 'size_t' does not name a type; did you mean 'time_t'? size_t mbrlen (const char *__restrict__, size_t, mbstate_t *__restrict__); ^~~~~~ time_t C:/MinGW/include/wchar.h:524:26: error: 'size_t' does not name a type; did you mean 'time_t'? __cdecl __MINGW_NOTHROW size_t mbrtowc ^~~~~~ time_t C:/MinGW/include/wchar.h:527:26: error: 'size_t' does not name a type; did you mean 'time_t'? __cdecl __MINGW_NOTHROW size_t mbsrtowcs ^~~~~~ time_t C:/MinGW/include/wchar.h:531:1: error: 'size_t' does not name a type; did you mean 'time_t'? size_t wcrtomb (char * __restrict__, wchar_t, mbstate_t *__restrict__); ^~~~~~ time_t C:/MinGW/include/wchar.h:533:26: error: 'size_t' does not name a type; did you mean 'time_t'? __cdecl __MINGW_NOTHROW size_t wcsrtombs ^~~~~~ time_t C:/MinGW/include/wchar.h:555:64: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW wchar_t *wmemset (wchar_t *, wchar_t, size_t); ^~~~~~ C:/MinGW/include/wchar.h:556:70: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW wchar_t *wmemchr (const wchar_t *, wchar_t, size_t); ^~~~~~ C:/MinGW/include/wchar.h:562:48: error: 'size_t' has not been declared int wmemcmp (const wchar_t *, const wchar_t *, size_t); ^~~~~~ C:/MinGW/include/wchar.h:565:71: error: 'size_t' has not been declared wchar_t *wmemcpy (wchar_t *__restrict__, const wchar_t *__restrict__, size_t); ^~~~~~ C:/MinGW/include/wchar.h:567:73: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW wchar_t *wmemmove (wchar_t *, const wchar_t *, size_t); ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\postypes.h:40:0, from c:\mingw\include\c++\7.1.0\bits\char_traits.h:40, from c:\mingw\include\c++\7.1.0\string:40, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\cwchar:151:11: error: '::mbrlen' has not been declared using ::mbrlen; ^~~~~~ c:\mingw\include\c++\7.1.0\cwchar:152:11: error: '::mbrtowc' has not been declared using ::mbrtowc; ^~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:154:11: error: '::mbsrtowcs' has not been declared using ::mbsrtowcs; ^~~~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:158:11: error: '::swprintf' has not been declared using ::swprintf; ^~~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:167:11: error: '::vswprintf' has not been declared using ::vswprintf; ^~~~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:176:11: error: '::wcrtomb' has not been declared using ::wcrtomb; ^~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:181:11: error: '::wcscspn' has not been declared using ::wcscspn; ^~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:182:11: error: '::wcsftime' has not been declared using ::wcsftime; ^~~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:183:11: error: '::wcslen' has not been declared using ::wcslen; ^~~~~~ c:\mingw\include\c++\7.1.0\cwchar:187:11: error: '::wcsrtombs' has not been declared using ::wcsrtombs; ^~~~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:188:11: error: '::wcsspn' has not been declared using ::wcsspn; ^~~~~~ c:\mingw\include\c++\7.1.0\cwchar:196:11: error: '::wcsxfrm' has not been declared using ::wcsxfrm; ^~~~~~~ In file included from c:\mingw\include\c++\7.1.0\string:40:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\bits\char_traits.h: In static member function 'static std::size_t std::char_traits::length(const char_type*)': c:\mingw\include\c++\7.1.0\bits\char_traits.h:360:16: error: 'wcslen' was not declared in this scope { return wcslen(__s); } ^~~~~~ c:\mingw\include\c++\7.1.0\bits\char_traits.h:360:16: note: suggested alternative: 'wcsstr' { return wcslen(__s); } ^~~~~~ wcsstr In file included from C:/MinGW/include/ctype.h:59:0, from c:\mingw\include\c++\7.1.0\cctype:42, from c:\mingw\include\c++\7.1.0\bits\localefwd.h:42, from c:\mingw\include\c++\7.1.0\string:43, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/wctype.h: At global scope: C:/MinGW/include/wctype.h:89:18: error: conflicting declaration 'typedef wchar_t wctype_t' typedef wchar_t wctype_t; ^~~~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\math.h:13:0, from c:\mingw\include\c++\7.1.0\cmath:45, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:107:24: note: previous declaration as 'typedef short unsigned int wctype_t' typedef unsigned short wctype_t; ^~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41:0, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\cstdlib:148:11: error: '::mbstowcs' has not been declared using ::mbstowcs; ^~~~~~~~ c:\mingw\include\c++\7.1.0\cstdlib:165:11: error: '::wcstombs' has not been declared using ::wcstombs; ^~~~~~~~ c:\mingw\include\c++\7.1.0\cstdlib: In function 'lldiv_t __gnu_cxx::div(long long int, long long int)': c:\mingw\include\c++\7.1.0\cstdlib:208:22: error: 'struct lldiv_t' has no member named 'quot' { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } ^~~~ c:\mingw\include\c++\7.1.0\cstdlib:208:44: error: 'struct lldiv_t' has no member named 'rem' { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } ^~~ In file included from c:\mingw\include\c++\7.1.0\cstdio:42:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:43, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/stdio.h: At global scope: C:/MinGW/include/stdio.h:295:71: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int setvbuf (FILE *, char *, int, size_t); ^~~~~~ C:/MinGW/include/stdio.h:309:54: error: 'size_t' has not been declared extern int __mingw_stdio_redirect__(snprintf)(char*, size_t, const char*, ...); ^~~~~~ C:/MinGW/include/stdio.h:313:55: error: 'size_t' has not been declared extern int __mingw_stdio_redirect__(vsnprintf)(char*, size_t, const char*, __VALIST); ^~~~~~ C:/MinGW/include/stdio.h:397:31: error: 'size_t' has not been declared int snprintf (char *__stream, size_t __len, const char *__format, ...) ^~~~~~ C:/MinGW/include/stdio.h:425:32: error: 'size_t' has not been declared int vsnprintf (char *__stream, size_t __len, const char *__format, __VALIST __local_argv) ^~~~~~ C:/MinGW/include/stdio.h:458:57: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int _snprintf (char *, size_t, const char *, ...); ^~~~~~ C:/MinGW/include/stdio.h:459:58: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int _vsnprintf (char *, size_t, const char *, __VALIST); ^~~~~~ C:/MinGW/include/stdio.h:469:48: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW int snprintf (char *, size_t, const char *, ...); ^~~~~~ C:/MinGW/include/stdio.h:470:49: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW int vsnprintf (char *, size_t, const char *, __VALIST); ^~~~~~ C:/MinGW/include/stdio.h:698:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t fread (void *, size_t, size_t, FILE *); ^~~~~~ time_t C:/MinGW/include/stdio.h:699:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t fwrite (const void *, size_t, size_t, FILE *); ^~~~~~ time_t In file included from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:43:0, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\cstdio:113:11: error: '::fread' has not been declared using ::fread; ^~~~~ c:\mingw\include\c++\7.1.0\cstdio:119:11: error: '::fwrite' has not been declared using ::fwrite; ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6214:20: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), long long unsigned int, const char [3], int&)' "%d", __val); } ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6214:20: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%d", __val); } ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(unsigned int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6220:20: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), long long unsigned int, const char [3], unsigned int&)' "%u", __val); } ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6220:20: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%u", __val); } ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6225:21: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), long long unsigned int, const char [4], long int&)' "%ld", __val); } ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6225:21: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%ld", __val); } ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long unsigned int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6231:21: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), long long unsigned int, const char [4], long unsigned int&)' "%lu", __val); } ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6231:21: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%lu", __val); } ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long long int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6237:22: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), long long unsigned int, const char [5], long long int&)' "%lld", __val); } ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6237:22: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%lld", __val); } ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long long unsigned int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6243:22: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), long long unsigned int, const char [5], long long unsigned int&)' "%llu", __val); } ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6243:22: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%llu", __val); } ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(float)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6251:20: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), const int&, const char [3], float&)' "%f", __val); ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6251:20: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%f", __val); ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(double)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6260:20: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), const int&, const char [3], double&)' "%f", __val); ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6260:20: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%f", __val); ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long double)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6269:21: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), const int&, const char [4], long double&)' "%Lf", __val); ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6269:21: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%Lf", __val); ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6316:51: error: 'vswprintf' is not a member of 'std' { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(int), ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6316:51: note: suggested alternative: 'isprint' { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(int), ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(unsigned int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6321:51: error: 'vswprintf' is not a member of 'std' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6321:51: note: suggested alternative: 'isprint' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6327:51: error: 'vswprintf' is not a member of 'std' { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(long), ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6327:51: note: suggested alternative: 'isprint' { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(long), ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long unsigned int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6332:51: error: 'vswprintf' is not a member of 'std' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6332:51: note: suggested alternative: 'isprint' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long long int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6338:51: error: 'vswprintf' is not a member of 'std' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6338:51: note: suggested alternative: 'isprint' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long long unsigned int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6344:51: error: 'vswprintf' is not a member of 'std' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6344:51: note: suggested alternative: 'isprint' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(float)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6353:51: error: 'vswprintf' is not a member of 'std' return __gnu_cxx::__to_xstring(&std::vswprintf, __n, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6353:51: note: suggested alternative: 'isprint' return __gnu_cxx::__to_xstring(&std::vswprintf, __n, ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(double)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6362:51: error: 'vswprintf' is not a member of 'std' return __gnu_cxx::__to_xstring(&std::vswprintf, __n, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6362:51: note: suggested alternative: 'isprint' return __gnu_cxx::__to_xstring(&std::vswprintf, __n, ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long double)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6371:51: error: 'vswprintf' is not a member of 'std' return __gnu_cxx::__to_xstring(&std::vswprintf, __n, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6371:51: note: suggested alternative: 'isprint' return __gnu_cxx::__to_xstring(&std::vswprintf, __n, ^~~~~~~~~ isprint In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from c:\mingw\include\c++\7.1.0\complex:44, from C:/library/vigra/vigra-1.11.1/include/vigra/numerictraits.hxx:43, from C:/library/vigra/vigra-1.11.1/include/vigra/accessor.hxx:40, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:42, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h: At global scope: c:\mingw\x86_64-w64-mingw32\include\math.h:122:5: error: '__C89_NAMELESS' does not name a type; did you mean '__CRT_ALIAS'? __C89_NAMELESS struct { ^~~~~~~~~~~~~~ __CRT_ALIAS c:\mingw\x86_64-w64-mingw32\include\math.h:124:7: error: 'lh' does not name a type } lh; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:135:5: error: '__C89_NAMELESS' does not name a type; did you mean '__CRT_ALIAS'? __C89_NAMELESS struct { ^~~~~~~~~~~~~~ __CRT_ALIAS c:\mingw\x86_64-w64-mingw32\include\math.h:140:7: error: 'lh' does not name a type } lh; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:156:43: error: conflicting declaration 'double* __MINGW_IMP_SYMBOL' extern double * __MINGW_IMP_SYMBOL(_HUGE); ^ In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from c:\mingw\include\c++\7.1.0\tuple:39, from c:\mingw\include\c++\7.1.0\bits\unique_ptr.h:37, from c:\mingw\include\c++\7.1.0\memory:80, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from c:\mingw\include\c++\7.1.0\complex:44, from C:/library/vigra/vigra-1.11.1/include/vigra/numerictraits.hxx:43, from C:/library/vigra/vigra-1.11.1/include/vigra/accessor.hxx:40, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:42, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:156:38: error: '_HUGE' was not declared in this scope extern double * __MINGW_IMP_SYMBOL(_HUGE); ^~~~~ c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'int __fpclassifyl(long double)': c:\mingw\x86_64-w64-mingw32\include\math.h:417:18: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' e = hlp.ldt->lh.sign_exponent & 0x7fff; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:420:35: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' unsigned int h = hlp.ldt->lh.high; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:421:24: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' if (!(hlp.ldt->lh.low | h)) ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:427:26: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' return (((hlp.ldt->lh.high & 0x7fffffff) | hlp.ldt->lh.low) == 0 ? ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:427:59: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' return (((hlp.ldt->lh.high & 0x7fffffff) | hlp.ldt->lh.low) == 0 ? ^~ c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'int __fpclassify(double)': c:\mingw\x86_64-w64-mingw32\include\math.h:444:18: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' h = hlp.ldt->lh.high; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:445:18: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' l = hlp.ldt->lh.low | (h & 0xfffff); ^~ c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'int __isnan(double)': c:\mingw\x86_64-w64-mingw32\include\math.h:532:17: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh' l = hlp.dt->lh.low; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:533:17: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh' h = hlp.dt->lh.high & 0x7fffffff; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'int __isnanl(long double)': c:\mingw\x86_64-w64-mingw32\include\math.h:572:24: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' signexp = (ld.ldt->lh.sign_exponent & 0x7fff) << 1; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:573:25: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' xx = (int) (ld.ldt->lh.low | (ld.ldt->lh.high & 0x7fffffffu)); /* explicit */ ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:573:43: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' xx = (int) (ld.ldt->lh.low | (ld.ldt->lh.high & 0x7fffffffu)); /* explicit */ ^~ c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'int __signbit(double)': c:\mingw\x86_64-w64-mingw32\include\math.h:616:22: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh' return ((hlp.dt->lh.high & 0x80000000) != 0); ^~ c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'int __signbitl(long double)': c:\mingw\x86_64-w64-mingw32\include\math.h:640:22: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' return ((ld.ldt->lh.sign_exponent & 0x8000) != 0); ^~ c:\mingw\x86_64-w64-mingw32\include\math.h: At global scope: c:\mingw\x86_64-w64-mingw32\include\math.h:882:48: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' extern double __cdecl hypot (double, double) __MINGW_ATTRIB_DEPRECATED_MSVC2005; /* in libmoldname.a */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'float hypotf(float, float)': c:\mingw\x86_64-w64-mingw32\include\math.h:885:73: error: 'hypot' was not declared in this scope __CRT_INLINE float __cdecl hypotf (float x, float y) { return (float) hypot ((double)x, (double)y);} ^~~~~ c:\mingw\x86_64-w64-mingw32\include\math.h:885:73: note: suggested alternative: 'hypotf' __CRT_INLINE float __cdecl hypotf (float x, float y) { return (float) hypot ((double)x, (double)y);} ^~~~~ hypotf c:\mingw\x86_64-w64-mingw32\include\math.h: At global scope: c:\mingw\x86_64-w64-mingw32\include\math.h:946:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llrint (double); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\math.h:947:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llrintf (float); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\math.h:948:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llrintl (long double); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\math.h:1038:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llround (double); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\math.h:1039:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llroundf (float); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\math.h:1040:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llroundl (long double); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'double copysign(double, double)': c:\mingw\x86_64-w64-mingw32\include\math.h:1073:8: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh' hx.lh.high = (hx.lh.high & 0x7fffffff) | (hy.lh.high & 0x80000000); ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:1073:22: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh' hx.lh.high = (hx.lh.high & 0x7fffffff) | (hy.lh.high & 0x80000000); ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:1073:50: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh' hx.lh.high = (hx.lh.high & 0x7fffffff) | (hy.lh.high & 0x80000000); ^~ In file included from c:\mingw\include\c++\7.1.0\complex:44:0, from C:/library/vigra/vigra-1.11.1/include/vigra/numerictraits.hxx:43, from C:/library/vigra/vigra-1.11.1/include/vigra/accessor.hxx:40, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:42, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\cmath: At global scope: c:\mingw\include\c++\7.1.0\cmath:1136:11: error: '::hypot' has not been declared using ::hypot; ^~~~~ c:\mingw\include\c++\7.1.0\cmath:1149:11: error: '::llrint' has not been declared using ::llrint; ^~~~~~ c:\mingw\include\c++\7.1.0\cmath:1150:11: error: '::llrintf' has not been declared using ::llrintf; ^~~~~~~ c:\mingw\include\c++\7.1.0\cmath:1151:11: error: '::llrintl' has not been declared using ::llrintl; ^~~~~~~ c:\mingw\include\c++\7.1.0\cmath:1153:11: error: '::llround' has not been declared using ::llround; ^~~~~~~ c:\mingw\include\c++\7.1.0\cmath:1154:11: error: '::llroundf' has not been declared using ::llroundf; ^~~~~~~~ c:\mingw\include\c++\7.1.0\cmath:1155:11: error: '::llroundl' has not been declared using ::llroundl; ^~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\system_error:39:0, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:46, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\istream:38, from c:\mingw\include\c++\7.1.0\sstream:38, from c:\mingw\include\c++\7.1.0\complex:45, from C:/library/vigra/vigra-1.11.1/include/vigra/numerictraits.hxx:43, from C:/library/vigra/vigra-1.11.1/include/vigra/accessor.hxx:40, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:42, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:44:40: error: 'EAFNOSUPPORT' was not declared in this scope address_family_not_supported = EAFNOSUPPORT, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:45:28: error: 'EADDRINUSE' was not declared in this scope address_in_use = EADDRINUSE, ^~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:46:34: error: 'EADDRNOTAVAIL' was not declared in this scope address_not_available = EADDRNOTAVAIL, ^~~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:47:30: error: 'EISCONN' was not declared in this scope already_connected = EISCONN, ^~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:56:31: error: 'ECONNABORTED' was not declared in this scope connection_aborted = ECONNABORTED, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:57:42: error: 'EALREADY' was not declared in this scope connection_already_in_progress = EALREADY, ^~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:57:42: note: suggested alternative: '_IOREAD' connection_already_in_progress = EALREADY, ^~~~~~~~ _IOREAD c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:58:31: error: 'ECONNREFUSED' was not declared in this scope connection_refused = ECONNREFUSED, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:59:29: error: 'ECONNRESET' was not declared in this scope connection_reset = ECONNRESET, ^~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:61:40: error: 'EDESTADDRREQ' was not declared in this scope destination_address_required = EDESTADDRREQ, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:69:29: error: 'EHOSTUNREACH' was not declared in this scope host_unreachable = EHOSTUNREACH, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:80:26: error: 'EMSGSIZE' was not declared in this scope message_size = EMSGSIZE, ^~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:80:26: note: suggested alternative: 'ESPIPE' message_size = EMSGSIZE, ^~~~~~~~ ESPIPE c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:81:26: error: 'ENETDOWN' was not declared in this scope network_down = ENETDOWN, ^~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:81:26: note: suggested alternative: 'ENOTDIR' network_down = ENETDOWN, ^~~~~~~~ ENOTDIR c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:82:27: error: 'ENETRESET' was not declared in this scope network_reset = ENETRESET, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:83:32: error: 'ENETUNREACH' was not declared in this scope network_unreachable = ENETUNREACH, ^~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:84:28: error: 'ENOBUFS' was not declared in this scope no_buffer_space = ENOBUFS, ^~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:84:28: note: suggested alternative: 'EROFS' no_buffer_space = ENOBUFS, ^~~~~~~ EROFS c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:98:31: error: 'ENOPROTOOPT' was not declared in this scope no_protocol_option = ENOPROTOOPT, ^~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:110:26: error: 'ENOTSOCK' was not declared in this scope not_a_socket = ENOTSOCK, ^~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:110:26: note: suggested alternative: 'ENOSPC' not_a_socket = ENOTSOCK, ^~~~~~~~ ENOSPC c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:114:27: error: 'ENOTCONN' was not declared in this scope not_connected = ENOTCONN, ^~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:114:27: note: suggested alternative: 'ENOTTY' not_connected = ENOTCONN, ^~~~~~~~ ENOTTY c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:117:27: error: 'ENOTSUP' was not declared in this scope not_supported = ENOTSUP, ^~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:117:27: note: suggested alternative: 'ENOTTY' not_supported = ENOTSUP, ^~~~~~~ ENOTTY c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:119:31: error: 'ECANCELED' was not declared in this scope operation_canceled = ECANCELED, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:120:34: error: 'EINPROGRESS' was not declared in this scope operation_in_progress = EINPROGRESS, ^~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:124:35: error: 'EOPNOTSUPP' was not declared in this scope operation_not_supported = EOPNOTSUPP, ^~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:124:35: note: suggested alternative: 'POINT_HPP' operation_not_supported = EOPNOTSUPP, ^~~~~~~~~~ POINT_HPP c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:126:34: error: 'EWOULDBLOCK' was not declared in this scope operation_would_block = EWOULDBLOCK, ^~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:126:34: note: suggested alternative: 'EDEADLOCK' operation_would_block = EWOULDBLOCK, ^~~~~~~~~~~ EDEADLOCK c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:129:24: error: 'EOWNERDEAD' was not declared in this scope owner_dead = EOWNERDEAD, ^~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:132:28: error: 'EPROTO' was not declared in this scope protocol_error = EPROTO, ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:132:28: note: suggested alternative: 'EROFS' protocol_error = EPROTO, ^~~~~~ EROFS c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:133:35: error: 'EPROTONOSUPPORT' was not declared in this scope protocol_not_supported = EPROTONOSUPPORT, ^~~~~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:148:23: error: 'ETIMEDOUT' was not declared in this scope timed_out = ETIMEDOUT, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:153:41: error: 'ELOOP' was not declared in this scope too_many_symbolic_link_levels = ELOOP, ^~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:155:28: error: 'EOVERFLOW' was not declared in this scope value_too_large = EOVERFLOW, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:155:28: note: suggested alternative: '_OVERFLOW' value_too_large = EOVERFLOW, ^~~~~~~~~ _OVERFLOW c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:157:32: error: 'EPROTOTYPE' was not declared in this scope wrong_protocol_type = EPROTOTYPE ^~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:157:32: note: suggested alternative: 'ENOTTY' wrong_protocol_type = EPROTOTYPE ^~~~~~~~~~ ENOTTY In file included from c:\mingw\include\c++\7.1.0\system_error:39:0, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:46, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\istream:38, from c:\mingw\include\c++\7.1.0\sstream:38, from c:\mingw\include\c++\7.1.0\complex:45, from C:/library/vigra/vigra-1.11.1/include/vigra/numerictraits.hxx:43, from C:/library/vigra/vigra-1.11.1/include/vigra/accessor.hxx:40, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:42, from E:\project\SIFT-master\sift.hpp:8, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h: At global scope: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:44:40: error: 'EAFNOSUPPORT' was not declared in this scope address_family_not_supported = EAFNOSUPPORT, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:45:28: error: 'EADDRINUSE' was not declared in this scope address_in_use = EADDRINUSE, ^~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:46:34: error: 'EADDRNOTAVAIL' was not declared in this scope address_not_available = EADDRNOTAVAIL, ^~~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:47:30: error: 'EISCONN' was not declared in this scope already_connected = EISCONN, ^~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:56:31: error: 'ECONNABORTED' was not declared in this scope connection_aborted = ECONNABORTED, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:57:42: error: 'EALREADY' was not declared in this scope connection_already_in_progress = EALREADY, ^~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:57:42: note: suggested alternative: '_IOREAD' connection_already_in_progress = EALREADY, ^~~~~~~~ _IOREAD c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:58:31: error: 'ECONNREFUSED' was not declared in this scope connection_refused = ECONNREFUSED, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:59:29: error: 'ECONNRESET' was not declared in this scope connection_reset = ECONNRESET, ^~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:61:40: error: 'EDESTADDRREQ' was not declared in this scope destination_address_required = EDESTADDRREQ, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:69:29: error: 'EHOSTUNREACH' was not declared in this scope host_unreachable = EHOSTUNREACH, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:80:26: error: 'EMSGSIZE' was not declared in this scope message_size = EMSGSIZE, ^~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:80:26: note: suggested alternative: 'ESPIPE' message_size = EMSGSIZE, ^~~~~~~~ ESPIPE c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:81:26: error: 'ENETDOWN' was not declared in this scope network_down = ENETDOWN, ^~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:81:26: note: suggested alternative: 'ENOTDIR' network_down = ENETDOWN, ^~~~~~~~ ENOTDIR c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:82:27: error: 'ENETRESET' was not declared in this scope network_reset = ENETRESET, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:83:32: error: 'ENETUNREACH' was not declared in this scope network_unreachable = ENETUNREACH, ^~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:84:28: error: 'ENOBUFS' was not declared in this scope no_buffer_space = ENOBUFS, ^~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:84:28: note: suggested alternative: 'EROFS' no_buffer_space = ENOBUFS, ^~~~~~~ EROFS c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:98:31: error: 'ENOPROTOOPT' was not declared in this scope no_protocol_option = ENOPROTOOPT, ^~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:110:26: error: 'ENOTSOCK' was not declared in this scope not_a_socket = ENOTSOCK, ^~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:110:26: note: suggested alternative: 'ENOLCK' not_a_socket = ENOTSOCK, ^~~~~~~~ ENOLCK c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:114:27: error: 'ENOTCONN' was not declared in this scope not_connected = ENOTCONN, ^~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:114:27: note: suggested alternative: 'ENOTTY' not_connected = ENOTCONN, ^~~~~~~~ ENOTTY c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:117:27: error: 'ENOTSUP' was not declared in this scope not_supported = ENOTSUP, ^~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:117:27: note: suggested alternative: 'ENOTTY' not_supported = ENOTSUP, ^~~~~~~ ENOTTY c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:119:31: error: 'ECANCELED' was not declared in this scope operation_canceled = ECANCELED, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:120:34: error: 'EINPROGRESS' was not declared in this scope operation_in_progress = EINPROGRESS, ^~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:124:35: error: 'EOPNOTSUPP' was not declared in this scope operation_not_supported = EOPNOTSUPP, ^~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:124:35: note: suggested alternative: 'POINT_HPP' operation_not_supported = EOPNOTSUPP, ^~~~~~~~~~ POINT_HPP c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:126:34: error: 'EWOULDBLOCK' was not declared in this scope operation_would_block = EWOULDBLOCK, ^~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:126:34: note: suggested alternative: 'EDEADLOCK' operation_would_block = EWOULDBLOCK, ^~~~~~~~~~~ EDEADLOCK c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:129:24: error: 'EOWNERDEAD' was not declared in this scope owner_dead = EOWNERDEAD, ^~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:132:28: error: 'EPROTO' was not declared in this scope protocol_error = EPROTO, ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:132:28: note: suggested alternative: 'EROFS' protocol_error = EPROTO, ^~~~~~ EROFS c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:133:35: error: 'EPROTONOSUPPORT' was not declared in this scope protocol_not_supported = EPROTONOSUPPORT, ^~~~~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:148:23: error: 'ETIMEDOUT' was not declared in this scope timed_out = ETIMEDOUT, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:153:41: error: 'ELOOP' was not declared in this scope too_many_symbolic_link_levels = ELOOP, ^~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:155:28: error: 'EOVERFLOW' was not declared in this scope value_too_large = EOVERFLOW, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:155:28: note: suggested alternative: '_OVERFLOW' value_too_large = EOVERFLOW, ^~~~~~~~~ _OVERFLOW c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:157:32: error: 'EPROTOTYPE' was not declared in this scope wrong_protocol_type = EPROTOTYPE ^~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:157:32: note: suggested alternative: 'ENOTTY' wrong_protocol_type = EPROTOTYPE ^~~~~~~~~~ ENOTTY In file included from c:\mingw\include\c++\7.1.0\cstring:42:0, from C:/library/vigra/vigra-1.11.1/include/vigra/memory.hxx:48, from C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:54, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:43, from E:\project\SIFT-master\sift.hpp:8, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/string.h:70:67: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW void *memchr (const void *, int, size_t) __MINGW_ATTRIB_PURE; ^~~~~~ C:/MinGW/include/string.h:71:74: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int memcmp (const void *, const void *, size_t) __MINGW_ATTRIB_PURE; ^~~~~~ C:/MinGW/include/string.h:72:70: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW void *memcpy (void *, const void *, size_t); ^~~~~~ C:/MinGW/include/string.h:73:71: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW void *memmove (void *, const void *, size_t); ^~~~~~ C:/MinGW/include/string.h:74:61: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW void *memset (void *, int, size_t); ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\cstring:42:0, from C:/library/vigra/vigra-1.11.1/include/vigra/memory.hxx:48, from C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:54, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:43, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/string.h:70:67: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW void *memchr (const void *, int, size_t) __MINGW_ATTRIB_PURE; ^~~~~~ C:/MinGW/include/string.h:71:74: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int memcmp (const void *, const void *, size_t) __MINGW_ATTRIB_PURE; ^~~~~~ C:/MinGW/include/string.h:72:70: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW void *memcpy (void *, const void *, size_t); ^~~~~~ C:/MinGW/include/string.h:73:71: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW void *memmove (void *, const void *, size_t); ^~~~~~ C:/MinGW/include/string.h:74:61: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW void *memset (void *, int, size_t); ^~~~~~ C:/MinGW/include/string.h:80:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t strcspn (const char *, const char *) __MINGW_ATTRIB_PURE; ^~~~~~ time_t C:/MinGW/include/string.h:80:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t strcspn (const char *, const char *) __MINGW_ATTRIB_PURE; ^~~~~~ time_t C:/MinGW/include/string.h:83:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t strlen (const char *) __MINGW_ATTRIB_PURE; ^~~~~~ time_t C:/MinGW/include/string.h:84:71: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW char *strncat (char *, const char *, size_t); ^~~~~~ C:/MinGW/include/string.h:83:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t strlen (const char *) __MINGW_ATTRIB_PURE; ^~~~~~ time_t C:/MinGW/include/string.h:85:75: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int strncmp (const char *, const char *, size_t) __MINGW_ATTRIB_PURE; ^~~~~~ C:/MinGW/include/string.h:84:71: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW char *strncat (char *, const char *, size_t); ^~~~~~ C:/MinGW/include/string.h:86:71: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW char *strncpy (char *, const char *, size_t); ^~~~~~ C:/MinGW/include/string.h:85:75: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int strncmp (const char *, const char *, size_t) __MINGW_ATTRIB_PURE; ^~~~~~ C:/MinGW/include/string.h:86:71: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW char *strncpy (char *, const char *, size_t); ^~~~~~ C:/MinGW/include/string.h:89:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t strspn (const char *, const char *) __MINGW_ATTRIB_PURE; ^~~~~~ time_t C:/MinGW/include/string.h:89:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t strspn (const char *, const char *) __MINGW_ATTRIB_PURE; ^~~~~~ time_t C:/MinGW/include/string.h:92:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t strxfrm (char *, const char *, size_t); ^~~~~~ time_t C:/MinGW/include/string.h:92:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t strxfrm (char *, const char *, size_t); ^~~~~~ time_t In file included from C:/library/vigra/vigra-1.11.1/include/vigra/memory.hxx:48:0, from C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:54, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:43, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\cstring:84:11: error: '::strcspn' has not been declared using ::strcspn; ^~~~~~~ c:\mingw\include\c++\7.1.0\cstring:86:11: error: '::strlen' has not been declared using ::strlen; ^~~~~~ c:\mingw\include\c++\7.1.0\cstring:90:11: error: '::strspn' has not been declared using ::strspn; ^~~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/memory.hxx:48:0, from C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:54, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:43, from E:\project\SIFT-master\sift.hpp:8, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\cstring:84:11: error: '::strcspn' has not been declared using ::strcspn; ^~~~~~~ c:\mingw\include\c++\7.1.0\cstring:92:11: error: '::strxfrm' has not been declared using ::strxfrm; ^~~~~~~ c:\mingw\include\c++\7.1.0\cstring:86:11: error: '::strlen' has not been declared using ::strlen; ^~~~~~ c:\mingw\include\c++\7.1.0\cstring:90:11: error: '::strspn' has not been declared using ::strspn; ^~~~~~ c:\mingw\include\c++\7.1.0\cstring:92:11: error: '::strxfrm' has not been declared using ::strxfrm; ^~~~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:55:0, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:43, from E:\project\SIFT-master\sift.hpp:8, from E:\project\SIFT-master\sift.cpp:1: C:/library/vigra/vigra-1.11.1/include/vigra/mathutil.hxx:579:9: error: '::hypot' has not been declared using ::hypot; ^~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:55:0, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:43, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/library/vigra/vigra-1.11.1/include/vigra/mathutil.hxx:579:9: error: '::hypot' has not been declared using ::hypot; ^~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:43:0, from E:\project\SIFT-master\sift.hpp:8, from E:\project\SIFT-master\sift.cpp:1: C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx: In function 'vigra::TinyVector vigra::ceilPower2(const vigra::TinyVector&)': C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:2348:10: error: 'size_t' was not declared in this scope for( size_t k = 0; k < SIZE; k++) ^~~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:2348:10: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:43:0, from E:\project\SIFT-master\sift.hpp:8, from E:\project\SIFT-master\sift.cpp:1: C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:2348:24: error: 'k' was not declared in this scope for( size_t k = 0; k < SIZE; k++) ^ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:43:0, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx: In function 'vigra::TinyVector vigra::ceilPower2(const vigra::TinyVector&)': C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:2348:10: error: 'size_t' was not declared in this scope for( size_t k = 0; k < SIZE; k++) ^~~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:2348:10: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:43:0, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:2348:24: error: 'k' was not declared in this scope for( size_t k = 0; k < SIZE; k++) ^ C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx: In function 'vigra::TinyVector vigra::floorPower2(const vigra::TinyVector&)': C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:2360:10: error: 'size_t' was not declared in this scope for( size_t k = 0; k < SIZE; k++) ^~~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:2360:10: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:43:0, from E:\project\SIFT-master\sift.hpp:8, from E:\project\SIFT-master\sift.cpp:1: C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:2360:24: error: 'k' was not declared in this scope for( size_t k = 0; k < SIZE; k++) ^ C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx: In function 'vigra::TinyVector vigra::floorPower2(const vigra::TinyVector&)': C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:2360:10: error: 'size_t' was not declared in this scope for( size_t k = 0; k < SIZE; k++) ^~~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:2360:10: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\bits\stl_algobase.h:59:0, from c:\mingw\include\c++\7.1.0\memory:62, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:43:0, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:2360:24: error: 'k' was not declared in this scope for( size_t k = 0; k < SIZE; k++) ^ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41:0, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:45, from E:\project\SIFT-master\sift.hpp:8, from E:\project\SIFT-master\sift.cpp:1: C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx: At global scope: C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:225:29: error: 'size_t' has not been declared template ^~~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41:0, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:45, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx: At global scope: C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:225:29: error: 'size_t' has not been declared template ^~~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:226:12: error: no default argument for 'FUNCTOR' struct for_each_in_tuple_impl ^~~~~~~~~~~~~~~~~~~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:226:12: error: no default argument for 'FUNCTOR' struct for_each_in_tuple_impl ^~~~~~~~~~~~~~~~~~~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:228:45: error: 'N' was not declared in this scope typedef for_each_in_tuple_impl ForEachRecursion; ^ C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:228:45: error: 'N' was not declared in this scope typedef for_each_in_tuple_impl ForEachRecursion; ^ C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:228:57: error: template argument 2 is invalid typedef for_each_in_tuple_impl ForEachRecursion; ^ C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:228:57: error: template argument 2 is invalid typedef for_each_in_tuple_impl ForEachRecursion; ^ C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx: In member function 'void vigra::detail::for_each_in_tuple_impl, FUNCTOR>::operator()(TPL&&, FUNCTOR&&) const': C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:233:24: error: 'N' was not declared in this scope f(std::get(std::forward(t))); ^ C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx: In member function 'void vigra::detail::for_each_in_tuple_impl, FUNCTOR>::operator()(TPL&&, FUNCTOR&&) const': C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:233:24: error: 'N' was not declared in this scope f(std::get(std::forward(t))); ^ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/initimage.hxx:42:0, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimageview.hxx:40, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:45, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:45, from E:\project\SIFT-master\sift.hpp:8, from E:\project\SIFT-master\sift.cpp:1: C:/library/vigra/vigra-1.11.1/include/vigra/functortraits.hxx: At global scope: C:/library/vigra/vigra-1.11.1/include/vigra/functortraits.hxx:198:31: warning: 'template class std::binder1st' is deprecated [-Wdeprecated-declarations] VIGRA_DEFINE_STL_FUNCTOR(std::binder1st, VigraTrueType, VigraFalseType) ^ C:/library/vigra/vigra-1.11.1/include/vigra/functortraits.hxx:163:21: note: in definition of macro 'VIGRA_DEFINE_STL_FUNCTOR' class FunctorTraits > \ ^~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/initimage.hxx:42:0, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimageview.hxx:40, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:45, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:45, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/library/vigra/vigra-1.11.1/include/vigra/functortraits.hxx: At global scope: C:/library/vigra/vigra-1.11.1/include/vigra/functortraits.hxx:198:31: warning: 'template class std::binder1st' is deprecated [-Wdeprecated-declarations] VIGRA_DEFINE_STL_FUNCTOR(std::binder1st, VigraTrueType, VigraFalseType) ^ C:/library/vigra/vigra-1.11.1/include/vigra/functortraits.hxx:163:21: note: in definition of macro 'VIGRA_DEFINE_STL_FUNCTOR' class FunctorTraits > \ ^~~~ In file included from c:\mingw\include\c++\7.1.0\bits\stl_function.h:1127:0, from c:\mingw\include\c++\7.1.0\string:48, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\backward\binders.h:108:11: note: declared here class binder1st ^~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\stl_function.h:1127:0, from c:\mingw\include\c++\7.1.0\memory:76, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\backward\binders.h:108:11: note: declared here class binder1st ^~~~~~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/initimage.hxx:42:0, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimageview.hxx:40, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:45, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:45, from E:\project\SIFT-master\sift.hpp:8, from E:\project\SIFT-master\sift.cpp:1: C:/library/vigra/vigra-1.11.1/include/vigra/functortraits.hxx:199:31: warning: 'template class std::binder2nd' is deprecated [-Wdeprecated-declarations] VIGRA_DEFINE_STL_FUNCTOR(std::binder2nd, VigraTrueType, VigraFalseType) ^ C:/library/vigra/vigra-1.11.1/include/vigra/functortraits.hxx:163:21: note: in definition of macro 'VIGRA_DEFINE_STL_FUNCTOR' class FunctorTraits > \ ^~~~ In file included from c:\mingw\include\c++\7.1.0\bits\stl_function.h:1127:0, from c:\mingw\include\c++\7.1.0\string:48, from c:\mingw\include\c++\7.1.0\stdexcept:39, from c:\mingw\include\c++\7.1.0\array:39, from E:\project\SIFT-master\sift.hpp:5, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\backward\binders.h:143:11: note: declared here class binder2nd ^~~~~~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/initimage.hxx:42:0, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimageview.hxx:40, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:45, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:45, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: C:/library/vigra/vigra-1.11.1/include/vigra/functortraits.hxx:199:31: warning: 'template class std::binder2nd' is deprecated [-Wdeprecated-declarations] VIGRA_DEFINE_STL_FUNCTOR(std::binder2nd, VigraTrueType, VigraFalseType) ^ C:/library/vigra/vigra-1.11.1/include/vigra/functortraits.hxx:163:21: note: in definition of macro 'VIGRA_DEFINE_STL_FUNCTOR' class FunctorTraits > \ ^~~~ In file included from c:\mingw\include\c++\7.1.0\bits\stl_function.h:1127:0, from c:\mingw\include\c++\7.1.0\memory:76, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:40, from E:\project\SIFT-master\algorithms.hpp:4, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\backward\binders.h:143:11: note: declared here class binder2nd ^~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\ctime:42:0, from c:\mingw\include\c++\7.1.0\bits\locale_facets_nonio.h:39, from c:\mingw\include\c++\7.1.0\locale:41, from c:\mingw\include\c++\7.1.0\iomanip:43, from C:/library/vigra/vigra-1.11.1/include/vigra/matrix.hxx:42, from E:\project\SIFT-master\sift.hpp:9, from E:\project\SIFT-master\sift.cpp:1: C:/MinGW/include/time.h:240:1: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t strftime (char *, size_t, const char *, const struct tm *); ^~~~~~ ssize_t In file included from c:\mingw\include\c++\7.1.0\bits\locale_facets_nonio.h:39:0, from c:\mingw\include\c++\7.1.0\locale:41, from c:\mingw\include\c++\7.1.0\iomanip:43, from C:/library/vigra/vigra-1.11.1/include/vigra/matrix.hxx:42, from E:\project\SIFT-master\sift.hpp:9, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\ctime:72:11: error: '::strftime' has not been declared using ::strftime; ^~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\ctime:42:0, from c:\mingw\include\c++\7.1.0\bits\locale_facets_nonio.h:39, from c:\mingw\include\c++\7.1.0\locale:41, from c:\mingw\include\c++\7.1.0\iomanip:43, from C:/library/vigra/vigra-1.11.1/include/vigra/matrix.hxx:42, from E:\project\SIFT-master\algorithms.hpp:5, from E:\project\SIFT-master\algorithms.cpp:1: C:/MinGW/include/time.h:240:1: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t strftime (char *, size_t, const char *, const struct tm *); ^~~~~~ ssize_t In file included from c:\mingw\include\c++\7.1.0\bits\locale_facets_nonio.h:39:0, from c:\mingw\include\c++\7.1.0\locale:41, from c:\mingw\include\c++\7.1.0\iomanip:43, from C:/library/vigra/vigra-1.11.1/include/vigra/matrix.hxx:42, from E:\project\SIFT-master\algorithms.hpp:5, from E:\project\SIFT-master\algorithms.cpp:1: c:\mingw\include\c++\7.1.0\ctime:72:11: error: '::strftime' has not been declared using ::strftime; ^~~~~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/stdconvolution.hxx:43:0, from C:/library/vigra/vigra-1.11.1/include/vigra/convolution.hxx:41, from E:\project\SIFT-master\algorithms.cpp:3: C:/library/vigra/vigra-1.11.1/include/vigra/separableconvolution.hxx:1413:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(PreconditionViolation) ^~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/convolution.hxx:41:0, from E:\project\SIFT-master\algorithms.cpp:3: C:/library/vigra/vigra-1.11.1/include/vigra/stdconvolution.hxx:796:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(PreconditionViolation) ^~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/splines.hxx:43:0, from C:/library/vigra/vigra-1.11.1/include/vigra/resizeimage.hxx:47, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimagefunctions.hxx:74, from C:/library/vigra/vigra-1.11.1/include/vigra/nonlineardiffusion.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/convolution.hxx:44, from E:\project\SIFT-master\algorithms.cpp:3: C:/library/vigra/vigra-1.11.1/include/vigra/fixedpoint.hxx:1634:13: error: '::hypot' has not been declared using ::hypot; ^~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:44:0, from C:/library/vigra/vigra-1.11.1/include/vigra/linear_algebra.hxx:41, from E:\project\SIFT-master\algorithms.cpp:4: C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx: In instantiation of 'unsigned int vigra::linalg::singularValueDecomposition(const vigra::MultiArrayView<2, T, S>&, vigra::MultiArrayView<2, T, C2>&, vigra::MultiArrayView<2, T, C3>&, vigra::MultiArrayView<2, T, C4>&) [with T = float; C1 = vigra::StridedArrayTag; C2 = vigra::StridedArrayTag; C3 = vigra::StridedArrayTag; C4 = vigra::StridedArrayTag]': C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:1285:87: required from 'bool vigra::linalg::linearSolve(const vigra::MultiArrayView<2, T, S>&, const vigra::MultiArrayView<2, T, C2>&, vigra::MultiArrayView<2, T, C3>, std::__cxx11::string) [with T = float; C1 = vigra::StridedArrayTag; C2 = vigra::StridedArrayTag; C3 = vigra::StridedArrayTag; std::__cxx11::string = std::__cxx11::basic_string]' E:\project\SIFT-master\algorithms.cpp:175:34: required from here C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx:120:28: error: no matching function for call to 'hypot(vigra::MultiArrayView<1, float, vigra::StridedArrayTag>::value_type&, vigra::MultiArrayView<2, float, vigra::StridedArrayTag>::value_type&)' s(k) = hypot(s(k), a(i, k)); ~~~~~^~~~~~~~~~~~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/splines.hxx:43:0, from C:/library/vigra/vigra-1.11.1/include/vigra/resizeimage.hxx:47, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimagefunctions.hxx:74, from C:/library/vigra/vigra-1.11.1/include/vigra/nonlineardiffusion.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/convolution.hxx:44, from E:\project\SIFT-master\algorithms.cpp:3: C:/library/vigra/vigra-1.11.1/include/vigra/fixedpoint.hxx:1640:1: note: candidate: template vigra::FixedPoint16 vigra::hypot(vigra::FixedPoint16, vigra::FixedPoint16) hypot(FixedPoint16 v1, FixedPoint16 v2) ^~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/fixedpoint.hxx:1640:1: note: template argument deduction/substitution failed: In file included from C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:44:0, from C:/library/vigra/vigra-1.11.1/include/vigra/linear_algebra.hxx:41, from E:\project\SIFT-master\algorithms.cpp:4: C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx:120:28: note: mismatched types 'vigra::FixedPoint16' and 'float' s(k) = hypot(s(k), a(i, k)); ~~~~~^~~~~~~~~~~~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx:176:28: error: no matching function for call to 'hypot(vigra::ArrayVectorView::value_type&, vigra::ArrayVectorView::value_type&)' e[k] = hypot(e[k],e[i]); ~~~~~^~~~~~~~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/splines.hxx:43:0, from C:/library/vigra/vigra-1.11.1/include/vigra/resizeimage.hxx:47, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimagefunctions.hxx:74, from C:/library/vigra/vigra-1.11.1/include/vigra/nonlineardiffusion.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/convolution.hxx:44, from E:\project\SIFT-master\algorithms.cpp:3: C:/library/vigra/vigra-1.11.1/include/vigra/fixedpoint.hxx:1640:1: note: candidate: template vigra::FixedPoint16 vigra::hypot(vigra::FixedPoint16, vigra::FixedPoint16) hypot(FixedPoint16 v1, FixedPoint16 v2) ^~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/fixedpoint.hxx:1640:1: note: template argument deduction/substitution failed: In file included from C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:44:0, from C:/library/vigra/vigra-1.11.1/include/vigra/linear_algebra.hxx:41, from E:\project\SIFT-master\algorithms.cpp:4: C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx:176:28: note: mismatched types 'vigra::FixedPoint16' and 'float' e[k] = hypot(e[k],e[i]); ~~~~~^~~~~~~~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx:393:32: error: no matching function for call to 'hypot(vigra::MultiArrayView<1, float, vigra::StridedArrayTag>::value_type&, Real&)' Real t( hypot(s(j),f)); ~~~~~^~~~~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/splines.hxx:43:0, from C:/library/vigra/vigra-1.11.1/include/vigra/resizeimage.hxx:47, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimagefunctions.hxx:74, from C:/library/vigra/vigra-1.11.1/include/vigra/nonlineardiffusion.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/convolution.hxx:44, from E:\project\SIFT-master\algorithms.cpp:3: C:/library/vigra/vigra-1.11.1/include/vigra/fixedpoint.hxx:1640:1: note: candidate: template vigra::FixedPoint16 vigra::hypot(vigra::FixedPoint16, vigra::FixedPoint16) hypot(FixedPoint16 v1, FixedPoint16 v2) ^~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/fixedpoint.hxx:1640:1: note: template argument deduction/substitution failed: In file included from C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:44:0, from C:/library/vigra/vigra-1.11.1/include/vigra/linear_algebra.hxx:41, from E:\project\SIFT-master\algorithms.cpp:4: C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx:393:32: note: mismatched types 'vigra::FixedPoint16' and 'float' Real t( hypot(s(j),f)); ~~~~~^~~~~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx:417:31: error: no matching function for call to 'hypot(vigra::MultiArrayView<1, float, vigra::StridedArrayTag>::value_type&, Real&)' Real t(hypot(s(j),f)); ~~~~~^~~~~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/splines.hxx:43:0, from C:/library/vigra/vigra-1.11.1/include/vigra/resizeimage.hxx:47, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimagefunctions.hxx:74, from C:/library/vigra/vigra-1.11.1/include/vigra/nonlineardiffusion.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/convolution.hxx:44, from E:\project\SIFT-master\algorithms.cpp:3: C:/library/vigra/vigra-1.11.1/include/vigra/fixedpoint.hxx:1640:1: note: candidate: template vigra::FixedPoint16 vigra::hypot(vigra::FixedPoint16, vigra::FixedPoint16) hypot(FixedPoint16 v1, FixedPoint16 v2) ^~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/fixedpoint.hxx:1640:1: note: template argument deduction/substitution failed: In file included from C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:44:0, from C:/library/vigra/vigra-1.11.1/include/vigra/linear_algebra.hxx:41, from E:\project\SIFT-master\algorithms.cpp:4: C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx:417:31: note: mismatched types 'vigra::FixedPoint16' and 'float' Real t(hypot(s(j),f)); ~~~~~^~~~~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx:461:33: error: no matching function for call to 'hypot(Real&, Real&)' Real t = hypot(f,g); ~~~~~^~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/splines.hxx:43:0, from C:/library/vigra/vigra-1.11.1/include/vigra/resizeimage.hxx:47, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimagefunctions.hxx:74, from C:/library/vigra/vigra-1.11.1/include/vigra/nonlineardiffusion.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/convolution.hxx:44, from E:\project\SIFT-master\algorithms.cpp:3: C:/library/vigra/vigra-1.11.1/include/vigra/fixedpoint.hxx:1640:1: note: candidate: template vigra::FixedPoint16 vigra::hypot(vigra::FixedPoint16, vigra::FixedPoint16) hypot(FixedPoint16 v1, FixedPoint16 v2) ^~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/fixedpoint.hxx:1640:1: note: template argument deduction/substitution failed: In file included from C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:44:0, from C:/library/vigra/vigra-1.11.1/include/vigra/linear_algebra.hxx:41, from E:\project\SIFT-master\algorithms.cpp:4: C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx:461:33: note: mismatched types 'vigra::FixedPoint16' and 'float' Real t = hypot(f,g); ~~~~~^~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx:478:28: error: no matching function for call to 'hypot(Real&, Real&)' t = hypot(f,g); ~~~~~^~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/splines.hxx:43:0, from C:/library/vigra/vigra-1.11.1/include/vigra/resizeimage.hxx:47, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimagefunctions.hxx:74, from C:/library/vigra/vigra-1.11.1/include/vigra/nonlineardiffusion.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/convolution.hxx:44, from E:\project\SIFT-master\algorithms.cpp:3: C:/library/vigra/vigra-1.11.1/include/vigra/fixedpoint.hxx:1640:1: note: candidate: template vigra::FixedPoint16 vigra::hypot(vigra::FixedPoint16, vigra::FixedPoint16) hypot(FixedPoint16 v1, FixedPoint16 v2) ^~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/fixedpoint.hxx:1640:1: note: template argument deduction/substitution failed: In file included from C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:44:0, from C:/library/vigra/vigra-1.11.1/include/vigra/linear_algebra.hxx:41, from E:\project\SIFT-master\algorithms.cpp:4: C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx:478:28: note: mismatched types 'vigra::FixedPoint16' and 'float' t = hypot(f,g); ~~~~~^~~~~ In file included from c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\xmmintrin.h:34:0, from c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\emmintrin.h:31, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:87, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\mm_malloc.h:31:13: error: 'size_t' was not declared in this scope _mm_malloc (size_t __size, size_t __align) ^~~~~~ c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\mm_malloc.h:31:13: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\xmmintrin.h:34:0, from c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\emmintrin.h:31, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:87, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\mm_malloc.h:31:28: error: 'size_t' was not declared in this scope _mm_malloc (size_t __size, size_t __align) ^~~~~~ c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\mm_malloc.h:31:28: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\xmmintrin.h:34:0, from c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\emmintrin.h:31, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:87, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\mm_malloc.h:31:42: error: expression list treated as compound expression in initializer [-fpermissive] _mm_malloc (size_t __size, size_t __align) ^ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/linear_algebra.hxx:41:0, from E:\project\SIFT-master\algorithms.cpp:4: C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx: In instantiation of 'void vigra::linalg::detail::incrementalMinSingularValueApproximation(const vigra::MultiArrayView<2, T, S>&, vigra::MultiArrayView<2, T, C2>&, SNType&, double) [with T = float; C1 = vigra::StridedArrayTag; C2 = vigra::StridedArrayTag; SNType = float]': C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:545:53: required from 'unsigned int vigra::linalg::detail::qrTransformToTriangularImpl(vigra::MultiArrayView<2, T, S>&, vigra::MultiArrayView<2, T, C2>&, vigra::MultiArrayView<2, T, C3>&, vigra::ArrayVector&, double) [with T = float; C1 = vigra::StridedArrayTag; C2 = vigra::StridedArrayTag; C3 = vigra::StridedArrayTag]' C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:586:52: required from 'unsigned int vigra::linalg::detail::qrTransformToLowerTriangular(vigra::MultiArrayView<2, T, S>&, vigra::MultiArrayView<2, T, C2>&, vigra::MultiArrayView<2, T, C3>&, double) [with T = float; C1 = vigra::StridedArrayTag; C2 = vigra::StridedArrayTag; C3 = vigra::StridedArrayTag]' C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:676:81: required from 'unsigned int vigra::linalg::linearSolveQRReplace(vigra::MultiArrayView<2, T, S>&, vigra::MultiArrayView<2, T, C2>&, vigra::MultiArrayView<2, T, C3>&, double) [with T = float; C1 = vigra::StridedArrayTag; C2 = vigra::StridedArrayTag; C3 = vigra::StridedArrayTag]' C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:735:32: required from 'unsigned int vigra::linalg::linearSolveQR(const vigra::MultiArrayView<2, T, S>&, const vigra::MultiArrayView<2, T, C2>&, vigra::MultiArrayView<2, T, C3>&) [with T = float; C1 = vigra::StridedArrayTag; C2 = vigra::StridedArrayTag; C3 = vigra::StridedArrayTag]' C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:1274:58: required from 'bool vigra::linalg::linearSolve(const vigra::MultiArrayView<2, T, S>&, const vigra::MultiArrayView<2, T, C2>&, vigra::MultiArrayView<2, T, C3>, std::__cxx11::string) [with T = float; C1 = vigra::StridedArrayTag; C2 = vigra::StridedArrayTag; C3 = vigra::StridedArrayTag; std::__cxx11::string = std::__cxx11::basic_string]' E:\project\SIFT-master\algorithms.cpp:175:34: required from here C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:441:29: error: no matching function for call to 'hypot(float, float)' v *= norm(gamma) / hypot(c*gamma, v*(s - c*yv)); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/splines.hxx:43:0, from C:/library/vigra/vigra-1.11.1/include/vigra/resizeimage.hxx:47, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimagefunctions.hxx:74, from C:/library/vigra/vigra-1.11.1/include/vigra/nonlineardiffusion.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/convolution.hxx:44, from E:\project\SIFT-master\algorithms.cpp:3: C:/library/vigra/vigra-1.11.1/include/vigra/fixedpoint.hxx:1640:1: note: candidate: template vigra::FixedPoint16 vigra::hypot(vigra::FixedPoint16, vigra::FixedPoint16) hypot(FixedPoint16 v1, FixedPoint16 v2) ^~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/fixedpoint.hxx:1640:1: note: template argument deduction/substitution failed: In file included from C:/library/vigra/vigra-1.11.1/include/vigra/linear_algebra.hxx:41:0, from E:\project\SIFT-master\algorithms.cpp:4: C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:441:29: note: mismatched types 'vigra::FixedPoint16' and 'float' v *= norm(gamma) / hypot(c*gamma, v*(s - c*yv)); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h:151:8: error: redefinition of 'struct _exception' struct _exception ^~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:168:10: note: previous definition of 'struct _exception' struct _exception { ^~~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h: In function 'int __fpclassifyl(long double)': C:/MinGW/include/math.h:376:26: error: redefinition of 'int __fpclassifyl(long double)' __CRT_INLINE int __cdecl __fpclassifyl (long double x){ ^~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:412:28: note: 'int __fpclassifyl(long double)' previously defined here __CRT_INLINE int __cdecl __fpclassifyl (long double x) { ^~~~~~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h: In function 'int __isnan(double)': C:/MinGW/include/math.h:401:26: error: redefinition of 'int __isnan(double)' __CRT_INLINE int __cdecl __isnan (double _x) ^~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:525:28: note: 'int __isnan(double)' previously defined here __CRT_INLINE int __cdecl __isnan (double _x) ^~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h: In function 'int __isnanf(float)': C:/MinGW/include/math.h:410:26: error: redefinition of 'int __isnanf(float)' __CRT_INLINE int __cdecl __isnanf (float _x) ^~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:546:28: note: 'int __isnanf(float)' previously defined here __CRT_INLINE int __cdecl __isnanf (float _x) ^~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h: In function 'int __isnanl(long double)': C:/MinGW/include/math.h:419:26: error: redefinition of 'int __isnanl(long double)' __CRT_INLINE int __cdecl __isnanl (long double _x) ^~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:565:28: note: 'int __isnanl(long double)' previously defined here __CRT_INLINE int __cdecl __isnanl (long double _x) ^~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h: In function 'int __signbit(double)': C:/MinGW/include/math.h:441:26: error: redefinition of 'int __signbit(double)' __CRT_INLINE int __cdecl __signbit (double x) { ^~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:611:28: note: 'int __signbit(double)' previously defined here __CRT_INLINE int __cdecl __signbit (double x) { ^~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h: In function 'int __signbitf(float)': C:/MinGW/include/math.h:447:26: error: redefinition of 'int __signbitf(float)' __CRT_INLINE int __cdecl __signbitf (float x) { ^~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:624:28: note: 'int __signbitf(float)' previously defined here __CRT_INLINE int __cdecl __signbitf (float x) { ^~~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h: In function 'int __signbitl(long double)': C:/MinGW/include/math.h:453:26: error: redefinition of 'int __signbitl(long double)' __CRT_INLINE int __cdecl __signbitl (long double x) { ^~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:636:28: note: 'int __signbitl(long double)' previously defined here __CRT_INLINE int __cdecl __signbitl (long double x) { ^~~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h: In function 'float sinhf(float)': C:/MinGW/include/math.h:491:28: error: redefinition of 'float sinhf(float)' __CRT_INLINE float __cdecl sinhf (float x) ^~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:687:22: note: 'float sinhf(float)' previously defined here __CRT_INLINE float sinhf(float _X) { return ((float)sinh((double)_X)); } ^~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h: In function 'float coshf(float)': C:/MinGW/include/math.h:498:28: error: redefinition of 'float coshf(float)' __CRT_INLINE float __cdecl coshf (float x) ^~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:693:22: note: 'float coshf(float)' previously defined here __CRT_INLINE float coshf(float _X) { return ((float)cosh((double)_X)); } ^~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h: In function 'float tanhf(float)': C:/MinGW/include/math.h:505:28: error: redefinition of 'float tanhf(float)' __CRT_INLINE float __cdecl tanhf (float x) ^~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:699:22: note: 'float tanhf(float)' previously defined here __CRT_INLINE float tanhf(float _X) { return ((float)tanh((double)_X)); } ^~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h: In function 'float expf(float)': C:/MinGW/include/math.h:530:28: error: redefinition of 'float expf(float)' __CRT_INLINE float __cdecl expf (float x) ^~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:723:22: note: 'float expf(float)' previously defined here __CRT_INLINE float expf(float _X) { return ((float)exp((double)_X)); } ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h: In function 'float frexpf(float, int*)': C:/MinGW/include/math.h:549:28: error: redefinition of 'float frexpf(float, int*)' __CRT_INLINE float __cdecl frexpf (float x, int* expn) ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:741:22: note: 'float frexpf(float, int*)' previously defined here __CRT_INLINE float frexpf(float _X,int *_Y) { return ((float)frexp((double)_X,_Y)); } ^~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h: In function 'float ldexpf(float, int)': C:/MinGW/include/math.h:564:28: error: redefinition of 'float ldexpf(float, int)' __CRT_INLINE float __cdecl ldexpf (float x, int expn) ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\x86_64-w64-mingw32\include\math.h:755:30: note: 'float ldexpf(float, int)' previously defined here __CRT_INLINE float __cdecl ldexpf (float x, int expn) { return (float) ldexp ((double)x, expn); } ^~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h: In function 'CvMat cvMat(int, int, int, void*)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:749:36: error: 'size_t' was not declared in this scope (CV_MAT_CN(type) << ((((sizeof(size_t)/4+1)*16384|0x3a50) >> CV_MAT_DEPTH(type)*2) & 3)) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:769:21: note: in expansion of macro 'CV_ELEM_SIZE' m.step = m.cols*CV_ELEM_SIZE(type); ^~~~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:749:36: note: suggested alternatives: (CV_MAT_CN(type) << ((((sizeof(size_t)/4+1)*16384|0x3a50) >> CV_MAT_DEPTH(type)*2) & 3)) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:769:21: note: in expansion of macro 'CV_ELEM_SIZE' m.step = m.cols*CV_ELEM_SIZE(type); ^~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h: In function 'double cvmGet(const CvMat*, int, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:799:50: error: 'size_t' was not declared in this scope return ((float*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col]; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:799:50: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:799:57: error: expected ')' before 'mat' return ((float*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col]; ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:799:77: error: expected ')' before ';' token return ((float*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:803:51: error: 'size_t' was not declared in this scope return ((double*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col]; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:803:51: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:803:58: error: expected ')' before 'mat' return ((double*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col]; ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:803:78: error: expected ')' before ';' token return ((double*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h: In function 'void cvmSet(CvMat*, int, int, double)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:816:43: error: 'size_t' was not declared in this scope ((float*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col] = (float)value; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:816:43: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:816:50: error: expected ')' before 'mat' ((float*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col] = (float)value; ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:816:85: error: expected ')' before ';' token ((float*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col] = (float)value; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:820:44: error: 'size_t' was not declared in this scope ((double*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col] = value; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:820:44: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:820:51: error: expected ')' before 'mat' ((double*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col] = value; ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:820:79: error: expected ')' before ';' token ((double*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col] = value; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h: In function 'int cvIplDepth(int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:745:16: error: 'size_t' was not declared in this scope ((((sizeof(size_t)<<28)|0x8442211) >> CV_MAT_DEPTH(type)*4) & 15) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:828:12: note: in expansion of macro 'CV_ELEM_SIZE1' return CV_ELEM_SIZE1(depth)*8 | (depth == CV_8S || depth == CV_16S || ^~~~~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:745:16: note: suggested alternatives: ((((sizeof(size_t)<<28)|0x8442211) >> CV_MAT_DEPTH(type)*4) & 15) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:828:12: note: in expansion of macro 'CV_ELEM_SIZE1' return CV_ELEM_SIZE1(depth)*8 | (depth == CV_8S || depth == CV_16S || ^~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from E:\project\SIFT-master\sift.cpp:9:0: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:305:29: error: 'size_t' was not declared in this scope CV_EXPORTS void* fastMalloc(size_t bufSize); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:305:29: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from E:\project\SIFT-master\sift.cpp:9:0: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:315:52: warning: inline variables are only available with -std=c++1z or -std=gnu++1z template static inline _Tp* allocate(size_t n) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:315:52: error: 'size_t' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:315:52: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from E:\project\SIFT-master\sift.cpp:9:0: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:315:43: warning: variable templates only available with -std=c++14 or -std=gnu++14 template static inline _Tp* allocate(size_t n) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:316:1: error: expected ';' before '{' token { ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:320:64: error: 'size_t' has not been declared template static inline void deallocate(_Tp* ptr, size_t) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp: In function '_Tp* cv::alignPtr(_Tp*, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:333:21: error: 'size_t' was not declared in this scope return (_Tp*)(((size_t)ptr + n-1) & -n); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:333:21: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from E:\project\SIFT-master\sift.cpp:9:0: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:333:28: error: expected ')' before 'ptr' return (_Tp*)(((size_t)ptr + n-1) & -n); ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:333:44: error: expected ')' before ';' token return (_Tp*)(((size_t)ptr + n-1) & -n); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:341:15: error: 'size_t' does not name a type; did you mean 'ssize_t'? static inline size_t alignSize(size_t sz, int n) ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:376:13: error: 'size_t' does not name a type; did you mean 'ssize_t'? typedef size_t size_type; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:390:22: error: 'size_type' has not been declared pointer allocate(size_type count, const void* =0) ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:393:32: error: 'size_type' has not been declared void deallocate(pointer p, size_type) {fastFree(p); } ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:395:5: error: 'size_type' does not name a type; did you mean 'value_type'? size_type max_size() const ^~~~~~~~~ value_type C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp: In member function 'cv::Allocator<_Tp>::value_type* cv::Allocator<_Tp>::allocate(int, const void*)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:391:71: error: 'cv::fastMalloc' cannot be used as a function { return reinterpret_cast(fastMalloc(count * sizeof (_Tp))); } ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1388:13: error: 'size_t' does not name a type; did you mean 'ssize_t'? virtual size_t total(int i=-1) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1482:15: error: 'size_t' does not name a type; did you mean 'ssize_t'? static inline size_t getElemSize(int type) { return CV_ELEM_SIZE(type); } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1494:60: error: 'size_t' has not been declared uchar*& datastart, uchar*& data, size_t* step) = 0; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1728:51: error: 'size_t' has not been declared Mat(int rows, int cols, int type, void* data, size_t step=AUTO_STEP); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1729:42: error: 'size_t' has not been declared Mat(Size size, int type, void* data, size_t step=AUTO_STEP); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1730:66: error: 'size_t' does not name a type; did you mean 'ssize_t'? Mat(int ndims, const int* sizes, int type, void* data, const size_t* steps=0); ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1843:18: error: 'size_t' has not been declared void reserve(size_t sz); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1845:17: error: 'size_t' has not been declared void resize(size_t sz); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1847:17: error: 'size_t' has not been declared void resize(size_t sz, const Scalar& s); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1855:19: error: 'size_t' has not been declared void pop_back(size_t nelems=1); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1888:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t elemSize() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1890:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t elemSize1() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1898:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t step1(int i=0) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1902:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t total() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2014:22: error: expected ')' before 's' MStep(size_t s); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2015:15: error: 'size_t' does not name a type; did you mean 'ssize_t'? const size_t& operator[](int i) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2016:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t& operator[](int i); ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2017:18: error: expected type-specifier before 'size_t' operator size_t() const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2018:28: error: declaration of 'operator=' as non-function MStep& operator = (size_t s); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2018:25: error: expected ';' at end of member declaration MStep& operator = (size_t s); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2018:35: error: expected ')' before 's' MStep& operator = (size_t s); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2020:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t* p; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2021:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t buf[2]; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2136:47: error: 'size_t' has not been declared typedef void (*BinaryFunc)(const uchar* src1, size_t step1, ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2137:47: error: 'size_t' has not been declared const uchar* src2, size_t step2, ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2138:40: error: 'size_t' has not been declared uchar* dst, size_t step, Size sz, ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2143:39: error: 'size_t' was not declared in this scope CV_EXPORTS BinaryFunc getCopyMaskFunc(size_t esz); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2143:39: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from E:\project\SIFT-master\sift.cpp:9:0: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2229:38: error: 'size_t' has not been declared CV_EXPORTS void merge(const Mat* mv, size_t count, OutputArray dst); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2243:45: error: 'size_t' has not been declared CV_EXPORTS void mixChannels(const Mat* src, size_t nsrcs, Mat* dst, size_t ndsts, ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2243:69: error: 'size_t' has not been declared CV_EXPORTS void mixChannels(const Mat* src, size_t nsrcs, Mat* dst, size_t ndsts, ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2244:48: error: 'size_t' has not been declared const int* fromTo, size_t npairs); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2246:48: error: 'size_t' has not been declared const int* fromTo, size_t npairs); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2263:41: error: 'size_t' has not been declared CV_EXPORTS void hconcat(const Mat* src, size_t nsrc, OutputArray dst); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2267:41: error: 'size_t' has not been declared CV_EXPORTS void vconcat(const Mat* src, size_t nsrc, OutputArray dst); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2848:44: error: 'size_t' has not been declared Mat_(int _rows, int _cols, _Tp* _data, size_t _step=AUTO_STEP); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2850:59: error: 'size_t' does not name a type; did you mean 'ssize_t'? Mat_(int _ndims, const int* _sizes, _Tp* _data, const size_t* _steps=0); ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2897:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t elemSize() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2898:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t elemSize1() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2902:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t step1(int i=0) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2904:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t stepT(int i=0) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3042:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t elemSize; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3221:24: error: 'size_t' has not been declared template class AutoBuffer ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3230:23: error: expected ')' before '_size' AutoBuffer(size_t _size); ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3235:19: error: 'size_t' has not been declared void allocate(size_t _size); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3247:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t size; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3249:13: error: 'fixed_size' was not declared in this scope _Tp buf[fixed_size+buffer_padding]; ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3249:38: error: array bound is not an integer constant before ']' token _Tp buf[fixed_size+buffer_padding]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3330:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t nplanes; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3332:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t size; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3335:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t idx; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3455:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t nodeSize; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3456:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t nodeCount; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3457:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t freeList; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3459:16: error: 'size_t' was not declared in this scope vector hashtab; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3459:16: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from E:\project\SIFT-master\sift.cpp:9:0: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3459:22: error: template argument 1 is invalid vector hashtab; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3459:22: error: template argument 2 is invalid C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3467:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t hashval; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3469:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t next; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3533:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t elemSize() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3535:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t elemSize1() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3551:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t nzcount() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3554:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t hash(int i0) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3556:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t hash(int i0, int i1) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3558:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t hash(int i0, int i1, int i2) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3560:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t hash(const int* idx) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3577:44: error: 'size_t' has not been declared uchar* ptr(int i0, bool createMissing, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3579:52: error: 'size_t' has not been declared uchar* ptr(int i0, int i1, bool createMissing, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3581:60: error: 'size_t' has not been declared uchar* ptr(int i0, int i1, int i2, bool createMissing, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3583:52: error: 'size_t' has not been declared uchar* ptr(const int* idx, bool createMissing, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3595:45: error: 'size_t' has not been declared template _Tp& ref(int i0, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3597:53: error: 'size_t' has not been declared template _Tp& ref(int i0, int i1, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3599:61: error: 'size_t' has not been declared template _Tp& ref(int i0, int i1, int i2, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3601:53: error: 'size_t' has not been declared template _Tp& ref(const int* idx, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3617:46: error: 'size_t' has not been declared template _Tp value(int i0, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3619:54: error: 'size_t' has not been declared template _Tp value(int i0, int i1, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3621:62: error: 'size_t' has not been declared template _Tp value(int i0, int i1, int i2, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3623:54: error: 'size_t' has not been declared template _Tp value(const int* idx, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3635:52: error: 'size_t' has not been declared template const _Tp* find(int i0, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3637:60: error: 'size_t' has not been declared template const _Tp* find(int i0, int i1, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3639:68: error: 'size_t' has not been declared template const _Tp* find(int i0, int i1, int i2, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3641:60: error: 'size_t' has not been declared template const _Tp* find(const int* idx, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3644:32: error: 'size_t' has not been declared void erase(int i0, int i1, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3646:40: error: 'size_t' has not been declared void erase(int i0, int i1, int i2, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3648:32: error: 'size_t' has not been declared void erase(const int* idx, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3681:11: error: expected ';' at end of member declaration Node* node(size_t nidx); ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3681:23: error: expected ')' before 'nidx' Node* node(size_t nidx); ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3682:17: error: expected ';' at end of member declaration const Node* node(size_t nidx) const; ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3682:22: error: redeclaration of 'const cv::SparseMat::Node* cv::SparseMat::node' const Node* node(size_t nidx) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3681:16: note: previous declaration 'cv::SparseMat::Node* cv::SparseMat::node' Node* node(size_t nidx); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3682:29: error: expected ')' before 'nidx' const Node* node(size_t nidx) const; ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3684:36: error: 'size_t' has not been declared uchar* newNode(const int* idx, size_t hashval); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3685:21: error: 'size_t' has not been declared void removeNode(size_t hidx, size_t nidx, size_t previdx); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3685:34: error: 'size_t' has not been declared void removeNode(size_t hidx, size_t nidx, size_t previdx); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3685:47: error: 'size_t' has not been declared void removeNode(size_t hidx, size_t nidx, size_t previdx); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3686:24: error: 'size_t' has not been declared void resizeHashTab(size_t newsize); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3745:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t hashidx; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3833:22: error: 'size_t' has not been declared _Tp& ref(int i0, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3835:30: error: 'size_t' has not been declared _Tp& ref(int i0, int i1, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3837:38: error: 'size_t' has not been declared _Tp& ref(int i0, int i1, int i2, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3839:30: error: 'size_t' has not been declared _Tp& ref(const int* idx, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3842:28: error: 'size_t' has not been declared _Tp operator()(int i0, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3844:36: error: 'size_t' has not been declared _Tp operator()(int i0, int i1, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3846:44: error: 'size_t' has not been declared _Tp operator()(int i0, int i1, int i2, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3848:36: error: 'size_t' has not been declared _Tp operator()(const int* idx, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4160:57: error: 'size_t' has not been declared void writeRaw( const string& fmt, const uchar* vec, size_t len ); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4240:13: error: 'size_t' does not name a type; did you mean 'ssize_t'? CV_WRAP size_t size() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4261:50: error: 'size_t' has not been declared void readRaw( const string& fmt, uchar* vec, size_t len ) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4282:71: error: 'size_t' has not been declared FileNodeIterator(const CvFileStorage* fs, const CvFileNode* node, size_t ofs=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4305:32: error: 'size_t' has not been declared size_t maxCount=(size_t)INT_MAX ); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4310:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t remaining; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4305:49: error: 'size_t' was not declared in this scope size_t maxCount=(size_t)INT_MAX ); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4305:49: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from E:\project\SIFT-master\sift.cpp:9:0: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4350:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t size() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4358:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t elemSize() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4360:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t index(const _Tp& elem) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4366:38: error: 'size_t' has not been declared void push_back(const _Tp* elems, size_t count); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4368:39: error: 'size_t' has not been declared void push_front(const _Tp* elems, size_t count); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4372:44: error: 'size_t' has not been declared void insert(int idx, const _Tp* elems, size_t count); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4396:32: error: 'size_t' has not been declared void pop_front(_Tp* elems, size_t count); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4398:31: error: 'size_t' has not been declared void pop_back(_Tp* elems, size_t count); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4420:15: error: 'size_t' has not been declared void seek(size_t pos); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4422:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t tell() const; ^~~~~~ ssize_t In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:711:29: error: 'size_t' has not been declared CV_EXPORTS int LU(float* A, size_t astep, int m, float* b, size_t bstep, int n); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:711:60: error: 'size_t' has not been declared CV_EXPORTS int LU(float* A, size_t astep, int m, float* b, size_t bstep, int n); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:712:30: error: 'size_t' has not been declared CV_EXPORTS int LU(double* A, size_t astep, int m, double* b, size_t bstep, int n); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:712:62: error: 'size_t' has not been declared CV_EXPORTS int LU(double* A, size_t astep, int m, double* b, size_t bstep, int n); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:713:36: error: 'size_t' has not been declared CV_EXPORTS bool Cholesky(float* A, size_t astep, int m, float* b, size_t bstep, int n); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:713:67: error: 'size_t' has not been declared CV_EXPORTS bool Cholesky(float* A, size_t astep, int m, float* b, size_t bstep, int n); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:714:37: error: 'size_t' has not been declared CV_EXPORTS bool Cholesky(double* A, size_t astep, int m, double* b, size_t bstep, int n); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:714:69: error: 'size_t' has not been declared CV_EXPORTS bool Cholesky(double* A, size_t astep, int m, double* b, size_t bstep, int n); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2286:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t size; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2287:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t capacity; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2291:19: error: expected ')' before '_size' Vector(size_t _size) { resize(_size); } ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2292:19: error: expected ')' before '_size' Vector(size_t _size, const _Tp& val) ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2298:24: error: 'size_t' has not been declared Vector(_Tp* _data, size_t _size, bool _copyData=false) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2365:23: error: declaration of 'operator[]' as non-function _Tp& operator [] (size_t i) { CV_DbgAssert( i < size() ); return hdr.data[i]; } ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2365:20: error: expected ';' at end of member declaration _Tp& operator [] (size_t i) { CV_DbgAssert( i < size() ); return hdr.data[i]; } ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2365:30: error: expected ')' before 'i' _Tp& operator [] (size_t i) { CV_DbgAssert( i < size() ); return hdr.data[i]; } ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2366:29: error: declaration of 'operator[]' as non-function const _Tp& operator [] (size_t i) const { CV_DbgAssert( i < size() ); return hdr.data[i]; } ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2366:26: error: expected ';' at end of member declaration const _Tp& operator [] (size_t i) const { CV_DbgAssert( i < size() ); return hdr.data[i]; } ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2366:36: error: expected ')' before 'i' const _Tp& operator [] (size_t i) const { CV_DbgAssert( i < size() ); return hdr.data[i]; } ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2389:26: error: 'size_t' has not been declared void set(_Tp* _data, size_t _size, bool _copyData=false) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2407:18: error: 'size_t' has not been declared void reserve(size_t newCapacity) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2426:17: error: 'size_t' has not been declared void resize(size_t newSize) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2454:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t size() const { return hdr.size; } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2455:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t capacity() const { return hdr.capacity; } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In constructor 'cv::Vector<_Tp>::Hdr::Hdr()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2282:53: error: class 'cv::Vector<_Tp>::Hdr' does not have any field named 'size' Hdr() : data(0), datastart(0), refcount(0), size(0), capacity(0) {}; ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2282:62: error: class 'cv::Vector<_Tp>::Hdr' does not have any field named 'capacity' Hdr() : data(0), datastart(0), refcount(0), size(0), capacity(0) {}; ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'void cv::Vector<_Tp>::copyTo(cv::Vector<_Tp>&) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2344:9: error: 'size_t' was not declared in this scope size_t i, sz = size(); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2344:9: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2345:20: error: 'sz' was not declared in this scope vec.resize(sz); ^~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2348:14: error: 'i' was not declared in this scope for( i = 0; i < sz; i++ ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'void cv::Vector<_Tp>::copyTo(std::vector&) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2354:9: error: 'size_t' was not declared in this scope size_t i, sz = size(); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2354:9: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2355:20: error: 'sz' was not declared in this scope vec.resize(sz); ^~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2358:14: error: 'i' was not declared in this scope for( i = 0; i < sz; i++ ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'cv::Vector<_Tp>::operator CvMat() const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2363:25: error: there are no arguments to 'size' that depend on a template parameter, so a declaration of 'size' must be available [-fpermissive] { return cvMat((int)size(), 1, type(), (void*)hdr.data); } ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2363:25: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'void cv::Vector<_Tp>::set(_Tp*, int, bool)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2401:18: error: 'size_t' was not declared in this scope for( size_t i = 0; i < _size; i++ ) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2401:18: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2401:32: error: 'i' was not declared in this scope for( size_t i = 0; i < _size; i++ ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'void cv::Vector<_Tp>::reserve(int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2411:9: error: 'size_t' was not declared in this scope size_t i, oldSize = hdr.size; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2411:9: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2414:45: error: 'oldSize' was not declared in this scope newCapacity = std::max(newCapacity, oldSize); ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2414:45: note: suggested alternative: 'Size' newCapacity = std::max(newCapacity, oldSize); ^~~~~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2417:14: error: 'i' was not declared in this scope for( i = 0; i < oldSize; i++ ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'void cv::Vector<_Tp>::resize(int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2428:9: error: 'size_t' was not declared in this scope size_t i; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2428:9: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2429:45: error: expected ')' before numeric constant newSize = std::max(newSize, (size_t)0); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2433:56: error: expected ')' before numeric constant reserve(std::max(newSize, std::max((size_t)4, hdr.capacity*2))); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2434:14: error: 'i' was not declared in this scope for( i = hdr.size; i < newSize; i++ ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'cv::Vector<_Tp>& cv::Vector<_Tp>::push_back(const _Tp&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2442:32: error: 'size_t' was not declared in this scope reserve( std::max((size_t)4, hdr.capacity*2) ); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2442:32: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In function 'typename cv::DataType<_Tp>::work_type cv::dot(const cv::Vector<_Tp>&, const cv::Vector<_Tp>&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2469:5: error: 'size_t' was not declared in this scope size_t i = 0, n = v1.size(); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2469:5: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2474:12: error: 'i' was not declared in this scope for( ; i < n; i++ ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2474:16: error: 'n' was not declared in this scope for( ; i < n; i++ ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2540:24: error: 'size_t' has not been declared template inline AutoBuffer<_Tp, fixed_size>::AutoBuffer() ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2540:66: error: 'fixed_size' was not declared in this scope template inline AutoBuffer<_Tp, fixed_size>::AutoBuffer() ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2540:76: error: template argument 2 is invalid template inline AutoBuffer<_Tp, fixed_size>::AutoBuffer() ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2540:79: error: conflicting declaration of template 'template > int cv::AutoBuffer()' template inline AutoBuffer<_Tp, fixed_size>::AutoBuffer() ^~~~~~~~~~ In file included from E:\project\SIFT-master\sift.cpp:9:0: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3221:68: note: previous declaration 'template > class cv::AutoBuffer' template class AutoBuffer ^~~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2546:24: error: 'size_t' has not been declared template inline AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t _size) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2546:66: error: 'fixed_size' was not declared in this scope template inline AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t _size) ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2546:76: error: template argument 2 is invalid template inline AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t _size) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2546:90: warning: inline variables are only available with -std=c++1z or -std=gnu++1z template inline AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t _size) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2546:90: error: conflicting declaration of template 'template > int cv::AutoBuffer' In file included from E:\project\SIFT-master\sift.cpp:9:0: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3221:68: note: previous declaration 'template > class cv::AutoBuffer' template class AutoBuffer ^~~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2546:90: error: 'size_t' was not declared in this scope template inline AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t _size) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2546:90: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2553:24: error: 'size_t' has not been declared template inline AutoBuffer<_Tp, fixed_size>::~AutoBuffer() ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2553:66: error: 'fixed_size' was not declared in this scope template inline AutoBuffer<_Tp, fixed_size>::~AutoBuffer() ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2553:76: error: template argument 2 is invalid template inline AutoBuffer<_Tp, fixed_size>::~AutoBuffer() ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2556:24: error: 'size_t' has not been declared template inline void AutoBuffer<_Tp, fixed_size>::allocate(size_t _size) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2556:71: error: 'fixed_size' was not declared in this scope template inline void AutoBuffer<_Tp, fixed_size>::allocate(size_t _size) ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2556:81: error: template argument 2 is invalid template inline void AutoBuffer<_Tp, fixed_size>::allocate(size_t _size) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2556:93: error: variable or field 'allocate' declared void template inline void AutoBuffer<_Tp, fixed_size>::allocate(size_t _size) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2556:93: error: 'size_t' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2556:93: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2568:24: error: 'size_t' has not been declared template inline void AutoBuffer<_Tp, fixed_size>::deallocate() ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2568:71: error: 'fixed_size' was not declared in this scope template inline void AutoBuffer<_Tp, fixed_size>::deallocate() ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2568:81: error: template argument 2 is invalid template inline void AutoBuffer<_Tp, fixed_size>::deallocate() ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In function 'void cv::deallocate()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2570:9: error: 'ptr' was not declared in this scope if( ptr != buf ) ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2570:9: note: suggested alternative: 'Ptr' if( ptr != buf ) ^~~ Ptr C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2570:16: error: 'buf' was not declared in this scope if( ptr != buf ) ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2572:34: error: 'size' was not declared in this scope cv::deallocate<_Tp>(ptr, size); ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2572:34: note: suggested alternative: 'Size' cv::deallocate<_Tp>(ptr, size); ^~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2574:16: error: 'fixed_size' was not declared in this scope size = fixed_size; ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2578:24: error: 'size_t' has not been declared template inline AutoBuffer<_Tp, fixed_size>::operator _Tp* () ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2578:66: error: 'fixed_size' was not declared in this scope template inline AutoBuffer<_Tp, fixed_size>::operator _Tp* () ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2578:76: error: template argument 2 is invalid template inline AutoBuffer<_Tp, fixed_size>::operator _Tp* () ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2578:94: error: 'cv::operator _Tp*()' must be a nonstatic member function template inline AutoBuffer<_Tp, fixed_size>::operator _Tp* () ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2581:24: error: 'size_t' has not been declared template inline AutoBuffer<_Tp, fixed_size>::operator const _Tp* () const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2581:66: error: 'fixed_size' was not declared in this scope template inline AutoBuffer<_Tp, fixed_size>::operator const _Tp* () const ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2581:76: error: template argument 2 is invalid template inline AutoBuffer<_Tp, fixed_size>::operator const _Tp* () const ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2581:102: error: non-member function 'cv::operator const _Tp*()' cannot have cv-qualifier template inline AutoBuffer<_Tp, fixed_size>::operator const _Tp* () const ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2581:102: error: 'cv::operator const _Tp*()' must be a nonstatic member function C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In constructor 'cv::Ptr<_Tp>::Ptr(_Tp*)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2592:54: error: 'cv::fastMalloc' cannot be used as a function refcount = (int*)fastMalloc(sizeof(*refcount)); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'void cv::VecWriterProxy<_Tp, numflag>::operator()(const std::vector&) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2939:9: error: 'size_t' was not declared in this scope size_t i, count = vec.size(); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2939:9: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2940:14: error: 'i' was not declared in this scope for( i = 0; i < count; i++ ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2940:25: error: 'count' was not declared in this scope for( i = 0; i < count; i++ ) ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2940:25: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\algorithm:62:0, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_array.hxx:41, from E:\project\SIFT-master\sift.hpp:8, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\bits\stl_algo.h:4076:5: note: 'std::count' count(_InputIterator __first, _InputIterator __last, const _Tp& __value) ^~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3010:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t FileNode::size() const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3156:63: error: 'size_t' has not been declared inline void FileNode::readRaw( const string& fmt, uchar* vec, size_t len ) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3165:39: error: 'size_t' has not been declared void operator()(vector<_Tp>& vec, size_t count) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'void cv::VecReaderProxy<_Tp, numflag>::operator()(std::vector&, int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3167:37: error: 'class cv::FileNodeIterator' has no member named 'remaining' count = std::min(count, it->remaining); ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3169:14: error: 'size_t' was not declared in this scope for( size_t i = 0; i < count; i++, ++(*it) ) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3169:14: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3169:28: error: 'i' was not declared in this scope for( size_t i = 0; i < count; i++, ++(*it) ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3169:28: note: suggested alternative: 'it' for( size_t i = 0; i < count; i++, ++(*it) ) ^ it C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3179:39: error: 'size_t' has not been declared void operator()(vector<_Tp>& vec, size_t count) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'void cv::VecReaderProxy<_Tp, 1>::operator()(std::vector&, int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3181:9: error: 'size_t' was not declared in this scope size_t remaining = it->remaining, cn = DataType<_Tp>::channels; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3181:9: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3184:16: error: expected ';' before 'remaining1' size_t remaining1 = remaining/cn; ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3185:25: error: 'remaining1' was not declared in this scope count = count < remaining1 ? count : remaining1; ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3185:25: note: suggested alternative: 'remainderl' count = count < remaining1 ? count : remaining1; ^~~~~~~~~~ remainderl C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3193:47: error: 'size_t' has not been declared read( FileNodeIterator& it, vector<_Tp>& vec, size_t maxCount=(size_t)INT_MAX ) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3193:64: error: 'size_t' was not declared in this scope read( FileNodeIterator& it, vector<_Tp>& vec, size_t maxCount=(size_t)INT_MAX ) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3193:64: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:10:0, from c:\mingw\include\c++\7.1.0\bits\std_abs.h:38, from c:\mingw\include\c++\7.1.0\cmath:47, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3193:71: error: expected ',' or '...' before numeric constant read( FileNodeIterator& it, vector<_Tp>& vec, size_t maxCount=(size_t)INT_MAX ) ^ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'cv::FileNodeIterator cv::FileNode::end() const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3218:39: error: 'size' was not declared in this scope return FileNodeIterator(fs, node, size()); ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3218:39: note: suggested alternative: 'Size' return FileNodeIterator(fs, node, size()); ^~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In function 'cv::FileNodeIterator& cv::operator>>(cv::FileNodeIterator&, std::vector&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3234:13: error: 'size_t' was not declared in this scope r(vec, (size_t)INT_MAX); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3234:13: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In function 'bool cv::operator==(const cv::FileNodeIterator&, const cv::FileNodeIterator&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3247:49: error: 'const class cv::FileNodeIterator' has no member named 'remaining' it1.reader.ptr == it2.reader.ptr && it1.remaining == it2.remaining; ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3247:66: error: 'const class cv::FileNodeIterator' has no member named 'remaining' it1.reader.ptr == it2.reader.ptr && it1.remaining == it2.remaining; ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In function 'std::ptrdiff_t cv::operator-(const cv::FileNodeIterator&, const cv::FileNodeIterator&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3257:16: error: 'const class cv::FileNodeIterator' has no member named 'remaining' return it2.remaining - it1.remaining; ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3257:32: error: 'const class cv::FileNodeIterator' has no member named 'remaining' return it2.remaining - it1.remaining; ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In function 'bool cv::operator<(const cv::FileNodeIterator&, const cv::FileNodeIterator&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3262:16: error: 'const class cv::FileNodeIterator' has no member named 'remaining' return it1.remaining > it2.remaining; ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3262:32: error: 'const class cv::FileNodeIterator' has no member named 'remaining' return it1.remaining > it2.remaining; ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In function 'void cv::sort(std::vector&, _LT)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3338:5: error: 'size_t' was not declared in this scope size_t total = vec.size(); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3338:5: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3340:9: error: 'total' was not declared in this scope if( total <= 1 ) ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3345:26: error: 'total' was not declared in this scope stack[0].ub = arr + (total - 1); ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3655:31: error: 'size_t' does not name a type; did you mean 'ssize_t'? template inline size_t Seq<_Tp>::size() const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3667:31: error: 'size_t' does not name a type; did you mean 'ssize_t'? template inline size_t Seq<_Tp>::elemSize() const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3670:31: error: 'size_t' does not name a type; did you mean 'ssize_t'? template inline size_t Seq<_Tp>::index(const _Tp& elem) const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3679:73: error: 'size_t' has not been declared template inline void Seq<_Tp>::push_back(const _Tp* elem, size_t count) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3682:74: error: 'size_t' has not been declared template inline void Seq<_Tp>::push_front(const _Tp* elem, size_t count) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3709:66: error: 'size_t' has not been declared template inline void Seq<_Tp>::pop_back(_Tp* elem, size_t count) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3712:67: error: 'size_t' has not been declared template inline void Seq<_Tp>::pop_front(_Tp* elem, size_t count) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3718:80: error: 'size_t' has not been declared template inline void Seq<_Tp>::insert(int idx, const _Tp* elems, size_t count) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'void cv::Seq<_Tp>::copyTo(std::vector&, const cv::Range&) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3732:5: error: 'size_t' was not declared in this scope size_t len = !seq ? 0 : range == Range::all() ? seq->total : range.end - range.start; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3732:5: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3733:16: error: 'len' was not declared in this scope vec.resize(len); ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3754:59: error: variable or field 'seek' declared void template inline void SeqIterator<_Tp>::seek(size_t pos) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3754:59: error: 'size_t' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3754:59: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3760:31: error: 'size_t' does not name a type; did you mean 'ssize_t'? template inline size_t SeqIterator<_Tp>::tell() const ^~~~~~ ssize_t In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In copy constructor 'cv::Mat::Mat(const cv::Mat&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:120:13: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = m.step[0]; step[1] = m.step[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:120:25: error: no match for 'operator[]' (operand types are 'const cv::Mat::MStep' and 'int') step[0] = m.step[0]; step[1] = m.step[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:120:34: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = m.step[0]; step[1] = m.step[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:120:46: error: no match for 'operator[]' (operand types are 'const cv::Mat::MStep' and 'int') step[0] = m.step[0]; step[1] = m.step[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:129:63: error: 'size_t' has not been declared inline Mat::Mat(int _rows, int _cols, int _type, void* _data, size_t _step) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(int, int, int, void*, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:134:5: error: 'size_t' was not declared in this scope size_t esz = CV_ELEM_SIZE(_type), minstep = cols*esz; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:134:5: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:137:17: error: 'minstep' was not declared in this scope _step = minstep; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:137:17: note: suggested alternative: 'step' _step = minstep; ^~~~~~~ step C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:142:33: error: 'minstep' was not declared in this scope if( rows == 1 ) _step = minstep; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:142:33: note: suggested alternative: 'step' if( rows == 1 ) _step = minstep; ^~~~~~~ step C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:144:27: error: 'minstep' was not declared in this scope flags |= _step == minstep ? CONTINUOUS_FLAG : 0; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:144:27: note: suggested alternative: 'step' flags |= _step == minstep ? CONTINUOUS_FLAG : 0; ^~~~~~~ step C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:146:9: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = _step; step[1] = esz; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:146:26: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = _step; step[1] = esz; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:146:32: error: 'esz' was not declared in this scope step[0] = _step; step[1] = esz; ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:148:35: error: 'minstep' was not declared in this scope dataend = datalimit - _step + minstep; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:148:35: note: suggested alternative: 'step' dataend = datalimit - _step + minstep; ^~~~~~~ step C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:151:51: error: 'size_t' has not been declared inline Mat::Mat(Size _sz, int _type, void* _data, size_t _step) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(cv::Size, int, void*, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:156:5: error: 'size_t' was not declared in this scope size_t esz = CV_ELEM_SIZE(_type), minstep = cols*esz; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:156:5: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:159:17: error: 'minstep' was not declared in this scope _step = minstep; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:159:17: note: suggested alternative: 'step' _step = minstep; ^~~~~~~ step C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:164:33: error: 'minstep' was not declared in this scope if( rows == 1 ) _step = minstep; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:164:33: note: suggested alternative: 'step' if( rows == 1 ) _step = minstep; ^~~~~~~ step C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:166:27: error: 'minstep' was not declared in this scope flags |= _step == minstep ? CONTINUOUS_FLAG : 0; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:166:27: note: suggested alternative: 'step' flags |= _step == minstep ? CONTINUOUS_FLAG : 0; ^~~~~~~ step C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:168:9: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = _step; step[1] = esz; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:168:26: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = _step; step[1] = esz; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:168:32: error: 'esz' was not declared in this scope step[0] = _step; step[1] = esz; ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:168:32: note: suggested alternative: '_sz' step[0] = _step; step[1] = esz; ^~~ _sz C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:170:35: error: 'minstep' was not declared in this scope dataend = datalimit - _step + minstep; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:170:35: note: suggested alternative: 'step' dataend = datalimit - _step + minstep; ^~~~~~~ step C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(const std::vector&, bool)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:183:13: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = step[1] = sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:183:23: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = step[1] = sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:185:52: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') datalimit = dataend = datastart + rows*step[0]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(const cv::Vec<_Tp, m>&, bool)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:199:13: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = step[1] = sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:199:23: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = step[1] = sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:201:52: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') datalimit = dataend = datastart + rows*step[0]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(const cv::Matx<_Tp, m, n>&, bool)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:215:13: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = cols*sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:216:13: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[1] = sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:218:52: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') datalimit = dataend = datastart + rows*step[0]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(const cv::Point_<_Tp>&, bool)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:232:13: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = step[1] = sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:232:23: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = step[1] = sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:234:52: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') datalimit = dataend = datastart + rows*step[0]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(const cv::Point3_<_Tp>&, bool)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:252:13: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = step[1] = sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:252:23: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = step[1] = sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:254:52: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') datalimit = dataend = datastart + rows*step[0]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In destructor 'cv::Mat::~Mat()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:277:14: error: 'struct cv::Mat::MStep' has no member named 'p' if( step.p != step.buf ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:277:24: error: 'struct cv::Mat::MStep' has no member named 'buf' if( step.p != step.buf ) ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:278:23: error: 'struct cv::Mat::MStep' has no member named 'p' fastFree(step.p); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::Mat& cv::Mat::operator=(const cv::Mat&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:294:17: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = m.step[0]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:294:29: error: no match for 'operator[]' (operand types are 'const cv::Mat::MStep' and 'int') step[0] = m.step[0]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:295:17: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[1] = m.step[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:295:29: error: no match for 'operator[]' (operand types are 'const cv::Mat::MStep' and 'int') step[1] = m.step[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::Mat::operator CvMat() const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:391:23: error: no match for 'operator[]' (operand types are 'const cv::Mat::MStep' and 'int') m.step = (int)step[0]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:398:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t Mat::elemSize() const { return dims > 0 ? step.p[dims-1] : 0; } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:399:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t Mat::elemSize1() const { return CV_ELEM_SIZE1(flags); } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:403:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t Mat::step1(int i) const { return step.p[i]/elemSize1(); } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'bool cv::Mat::empty() const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:404:54: error: 'total' was not declared in this scope inline bool Mat::empty() const { return data == 0 || total() == 0; } ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:405:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t Mat::total() const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'uchar* cv::Mat::ptr(int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:418:24: error: 'struct cv::Mat::MStep' has no member named 'p' return data + step.p[0]*y; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const uchar* cv::Mat::ptr(int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:424:24: error: 'const struct cv::Mat::MStep' has no member named 'p' return data + step.p[0]*y; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function '_Tp* cv::Mat::ptr(int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:430:31: error: 'struct cv::Mat::MStep' has no member named 'p' return (_Tp*)(data + step.p[0]*y); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const _Tp* cv::Mat::ptr(int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:436:37: error: 'const struct cv::Mat::MStep' has no member named 'p' return (const _Tp*)(data + step.p[0]*y); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'uchar* cv::Mat::ptr(int, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:445:27: error: 'struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:445:42: error: 'struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const uchar* cv::Mat::ptr(int, int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:453:27: error: 'const struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:453:42: error: 'const struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function '_Tp* cv::Mat::ptr(int, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:461:34: error: 'struct cv::Mat::MStep' has no member named 'p' return (_Tp*)(data + i0*step.p[0] + i1*step.p[1]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:461:49: error: 'struct cv::Mat::MStep' has no member named 'p' return (_Tp*)(data + i0*step.p[0] + i1*step.p[1]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const _Tp* cv::Mat::ptr(int, int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:469:40: error: 'const struct cv::Mat::MStep' has no member named 'p' return (const _Tp*)(data + i0*step.p[0] + i1*step.p[1]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:469:55: error: 'const struct cv::Mat::MStep' has no member named 'p' return (const _Tp*)(data + i0*step.p[0] + i1*step.p[1]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'uchar* cv::Mat::ptr(int, int, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:478:27: error: 'struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:478:42: error: 'struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:478:57: error: 'struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const uchar* cv::Mat::ptr(int, int, int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:487:27: error: 'const struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:487:42: error: 'const struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:487:57: error: 'const struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function '_Tp* cv::Mat::ptr(int, int, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:496:34: error: 'struct cv::Mat::MStep' has no member named 'p' return (_Tp*)(data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:496:49: error: 'struct cv::Mat::MStep' has no member named 'p' return (_Tp*)(data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:496:64: error: 'struct cv::Mat::MStep' has no member named 'p' return (_Tp*)(data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const _Tp* cv::Mat::ptr(int, int, int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:505:40: error: 'const struct cv::Mat::MStep' has no member named 'p' return (const _Tp*)(data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:505:55: error: 'const struct cv::Mat::MStep' has no member named 'p' return (const _Tp*)(data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:505:70: error: 'const struct cv::Mat::MStep' has no member named 'p' return (const _Tp*)(data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'uchar* cv::Mat::ptr(const int*)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:516:26: error: 'struct cv::Mat::MStep' has no member named 'p' p += idx[i]*step.p[i]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const uchar* cv::Mat::ptr(const int*) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:529:26: error: 'const struct cv::Mat::MStep' has no member named 'p' p += idx[i]*step.p[i]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function '_Tp& cv::Mat::at(int, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:539:32: error: 'struct cv::Mat::MStep' has no member named 'p' return ((_Tp*)(data + step.p[0]*i0))[i1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const _Tp& cv::Mat::at(int, int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:547:38: error: 'const struct cv::Mat::MStep' has no member named 'p' return ((const _Tp*)(data + step.p[0]*i0))[i1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function '_Tp& cv::Mat::at(cv::Point)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:555:32: error: 'struct cv::Mat::MStep' has no member named 'p' return ((_Tp*)(data + step.p[0]*pt.y))[pt.x]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const _Tp& cv::Mat::at(cv::Point) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:563:38: error: 'const struct cv::Mat::MStep' has no member named 'p' return ((const _Tp*)(data + step.p[0]*pt.y))[pt.x]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function '_Tp& cv::Mat::at(int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:574:36: error: 'struct cv::Mat::MStep' has no member named 'p' return *(_Tp*)(data + step.p[0]*i0); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:576:32: error: 'struct cv::Mat::MStep' has no member named 'p' return ((_Tp*)(data + step.p[0]*i))[j]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const _Tp& cv::Mat::at(int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:587:42: error: 'const struct cv::Mat::MStep' has no member named 'p' return *(const _Tp*)(data + step.p[0]*i0); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:589:38: error: 'const struct cv::Mat::MStep' has no member named 'p' return ((const _Tp*)(data + step.p[0]*i))[j]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::MatConstIterator_<_Tp> cv::Mat::end() const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:634:11: error: there are no arguments to 'total' that depend on a template parameter, so a declaration of 'total' must be available [-fpermissive] it += total(); ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::MatIterator_<_Tp> cv::Mat::end()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:648:11: error: there are no arguments to 'total' that depend on a template parameter, so a declaration of 'total' must be available [-fpermissive] it += total(); ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'void cv::Mat::push_back(const _Tp&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:694:32: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') uchar* tmp = dataend + step[0]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:697:43: error: 'struct cv::Mat::MStep' has no member named 'p' *(_Tp*)(data + (size.p[0]++)*step.p[0]) = elem; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::Mat::MStep::MStep()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:738:30: error: 'p' was not declared in this scope inline Mat::MStep::MStep() { p = buf; p[0] = p[1] = 0; } ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:738:34: error: 'buf' was not declared in this scope inline Mat::MStep::MStep() { p = buf; p[0] = p[1] = 0; } ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:739:26: warning: inline variables are only available with -std=c++1z or -std=gnu++1z inline Mat::MStep::MStep(size_t s) { p = buf; p[0] = s; p[1] = 0; } ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:739:26: error: 'int cv::Mat::MStep::MStep' is not a static data member of 'struct cv::Mat::MStep' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:739:26: error: 'size_t' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:739:26: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:740:14: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline const size_t& Mat::MStep::operator[](int i) const { return p[i]; } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:741:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t& Mat::MStep::operator[](int i) { return p[i]; } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:742:29: error: expected type-specifier before 'size_t' inline Mat::MStep::operator size_t() const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:747:44: error: declaration of 'operator=' as non-function inline Mat::MStep& Mat::MStep::operator = (size_t s) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:747:44: error: 'size_t' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:747:44: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:824:92: error: 'size_t' does not name a type; did you mean 'ssize_t'? template inline Mat_<_Tp>::Mat_(int _dims, const int* _sz, _Tp* _data, const size_t* _steps) ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:836:81: error: 'size_t' has not been declared template inline Mat_<_Tp>::Mat_(int _rows, int _cols, _Tp* _data, size_t steps) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:945:31: error: 'size_t' does not name a type; did you mean 'ssize_t'? template inline size_t Mat_<_Tp>::elemSize() const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:951:31: error: 'size_t' does not name a type; did you mean 'ssize_t'? template inline size_t Mat_<_Tp>::elemSize1() const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:971:31: error: 'size_t' does not name a type; did you mean 'ssize_t'? template inline size_t Mat_<_Tp>::stepT(int i) const { return step.p[i]/elemSize(); } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:972:31: error: 'size_t' does not name a type; did you mean 'ssize_t'? template inline size_t Mat_<_Tp>::step1(int i) const { return step.p[i]/elemSize1(); } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function '_Tp& cv::Mat_<_Tp>::operator()(int, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:997:32: error: 'struct cv::Mat::MStep' has no member named 'p' return ((_Tp*)(data + step.p[0]*i0))[i1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const _Tp& cv::Mat_<_Tp>::operator()(int, int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1006:38: error: 'const struct cv::Mat::MStep' has no member named 'p' return ((const _Tp*)(data + step.p[0]*i0))[i1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function '_Tp& cv::Mat_<_Tp>::operator()(cv::Point)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1015:32: error: 'struct cv::Mat::MStep' has no member named 'p' return ((_Tp*)(data + step.p[0]*pt.y))[pt.x]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const _Tp& cv::Mat_<_Tp>::operator()(cv::Point) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1024:38: error: 'const struct cv::Mat::MStep' has no member named 'p' return ((const _Tp*)(data + step.p[0]*pt.y))[pt.x]; ^ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::MatConstIterator::MatConstIterator()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1716:13: error: class 'cv::MatConstIterator' does not have any field named 'elemSize' : m(0), elemSize(0), ptr(0), sliceStart(0), sliceEnd(0) {} ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::MatConstIterator::MatConstIterator(const cv::Mat*)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1719:14: error: class 'cv::MatConstIterator' does not have any field named 'elemSize' : m(_m), elemSize(_m->elemSize()), ptr(0), sliceStart(0), sliceEnd(0) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1719:27: error: 'const class cv::Mat' has no member named 'elemSize'; did you mean 'resize'? : m(_m), elemSize(_m->elemSize()), ptr(0), sliceStart(0), sliceEnd(0) ^~~~~~~~ resize C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1724:36: error: 'const class cv::Mat' has no member named 'total' sliceEnd = sliceStart + m->total()*elemSize; ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1724:44: error: 'elemSize' was not declared in this scope sliceEnd = sliceStart + m->total()*elemSize; ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1724:44: note: suggested alternative: 'Size' sliceEnd = sliceStart + m->total()*elemSize; ^~~~~~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::MatConstIterator::MatConstIterator(const cv::Mat*, int, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1730:14: error: class 'cv::MatConstIterator' does not have any field named 'elemSize' : m(_m), elemSize(_m->elemSize()), ptr(0), sliceStart(0), sliceEnd(0) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1730:27: error: 'const class cv::Mat' has no member named 'elemSize'; did you mean 'resize'? : m(_m), elemSize(_m->elemSize()), ptr(0), sliceStart(0), sliceEnd(0) ^~~~~~~~ resize C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1736:36: error: 'const class cv::Mat' has no member named 'total' sliceEnd = sliceStart + m->total()*elemSize; ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1736:44: error: 'elemSize' was not declared in this scope sliceEnd = sliceStart + m->total()*elemSize; ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1736:44: note: suggested alternative: 'Size' sliceEnd = sliceStart + m->total()*elemSize; ^~~~~~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::MatConstIterator::MatConstIterator(const cv::Mat*, cv::Point)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1743:14: error: class 'cv::MatConstIterator' does not have any field named 'elemSize' : m(_m), elemSize(_m->elemSize()), ptr(0), sliceStart(0), sliceEnd(0) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1743:27: error: 'const class cv::Mat' has no member named 'elemSize'; did you mean 'resize'? : m(_m), elemSize(_m->elemSize()), ptr(0), sliceStart(0), sliceEnd(0) ^~~~~~~~ resize C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1749:36: error: 'const class cv::Mat' has no member named 'total' sliceEnd = sliceStart + m->total()*elemSize; ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1749:44: error: 'elemSize' was not declared in this scope sliceEnd = sliceStart + m->total()*elemSize; ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1749:44: note: suggested alternative: 'Size' sliceEnd = sliceStart + m->total()*elemSize; ^~~~~~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In copy constructor 'cv::MatConstIterator::MatConstIterator(const cv::MatConstIterator&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1756:16: error: class 'cv::MatConstIterator' does not have any field named 'elemSize' : m(it.m), elemSize(it.elemSize), ptr(it.ptr), sliceStart(it.sliceStart), sliceEnd(it.sliceEnd) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1756:28: error: 'const class cv::MatConstIterator' has no member named 'elemSize' : m(it.m), elemSize(it.elemSize), ptr(it.ptr), sliceStart(it.sliceStart), sliceEnd(it.sliceEnd) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::MatConstIterator& cv::MatConstIterator::operator=(const cv::MatConstIterator&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1761:15: error: 'elemSize' was not declared in this scope m = it.m; elemSize = it.elemSize; ptr = it.ptr; ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1761:15: note: suggested alternative: 'Size' m = it.m; elemSize = it.elemSize; ptr = it.ptr; ^~~~~~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1761:29: error: 'const class cv::MatConstIterator' has no member named 'elemSize' m = it.m; elemSize = it.elemSize; ptr = it.ptr; ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::MatConstIterator& cv::MatConstIterator::operator+=(std::ptrdiff_t)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1772:26: error: 'elemSize' was not declared in this scope ptrdiff_t ofsb = ofs*elemSize; ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1772:26: note: suggested alternative: 'Size' ptrdiff_t ofsb = ofs*elemSize; ^~~~~~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::MatConstIterator& cv::MatConstIterator::operator--()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1787:22: error: 'elemSize' was not declared in this scope if( m && (ptr -= elemSize) < sliceStart ) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1787:22: note: suggested alternative: 'Size' if( m && (ptr -= elemSize) < sliceStart ) ^~~~~~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::MatConstIterator& cv::MatConstIterator::operator++()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1804:22: error: 'elemSize' was not declared in this scope if( m && (ptr += elemSize) >= sliceEnd ) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1804:22: note: suggested alternative: 'Size' if( m && (ptr += elemSize) >= sliceEnd ) ^~~~~~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::Point cv::MatConstIterator_<_Tp>::pos() const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:27: error: no match for 'operator/' (operand types are 'std::ptrdiff_t {aka long long int}' and 'const cv::Mat::MStep') int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ~~~~^~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1418:1: note: candidate: template cv::Vec<_Tp, m> cv::operator/(const cv::Vec<_Tp, m>&, int) operator / (const Vec<_Tp, cn>& a, int alpha) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1418:1: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: mismatched types 'const cv::Vec<_Tp, m>' and 'std::ptrdiff_t {aka long long int}' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1424:1: note: candidate: template cv::Vec<_Tp, m> cv::operator/(const cv::Vec<_Tp, m>&, float) operator / (const Vec<_Tp, cn>& a, float alpha) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1424:1: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: mismatched types 'const cv::Vec<_Tp, m>' and 'std::ptrdiff_t {aka long long int}' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1430:1: note: candidate: template cv::Vec<_Tp, m> cv::operator/(const cv::Vec<_Tp, m>&, double) operator / (const Vec<_Tp, cn>& a, double alpha) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1430:1: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: mismatched types 'const cv::Vec<_Tp, m>' and 'std::ptrdiff_t {aka long long int}' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1586:14: note: candidate: template cv::Complex<_Tp> cv::operator/(const cv::Complex<_Tp>&, const cv::Complex<_Tp>&) Complex<_Tp> operator / (const Complex<_Tp>& a, const Complex<_Tp>& b) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1586:14: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: mismatched types 'const cv::Complex<_Tp>' and 'std::ptrdiff_t {aka long long int}' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1600:14: note: candidate: template cv::Complex<_Tp> cv::operator/(const cv::Complex<_Tp>&, _Tp) Complex<_Tp> operator / (const Complex<_Tp>& a, _Tp b) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1600:14: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: mismatched types 'const cv::Complex<_Tp>' and 'std::ptrdiff_t {aka long long int}' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1607:14: note: candidate: template cv::Complex<_Tp> cv::operator/(_Tp, const cv::Complex<_Tp>&) Complex<_Tp> operator / (_Tp b, const Complex<_Tp>& a) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1607:14: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: 'const cv::Mat::MStep' is not derived from 'const cv::Complex<_Tp>' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2159:14: note: candidate: template cv::Scalar_<_Tp> cv::operator/(const cv::Scalar_<_Tp>&, _Tp) Scalar_<_Tp> operator / (const Scalar_<_Tp>& a, _Tp alpha) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2159:14: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: mismatched types 'const cv::Scalar_<_Tp>' and 'std::ptrdiff_t {aka long long int}' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2168:16: note: candidate: template cv::Scalar_ cv::operator/(const cv::Scalar_&, float) Scalar_ operator / (const Scalar_& a, float alpha) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2168:16: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: couldn't deduce template parameter '_Tp' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2175:17: note: candidate: template cv::Scalar_ cv::operator/(const cv::Scalar_&, double) Scalar_ operator / (const Scalar_& a, double alpha) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2175:17: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: couldn't deduce template parameter '_Tp' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2189:14: note: candidate: template cv::Scalar_<_Tp> cv::operator/(_Tp, const cv::Scalar_<_Tp>&) Scalar_<_Tp> operator / (_Tp a, const Scalar_<_Tp>& b) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2189:14: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: 'const cv::Mat::MStep' is not derived from 'const cv::Scalar_<_Tp>' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2196:14: note: candidate: template cv::Scalar_<_Tp> cv::operator/(const cv::Scalar_<_Tp>&, const cv::Scalar_<_Tp>&) Scalar_<_Tp> operator / (const Scalar_<_Tp>& a, const Scalar_<_Tp>& b) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2196:14: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: mismatched types 'const cv::Scalar_<_Tp>' and 'std::ptrdiff_t {aka long long int}' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1297:20: note: candidate: cv::MatExpr cv::operator/(const cv::Mat&, const cv::Mat&) CV_EXPORTS MatExpr operator / (const Mat& a, const Mat& b); ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1297:20: note: no known conversion for argument 1 from 'std::ptrdiff_t {aka long long int}' to 'const cv::Mat&' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1298:20: note: candidate: cv::MatExpr cv::operator/(const cv::Mat&, double) CV_EXPORTS MatExpr operator / (const Mat& a, double s); ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1298:20: note: no known conversion for argument 1 from 'std::ptrdiff_t {aka long long int}' to 'const cv::Mat&' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1299:20: note: candidate: cv::MatExpr cv::operator/(double, const cv::Mat&) CV_EXPORTS MatExpr operator / (double s, const Mat& a); ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1299:20: note: no known conversion for argument 2 from 'const cv::Mat::MStep' to 'const cv::Mat&' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1300:20: note: candidate: cv::MatExpr cv::operator/(const cv::MatExpr&, const cv::Mat&) CV_EXPORTS MatExpr operator / (const MatExpr& e, const Mat& m); ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1300:20: note: no known conversion for argument 1 from 'std::ptrdiff_t {aka long long int}' to 'const cv::MatExpr&' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1301:20: note: candidate: cv::MatExpr cv::operator/(const cv::Mat&, const cv::MatExpr&) CV_EXPORTS MatExpr operator / (const Mat& m, const MatExpr& e); ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1301:20: note: no known conversion for argument 1 from 'std::ptrdiff_t {aka long long int}' to 'const cv::Mat&' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1302:20: note: candidate: cv::MatExpr cv::operator/(const cv::MatExpr&, double) CV_EXPORTS MatExpr operator / (const MatExpr& e, double s); ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1302:20: note: no known conversion for argument 1 from 'std::ptrdiff_t {aka long long int}' to 'const cv::MatExpr&' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1303:20: note: candidate: cv::MatExpr cv::operator/(double, const cv::MatExpr&) CV_EXPORTS MatExpr operator / (double s, const MatExpr& e); ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1303:20: note: no known conversion for argument 2 from 'const cv::Mat::MStep' to 'const cv::MatExpr&' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1304:20: note: candidate: cv::MatExpr cv::operator/(const cv::MatExpr&, const cv::MatExpr&) CV_EXPORTS MatExpr operator / (const MatExpr& e1, const MatExpr& e2); ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1304:20: note: no known conversion for argument 1 from 'std::ptrdiff_t {aka long long int}' to 'const cv::MatExpr&' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1958:22: error: 'x' was not declared in this scope return Point(x, y); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2153:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t SparseMat::elemSize() const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2156:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t SparseMat::elemSize1() const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2188:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t SparseMat::nzcount() const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2193:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t SparseMat::hash(int i0) const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2198:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t SparseMat::hash(int i0, int i1) const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2203:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t SparseMat::hash(int i0, int i1, int i2) const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2208:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t SparseMat::hash(const int* idx) const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2219:59: error: 'size_t' has not been declared template inline _Tp& SparseMat::ref(int i0, size_t* hashval) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2222:67: error: 'size_t' has not been declared template inline _Tp& SparseMat::ref(int i0, int i1, size_t* hashval) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2225:75: error: 'size_t' has not been declared template inline _Tp& SparseMat::ref(int i0, int i1, int i2, size_t* hashval) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2228:67: error: 'size_t' has not been declared template inline _Tp& SparseMat::ref(const int* idx, size_t* hashval) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2231:60: error: 'size_t' has not been declared template inline _Tp SparseMat::value(int i0, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2237:68: error: 'size_t' has not been declared template inline _Tp SparseMat::value(int i0, int i1, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2243:76: error: 'size_t' has not been declared template inline _Tp SparseMat::value(int i0, int i1, int i2, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2249:68: error: 'size_t' has not been declared template inline _Tp SparseMat::value(const int* idx, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2255:66: error: 'size_t' has not been declared template inline const _Tp* SparseMat::find(int i0, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2258:74: error: 'size_t' has not been declared template inline const _Tp* SparseMat::find(int i0, int i1, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2261:82: error: 'size_t' has not been declared template inline const _Tp* SparseMat::find(int i0, int i1, int i2, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2264:74: error: 'size_t' has not been declared template inline const _Tp* SparseMat::find(const int* idx, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2273:41: warning: inline variables are only available with -std=c++1z or -std=gnu++1z inline SparseMat::Node* SparseMat::node(size_t nidx) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2273:41: error: 'cv::SparseMat::Node* cv::SparseMat::node' is not a static data member of 'class cv::SparseMat' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2273:41: error: 'size_t' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2273:41: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2276:47: warning: inline variables are only available with -std=c++1z or -std=gnu++1z inline const SparseMat::Node* SparseMat::node(size_t nidx) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2276:47: error: 'const cv::SparseMat::Node* cv::SparseMat::node' is not a static data member of 'class cv::SparseMat' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2276:47: error: 'size_t' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2276:47: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\sift.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::SparseMatConstIterator::SparseMatConstIterator()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2305:9: error: class 'cv::SparseMatConstIterator' does not have any field named 'hashidx' : m(0), hashidx(0), ptr(0) ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In copy constructor 'cv::SparseMatConstIterator::SparseMatConstIterator(const cv::SparseMatConstIterator&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2310:12: error: class 'cv::SparseMatConstIterator' does not have any field named 'hashidx' : m(it.m), hashidx(it.hashidx), ptr(it.ptr) ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2310:23: error: 'const class cv::SparseMatConstIterator' has no member named 'hashidx' : m(it.m), hashidx(it.hashidx), ptr(it.ptr) ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::SparseMatConstIterator& cv::SparseMatConstIterator::operator=(const cv::SparseMatConstIterator&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2326:9: error: 'hashidx' was not declared in this scope hashidx = it.hashidx; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2326:22: error: 'const class cv::SparseMatConstIterator' has no member named 'hashidx' hashidx = it.hashidx; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'void cv::SparseMatConstIterator::seekEnd()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2353:9: error: 'hashidx' was not declared in this scope hashidx = m->hdr->hashtab.size(); ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2353:35: error: request for member 'size' in '((cv::SparseMat::Hdr*)((cv::SparseMatConstIterator*)this)->cv::SparseMatConstIterator::m->cv::SparseMat::hdr)->cv::SparseMat::Hdr::hashtab', which is of non-class type 'int' hashidx = m->hdr->hashtab.size(); ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2489:30: error: 'size_t' has not been declared SparseMat_<_Tp>::ref(int i0, size_t* hashval) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2493:37: error: 'size_t' has not been declared SparseMat_<_Tp>::operator()(int i0, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2497:38: error: 'size_t' has not been declared SparseMat_<_Tp>::ref(int i0, int i1, size_t* hashval) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2501:45: error: 'size_t' has not been declared SparseMat_<_Tp>::operator()(int i0, int i1, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2505:46: error: 'size_t' has not been declared SparseMat_<_Tp>::ref(int i0, int i1, int i2, size_t* hashval) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2509:53: error: 'size_t' has not been declared SparseMat_<_Tp>::operator()(int i0, int i1, int i2, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2513:38: error: 'size_t' has not been declared SparseMat_<_Tp>::ref(const int* idx, size_t* hashval) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2517:45: error: 'size_t' has not been declared SparseMat_<_Tp>::operator()(const int* idx, size_t* hashval) const ^~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/highgui/highgui_c.h:45:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/highgui/highgui.hpp:47, from E:\project\SIFT-master\sift.cpp:10: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:61:24: warning: '__cdecl__' attribute only applies to function types [-Wattributes] CVAPI(void*) cvAlloc( size_t size ); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:61:24: warning: 'cvAlloc' initialized and declared 'extern' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:61:24: error: 'size_t' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:61:24: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/highgui/highgui_c.h:45:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/highgui/highgui.hpp:47, from E:\project\SIFT-master\sift.cpp:10: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:939:56: error: 'size_t' has not been declared CVAPI(void*) cvMemStorageAlloc( CvMemStorage* storage, size_t size ); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:946:44: error: 'size_t' has not been declared CVAPI(CvSeq*) cvCreateSeq( int seq_flags, size_t header_size, ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:947:29: error: 'size_t' has not been declared size_t elem_size, CvMemStorage* storage ); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1492:39: warning: '__cdecl__' attribute only applies to function types [-Wattributes] typedef void* (CV_CDECL *CvAllocFunc)(size_t size, void* userdata); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1492:39: error: typedef 'CvAllocFunc' is initialized (use decltype instead) C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1492:39: error: 'size_t' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1492:39: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\cmath:41:0, from E:\project\SIFT-master\sift.hpp:4, from E:\project\SIFT-master\sift.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/highgui/highgui_c.h:45:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/highgui/highgui.hpp:47, from E:\project\SIFT-master\sift.cpp:10: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1492:52: error: expected primary-expression before 'void' typedef void* (CV_CDECL *CvAllocFunc)(size_t size, void* userdata); ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1497:33: error: variable or field 'cvSetMemoryManager' declared void CVAPI(void) cvSetMemoryManager( CvAllocFunc alloc_func CV_DEFAULT(NULL), ^~~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1497:33: error: 'CvAllocFunc' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1497:33: note: suggested alternative: 'CvCloneFunc' CVAPI(void) cvSetMemoryManager( CvAllocFunc alloc_func CV_DEFAULT(NULL), ^~~~~~~~~~~ CvCloneFunc C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1498:43: error: expected primary-expression before 'free_func' CvFreeFunc free_func CV_DEFAULT(NULL), ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1499:32: error: expected primary-expression before 'void' void* userdata CV_DEFAULT(NULL)); ^~~~ mingw32-make.exe[3]: *** [CMakeFiles\sift.dir\build.make:63: CMakeFiles/sift.dir/algorithms.cpp.obj] Error 1 mingw32-make.exe[3]: *** Waiting for unfinished jobs.... In file included from C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:44:0, from C:/library/vigra/vigra-1.11.1/include/vigra/linear_algebra.hxx:41, from E:\project\SIFT-master\sift.cpp:8: C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx: In instantiation of 'unsigned int vigra::linalg::singularValueDecomposition(const vigra::MultiArrayView<2, T, S>&, vigra::MultiArrayView<2, T, C2>&, vigra::MultiArrayView<2, T, C3>&, vigra::MultiArrayView<2, T, C4>&) [with T = float; C1 = vigra::StridedArrayTag; C2 = vigra::StridedArrayTag; C3 = vigra::StridedArrayTag; C4 = vigra::StridedArrayTag]': C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:1285:87: required from 'bool vigra::linalg::linearSolve(const vigra::MultiArrayView<2, T, S>&, const vigra::MultiArrayView<2, T, C2>&, vigra::MultiArrayView<2, T, C3>, std::__cxx11::string) [with T = float; C1 = vigra::StridedArrayTag; C2 = vigra::StridedArrayTag; C3 = vigra::StridedArrayTag; std::__cxx11::string = std::__cxx11::basic_string]' E:\project\SIFT-master\sift.cpp:311:61: required from here C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx:120:28: error: 'hypot' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] s(k) = hypot(s(k), a(i, k)); ~~~~~^~~~~~~~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h:647:23: note: 'double hypot(double, double)' declared here, later in the translation unit extern double __cdecl hypot (double, double); /* in libmoldname.a */ ^~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:44:0, from C:/library/vigra/vigra-1.11.1/include/vigra/linear_algebra.hxx:41, from E:\project\SIFT-master\sift.cpp:8: C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx:176:28: error: 'hypot' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] e[k] = hypot(e[k],e[i]); ~~~~~^~~~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h:647:23: note: 'double hypot(double, double)' declared here, later in the translation unit extern double __cdecl hypot (double, double); /* in libmoldname.a */ ^~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:44:0, from C:/library/vigra/vigra-1.11.1/include/vigra/linear_algebra.hxx:41, from E:\project\SIFT-master\sift.cpp:8: C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx:393:32: error: 'hypot' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] Real t( hypot(s(j),f)); ~~~~~^~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h:647:23: note: 'double hypot(double, double)' declared here, later in the translation unit extern double __cdecl hypot (double, double); /* in libmoldname.a */ ^~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:44:0, from C:/library/vigra/vigra-1.11.1/include/vigra/linear_algebra.hxx:41, from E:\project\SIFT-master\sift.cpp:8: C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx:417:31: error: 'hypot' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] Real t(hypot(s(j),f)); ~~~~~^~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h:647:23: note: 'double hypot(double, double)' declared here, later in the translation unit extern double __cdecl hypot (double, double); /* in libmoldname.a */ ^~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:44:0, from C:/library/vigra/vigra-1.11.1/include/vigra/linear_algebra.hxx:41, from E:\project\SIFT-master\sift.cpp:8: C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx:461:33: error: 'hypot' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] Real t = hypot(f,g); ~~~~~^~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h:647:23: note: 'double hypot(double, double)' declared here, later in the translation unit extern double __cdecl hypot (double, double); /* in libmoldname.a */ ^~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:44:0, from C:/library/vigra/vigra-1.11.1/include/vigra/linear_algebra.hxx:41, from E:\project\SIFT-master\sift.cpp:8: C:/library/vigra/vigra-1.11.1/include/vigra/singular_value_decomposition.hxx:478:28: error: 'hypot' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] t = hypot(f,g); ~~~~~^~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h:647:23: note: 'double hypot(double, double)' declared here, later in the translation unit extern double __cdecl hypot (double, double); /* in libmoldname.a */ ^~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/linear_algebra.hxx:41:0, from E:\project\SIFT-master\sift.cpp:8: C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx: In instantiation of 'void vigra::linalg::detail::incrementalMinSingularValueApproximation(const vigra::MultiArrayView<2, T, S>&, vigra::MultiArrayView<2, T, C2>&, SNType&, double) [with T = float; C1 = vigra::StridedArrayTag; C2 = vigra::StridedArrayTag; SNType = float]': C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:545:53: required from 'unsigned int vigra::linalg::detail::qrTransformToTriangularImpl(vigra::MultiArrayView<2, T, S>&, vigra::MultiArrayView<2, T, C2>&, vigra::MultiArrayView<2, T, C3>&, vigra::ArrayVector&, double) [with T = float; C1 = vigra::StridedArrayTag; C2 = vigra::StridedArrayTag; C3 = vigra::StridedArrayTag]' C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:571:39: required from 'unsigned int vigra::linalg::detail::qrTransformToUpperTriangular(vigra::MultiArrayView<2, T, S>&, vigra::MultiArrayView<2, T, C2>&, vigra::ArrayVector&, double) [with T = float; C1 = vigra::StridedArrayTag; C2 = vigra::StridedArrayTag]' C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:1030:78: required from 'bool vigra::linalg::qrDecomposition(const vigra::MultiArrayView<2, T, S>&, vigra::MultiArrayView<2, T, C2>&, vigra::MultiArrayView<2, T, C3>&, double) [with T = float; C1 = vigra::StridedArrayTag; C2 = vigra::StridedArrayTag; C3 = vigra::StridedArrayTag]' C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:773:28: required from 'bool vigra::linalg::inverse(const vigra::MultiArrayView<2, T, S>&, vigra::MultiArrayView<2, T, C2>&) [with T = float; C1 = vigra::StridedArrayTag; C2 = vigra::StridedArrayTag]' E:\project\SIFT-master\sift.cpp:306:55: required from here C:/library/vigra/vigra-1.11.1/include/vigra/linear_solve.hxx:441:29: error: 'hypot' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] v *= norm(gamma) / hypot(c*gamma, v*(s - c*yv)); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\sift.cpp:9: C:/MinGW/include/math.h:647:23: note: 'double hypot(double, double)' declared here, later in the translation unit extern double __cdecl hypot (double, double); /* in libmoldname.a */ ^~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\stddef.h:7:0, from c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\stddef.h:1, from C:/MinGW/include/stdio.h:69, from C:/MinGW/include/wchar.h:83, from c:\mingw\include\c++\7.1.0\cwchar:44, from c:\mingw\include\c++\7.1.0\bits\postypes.h:40, from c:\mingw\include\c++\7.1.0\iosfwd:40, from c:\mingw\include\c++\7.1.0\ios:38, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:35:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION typedef unsigned __int64 size_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION mingw32-make.exe[3]: *** [CMakeFiles\sift.dir\build.make:88: CMakeFiles/sift.dir/sift.cpp.obj] Error 1 c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:45:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION typedef __int64 ssize_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:52:9: error: 'size_t' does not name a type typedef size_t rsize_t; ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:62:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION typedef __int64 intptr_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:75:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION typedef unsigned __int64 uintptr_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:88:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION typedef __int64 ptrdiff_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:123:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION typedef __int64 __time64_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:138:9: error: '__time64_t' does not name a type; did you mean '__time32_t'? typedef __time64_t time_t; ^~~~~~~~~~ __time32_t In file included from c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\stddef.h:1:0, from C:/MinGW/include/stdio.h:69, from C:/MinGW/include/wchar.h:83, from c:\mingw\include\c++\7.1.0\cwchar:44, from c:\mingw\include\c++\7.1.0\bits\postypes.h:40, from c:\mingw\include\c++\7.1.0\iosfwd:40, from c:\mingw\include\c++\7.1.0\ios:38, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stddef.h:26:18: error: 'uintptr_t' does not name a type; did you mean '__uintptr_t'? _CRTIMP extern uintptr_t __cdecl __threadhandle(void); ^~~~~~~~~ __uintptr_t In file included from C:/MinGW/include/wchar.h:83:0, from c:\mingw\include\c++\7.1.0\cwchar:44, from c:\mingw\include\c++\7.1.0\bits\postypes.h:40, from c:\mingw\include\c++\7.1.0\iosfwd:40, from c:\mingw\include\c++\7.1.0\ios:38, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/stdio.h:926:64: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int _snwprintf (wchar_t *, size_t, const wchar_t *, ...); ^~~~~~ C:/MinGW/include/stdio.h:928:65: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int _vsnwprintf (wchar_t *, size_t, const wchar_t *, __VALIST); ^~~~~~ C:/MinGW/include/stdio.h:970:52: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW int snwprintf (wchar_t *, size_t, const wchar_t *, ...); ^~~~~~ C:/MinGW/include/stdio.h:971:53: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW int vsnwprintf (wchar_t *, size_t, const wchar_t *, __VALIST); ^~~~~~ C:/MinGW/include/stdio.h:976:31: error: 'size_t' has not been declared int vsnwprintf (wchar_t *__s, size_t __n, const wchar_t *__fmt, __VALIST __arg) ^~~~~~ In file included from C:/MinGW/include/wchar.h:147:0, from c:\mingw\include\c++\7.1.0\cwchar:44, from c:\mingw\include\c++\7.1.0\bits\postypes.h:40, from c:\mingw\include\c++\7.1.0\iosfwd:40, from c:\mingw\include\c++\7.1.0\ios:38, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/stdlib.h:468:50: error: 'size_t' has not been declared wchar_t *_wfullpath (wchar_t *, const wchar_t *, size_t); ^~~~~~ In file included from C:/MinGW/include/wchar.h:290:0, from c:\mingw\include\c++\7.1.0\cwchar:44, from c:\mingw\include\c++\7.1.0\bits\postypes.h:40, from c:\mingw\include\c++\7.1.0\iosfwd:40, from c:\mingw\include\c++\7.1.0\ios:38, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/time.h:496:1: error: 'size_t' does not name a type; did you mean 'time_t'? size_t wcsftime (wchar_t *, size_t, const wchar_t *, const struct tm *); ^~~~~~ time_t In file included from c:\mingw\include\c++\7.1.0\cwchar:44:0, from c:\mingw\include\c++\7.1.0\bits\postypes.h:40, from c:\mingw\include\c++\7.1.0\iosfwd:40, from c:\mingw\include\c++\7.1.0\ios:38, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/wchar.h:397:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t wcscspn (const wchar_t *, const wchar_t *); ^~~~~~ time_t C:/MinGW/include/wchar.h:398:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t wcslen (const wchar_t *); ^~~~~~ time_t C:/MinGW/include/wchar.h:399:80: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW wchar_t *wcsncat (wchar_t *, const wchar_t *, size_t); ^~~~~~ C:/MinGW/include/wchar.h:400:81: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int wcsncmp (const wchar_t *, const wchar_t *, size_t); ^~~~~~ C:/MinGW/include/wchar.h:401:80: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW wchar_t *wcsncpy (wchar_t *, const wchar_t *, size_t); ^~~~~~ C:/MinGW/include/wchar.h:404:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t wcsspn (const wchar_t *, const wchar_t *); ^~~~~~ time_t C:/MinGW/include/wchar.h:407:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t wcsxfrm (wchar_t *, const wchar_t *, size_t); ^~~~~~ time_t C:/MinGW/include/wchar.h:522:1: error: 'size_t' does not name a type; did you mean 'time_t'? size_t mbrlen (const char *__restrict__, size_t, mbstate_t *__restrict__); ^~~~~~ time_t C:/MinGW/include/wchar.h:524:26: error: 'size_t' does not name a type; did you mean 'time_t'? __cdecl __MINGW_NOTHROW size_t mbrtowc ^~~~~~ time_t C:/MinGW/include/wchar.h:527:26: error: 'size_t' does not name a type; did you mean 'time_t'? __cdecl __MINGW_NOTHROW size_t mbsrtowcs ^~~~~~ time_t C:/MinGW/include/wchar.h:531:1: error: 'size_t' does not name a type; did you mean 'time_t'? size_t wcrtomb (char * __restrict__, wchar_t, mbstate_t *__restrict__); ^~~~~~ time_t C:/MinGW/include/wchar.h:533:26: error: 'size_t' does not name a type; did you mean 'time_t'? __cdecl __MINGW_NOTHROW size_t wcsrtombs ^~~~~~ time_t C:/MinGW/include/wchar.h:555:64: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW wchar_t *wmemset (wchar_t *, wchar_t, size_t); ^~~~~~ C:/MinGW/include/wchar.h:556:70: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW wchar_t *wmemchr (const wchar_t *, wchar_t, size_t); ^~~~~~ C:/MinGW/include/wchar.h:562:48: error: 'size_t' has not been declared int wmemcmp (const wchar_t *, const wchar_t *, size_t); ^~~~~~ C:/MinGW/include/wchar.h:565:71: error: 'size_t' has not been declared wchar_t *wmemcpy (wchar_t *__restrict__, const wchar_t *__restrict__, size_t); ^~~~~~ C:/MinGW/include/wchar.h:567:73: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW wchar_t *wmemmove (wchar_t *, const wchar_t *, size_t); ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\postypes.h:40:0, from c:\mingw\include\c++\7.1.0\iosfwd:40, from c:\mingw\include\c++\7.1.0\ios:38, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\cwchar:151:11: error: '::mbrlen' has not been declared using ::mbrlen; ^~~~~~ c:\mingw\include\c++\7.1.0\cwchar:152:11: error: '::mbrtowc' has not been declared using ::mbrtowc; ^~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:154:11: error: '::mbsrtowcs' has not been declared using ::mbsrtowcs; ^~~~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:158:11: error: '::swprintf' has not been declared using ::swprintf; ^~~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:167:11: error: '::vswprintf' has not been declared using ::vswprintf; ^~~~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:176:11: error: '::wcrtomb' has not been declared using ::wcrtomb; ^~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:181:11: error: '::wcscspn' has not been declared using ::wcscspn; ^~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:182:11: error: '::wcsftime' has not been declared using ::wcsftime; ^~~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:183:11: error: '::wcslen' has not been declared using ::wcslen; ^~~~~~ c:\mingw\include\c++\7.1.0\cwchar:187:11: error: '::wcsrtombs' has not been declared using ::wcsrtombs; ^~~~~~~~~ c:\mingw\include\c++\7.1.0\cwchar:188:11: error: '::wcsspn' has not been declared using ::wcsspn; ^~~~~~ c:\mingw\include\c++\7.1.0\cwchar:196:11: error: '::wcsxfrm' has not been declared using ::wcsxfrm; ^~~~~~~ In file included from c:\mingw\include\c++\7.1.0\bits\exception_ptr.h:38:0, from c:\mingw\include\c++\7.1.0\exception:142, from c:\mingw\include\c++\7.1.0\ios:39, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\bits\cxxabi_init_exception.h:63:32: error: 'size_t' was not declared in this scope __cxa_allocate_exception(size_t) _GLIBCXX_NOTHROW; ^~~~~~ c:\mingw\include\c++\7.1.0\bits\cxxabi_init_exception.h:63:32: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\exception:142:0, from c:\mingw\include\c++\7.1.0\ios:39, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\bits\exception_ptr.h: In function 'std::__exception_ptr::exception_ptr std::make_exception_ptr(_Ex)': c:\mingw\include\c++\7.1.0\bits\exception_ptr.h:185:71: error: '__cxxabiv1::__cxa_allocate_exception' cannot be used as a function void *__e = __cxxabiv1::__cxa_allocate_exception(sizeof(_Ex)); ^ In file included from c:\mingw\include\c++\7.1.0\ios:40:0, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\bits\char_traits.h: In static member function 'static std::size_t std::char_traits::length(const char_type*)': c:\mingw\include\c++\7.1.0\bits\char_traits.h:360:16: error: 'wcslen' was not declared in this scope { return wcslen(__s); } ^~~~~~ c:\mingw\include\c++\7.1.0\bits\char_traits.h:360:16: note: suggested alternative: 'wcsstr' { return wcslen(__s); } ^~~~~~ wcsstr In file included from C:/MinGW/include/ctype.h:59:0, from c:\mingw\include\c++\7.1.0\cctype:42, from c:\mingw\include\c++\7.1.0\bits\localefwd.h:42, from c:\mingw\include\c++\7.1.0\ios:41, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/wctype.h: At global scope: C:/MinGW/include/wctype.h:89:18: error: conflicting declaration 'typedef wchar_t wctype_t' typedef wchar_t wctype_t; ^~~~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\stddef.h:7:0, from c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\stddef.h:1, from C:/MinGW/include/stdio.h:69, from C:/MinGW/include/wchar.h:83, from c:\mingw\include\c++\7.1.0\cwchar:44, from c:\mingw\include\c++\7.1.0\bits\postypes.h:40, from c:\mingw\include\c++\7.1.0\iosfwd:40, from c:\mingw\include\c++\7.1.0\ios:38, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\crtdefs.h:107:24: note: previous declaration as 'typedef short unsigned int wctype_t' typedef unsigned short wctype_t; ^~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:35: error: '__argc' was not declared in this scope extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:188:44: error: conflicting declaration 'char*** __MINGW_IMP_SYMBOL' extern char *** __MINGW_IMP_SYMBOL(__argv); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:188:38: error: '__argv' was not declared in this scope extern char *** __MINGW_IMP_SYMBOL(__argv); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:196:48: error: conflicting declaration 'wchar_t*** __MINGW_IMP_SYMBOL' extern wchar_t *** __MINGW_IMP_SYMBOL(__wargv); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:196:41: error: '__wargv' was not declared in this scope extern wchar_t *** __MINGW_IMP_SYMBOL(__wargv); ^~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:208:46: error: conflicting declaration 'char*** __MINGW_IMP_SYMBOL' extern char *** __MINGW_IMP_SYMBOL(_environ); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:208:38: error: '_environ' was not declared in this scope extern char *** __MINGW_IMP_SYMBOL(_environ); ^~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:208:38: note: suggested alternative: 'union' extern char *** __MINGW_IMP_SYMBOL(_environ); ^~~~~~~~ union c:\mingw\x86_64-w64-mingw32\include\stdlib.h:217:50: error: conflicting declaration 'wchar_t*** __MINGW_IMP_SYMBOL' extern wchar_t *** __MINGW_IMP_SYMBOL(_wenviron); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:217:41: error: '_wenviron' was not declared in this scope extern wchar_t *** __MINGW_IMP_SYMBOL(_wenviron); ^~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:226:44: error: conflicting declaration 'char** __MINGW_IMP_SYMBOL' extern char ** __MINGW_IMP_SYMBOL(_pgmptr); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:226:37: error: '_pgmptr' was not declared in this scope extern char ** __MINGW_IMP_SYMBOL(_pgmptr); ^~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:235:48: error: conflicting declaration 'wchar_t** __MINGW_IMP_SYMBOL' extern wchar_t ** __MINGW_IMP_SYMBOL(_wpgmptr); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:235:40: error: '_wpgmptr' was not declared in this scope extern wchar_t ** __MINGW_IMP_SYMBOL(_wpgmptr); ^~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:245:41: error: redefinition of 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(_fmode); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: 'int* __MINGW_IMP_SYMBOL' previously defined here extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:245:35: error: '_fmode' was not declared in this scope extern int * __MINGW_IMP_SYMBOL(_fmode); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:245:35: note: suggested alternative: 'fwide' extern int * __MINGW_IMP_SYMBOL(_fmode); ^~~~~~ fwide c:\mingw\x86_64-w64-mingw32\include\stdlib.h:256:55: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL' extern unsigned int * __MINGW_IMP_SYMBOL(_osplatform); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:256:44: error: '_osplatform' was not declared in this scope extern unsigned int * __MINGW_IMP_SYMBOL(_osplatform); ^~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:265:50: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL' extern unsigned int * __MINGW_IMP_SYMBOL(_osver); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:265:44: error: '_osver' was not declared in this scope extern unsigned int * __MINGW_IMP_SYMBOL(_osver); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:274:51: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL' extern unsigned int * __MINGW_IMP_SYMBOL(_winver); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:274:44: error: '_winver' was not declared in this scope extern unsigned int * __MINGW_IMP_SYMBOL(_winver); ^~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:283:53: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL' extern unsigned int * __MINGW_IMP_SYMBOL(_winmajor); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:283:44: error: '_winmajor' was not declared in this scope extern unsigned int * __MINGW_IMP_SYMBOL(_winmajor); ^~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:292:53: error: conflicting declaration 'unsigned int* __MINGW_IMP_SYMBOL' extern unsigned int * __MINGW_IMP_SYMBOL(_winminor); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:292:44: error: '_winminor' was not declared in this scope extern unsigned int * __MINGW_IMP_SYMBOL(_winminor); ^~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:307:37: error: 'size_t' has not been declared template char (*__countof_helper(UNALIGNED _CountofType (&_Array)[_SizeOfArray]))[_SizeOfArray]; ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:307:81: error: expected ')' before '(' token template char (*__countof_helper(UNALIGNED _CountofType (&_Array)[_SizeOfArray]))[_SizeOfArray]; ^ In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:342:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION __int64 __cdecl _abs64(__int64); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:361:60: error: 'size_t' has not been declared void *__cdecl bsearch(const void *_Key,const void *_Base,size_t _NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(const void *,const void *)); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:361:82: error: 'size_t' has not been declared void *__cdecl bsearch(const void *_Key,const void *_Base,size_t _NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(const void *,const void *)); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:362:34: error: 'size_t' has not been declared void __cdecl qsort(void *_Base,size_t _NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(const void *,const void *)); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:362:56: error: 'size_t' has not been declared void __cdecl qsort(void *_Base,size_t _NumOfElements,size_t _SizeOfElements,int (__cdecl *_PtFuncCompare)(const void *,const void *)); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:366:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION unsigned __int64 __cdecl _byteswap_uint64(unsigned __int64 _Int64); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:368:46: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' char *__cdecl getenv(const char *_VarName) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:370:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP char *__cdecl _i64toa(__int64 _Val,char *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:371:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP char *__cdecl _ui64toa(unsigned __int64 _Val,char *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:372:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _atoi64(const char *_String); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:373:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _atoi64_l(const char *_String,_locale_t _Locale); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:374:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _strtoi64(const char *_String,char **_EndPtr,int _Radix); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:375:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _strtoi64_l(const char *_String,char **_EndPtr,int _Radix,_locale_t _Locale); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:376:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _strtoui64(const char *_String,char **_EndPtr,int _Radix); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:377:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _strtoui64_l(const char *_String,char **_EndPtr,int _Radix,_locale_t _Locale); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:379:67: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP char *__cdecl _ltoa(long _Value,char *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:380:37: error: 'size_t' has not been declared int __cdecl mblen(const char *_Ch,size_t _MaxCount); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:381:48: error: 'size_t' has not been declared _CRTIMP int __cdecl _mblen_l(const char *_Ch,size_t _MaxCount,_locale_t _Locale); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:382:11: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP size_t __cdecl _mbstrlen(const char *_Str); ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:383:11: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP size_t __cdecl _mbstrlen_l(const char *_Str,_locale_t _Locale); ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:384:11: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP size_t __cdecl _mbstrnlen(const char *_Str,size_t _MaxCount); ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:385:11: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP size_t __cdecl _mbstrnlen_l(const char *_Str,size_t _MaxCount,_locale_t _Locale); ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:386:85: error: 'size_t' has not been declared int __cdecl mbtowc(wchar_t * __restrict__ _DstCh,const char * __restrict__ _SrcCh,size_t _SrcSizeInBytes); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:387:96: error: 'size_t' has not been declared _CRTIMP int __cdecl _mbtowc_l(wchar_t * __restrict__ _DstCh,const char * __restrict__ _SrcCh,size_t _SrcSizeInBytes,_locale_t _Locale); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:388:3: error: 'size_t' does not name a type; did you mean 'time_t'? size_t __cdecl mbstowcs(wchar_t * __restrict__ _Dest,const char * __restrict__ _Source,size_t _MaxCount); ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:389:11: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP size_t __cdecl _mbstowcs_l(wchar_t * __restrict__ _Dest,const char * __restrict__ _Source,size_t _MaxCount,_locale_t _Locale); ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:404:1: error: '__mingw_ovr' does not name a type __mingw_ovr ^~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:411:1: error: '__mingw_ovr' does not name a type __mingw_ovr ^~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:447:77: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP char *__cdecl _ultoa(unsigned long _Value,char *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:448:48: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' int __cdecl wctomb(char *_MbCh,wchar_t _WCh) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:449:77: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP int __cdecl _wctomb_l(char *_MbCh,wchar_t _WCh,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:450:3: error: 'size_t' does not name a type; did you mean 'time_t'? size_t __cdecl wcstombs(char * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:451:11: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP size_t __cdecl _wcstombs_l(char * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _MaxCount,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~ time_t c:\mingw\x86_64-w64-mingw32\include\stdlib.h:455:24: error: 'size_t' was not declared in this scope void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:455:24: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:455:46: error: 'size_t' was not declared in this scope void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:455:46: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:455:68: error: expression list treated as compound expression in initializer [-fpermissive] void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:457:24: error: 'size_t' was not declared in this scope void *__cdecl malloc(size_t _Size); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:457:24: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:458:39: error: 'size_t' has not been declared void *__cdecl realloc(void *_Memory,size_t _NewSize); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:459:49: error: 'size_t' has not been declared _CRTIMP void *__cdecl _recalloc(void *_Memory,size_t _Count,size_t _Size); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:459:63: error: 'size_t' has not been declared _CRTIMP void *__cdecl _recalloc(void *_Memory,size_t _Count,size_t _Size); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:467:41: error: 'size_t' was not declared in this scope _CRTIMP void *__cdecl _aligned_malloc(size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:467:41: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:467:54: error: 'size_t' was not declared in this scope _CRTIMP void *__cdecl _aligned_malloc(size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:467:54: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:467:71: error: expression list treated as compound expression in initializer [-fpermissive] _CRTIMP void *__cdecl _aligned_malloc(size_t _Size,size_t _Alignment); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:48: error: 'size_t' was not declared in this scope _CRTIMP void *__cdecl _aligned_offset_malloc(size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:48: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:61: error: 'size_t' was not declared in this scope _CRTIMP void *__cdecl _aligned_offset_malloc(size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:61: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:79: error: 'size_t' was not declared in this scope _CRTIMP void *__cdecl _aligned_offset_malloc(size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:79: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:471:93: error: expression list treated as compound expression in initializer [-fpermissive] _CRTIMP void *__cdecl _aligned_offset_malloc(size_t _Size,size_t _Alignment,size_t _Offset); ^ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:472:56: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_realloc(void *_Memory,size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:472:69: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_realloc(void *_Memory,size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:473:57: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:473:71: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:473:84: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:474:63: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_realloc(void *_Memory,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:474:76: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_realloc(void *_Memory,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:474:94: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_realloc(void *_Memory,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:475:64: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:475:78: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:475:91: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:475:109: error: 'size_t' has not been declared _CRTIMP void *__cdecl _aligned_offset_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment,size_t _Offset); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:481:72: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP wchar_t *__cdecl _itow(int _Value,wchar_t *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:482:73: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP wchar_t *__cdecl _ltow(long _Value,wchar_t *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:483:83: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP wchar_t *__cdecl _ultow(unsigned long _Value,wchar_t *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:490:3: error: '__mingw_ovr' does not name a type; did you mean '__mingw_strtod'? __mingw_ovr ^~~~~~~~~~~ __mingw_strtod c:\mingw\x86_64-w64-mingw32\include\stdlib.h:494:3: error: '__mingw_ovr' does not name a type; did you mean '__mingw_strtod'? __mingw_ovr ^~~~~~~~~~~ __mingw_strtod c:\mingw\x86_64-w64-mingw32\include\stdlib.h:511:62: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP wchar_t *__cdecl _wgetenv(const wchar_t *_VarName) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:523:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP wchar_t *__cdecl _i64tow(__int64 _Val,wchar_t *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:524:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP wchar_t *__cdecl _ui64tow(unsigned __int64 _Val,wchar_t *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:525:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wtoi64(const wchar_t *_Str); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:526:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wtoi64_l(const wchar_t *_Str,_locale_t _Locale); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:527:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wcstoi64(const wchar_t *_Str,wchar_t **_EndPtr,int _Radix); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:528:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wcstoi64_l(const wchar_t *_Str,wchar_t **_EndPtr,int _Radix,_locale_t _Locale); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:529:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _wcstoui64(const wchar_t *_Str,wchar_t **_EndPtr,int _Radix); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:530:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _wcstoui64_l(const wchar_t *_Str ,wchar_t **_EndPtr,int _Radix,_locale_t _Locale); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:538:69: error: 'size_t' has not been declared _CRTIMP char *__cdecl _fullpath(char *_FullPath,const char *_Path,size_t _SizeInBytes); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:539:86: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP char *__cdecl _ecvt(double _Val,int _NumOfDigits,int *_PtDec,int *_PtSign) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:540:83: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP char *__cdecl _fcvt(double _Val,int _NumOfDec,int *_PtDec,int *_PtSign) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:541:75: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP char *__cdecl _gcvt(double _Val,int _NumOfDigits,char *_DstBuf) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:581:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION unsigned __int64 __cdecl _rotl64(unsigned __int64 _Val,int _Shift); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:582:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION unsigned __int64 __cdecl _rotr64(unsigned __int64 Value,int Shift); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:593:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION unsigned __int64 __cdecl _rotr64(unsigned __int64 _Val,int _Shift); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:594:96: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP void __cdecl _searchenv(const char *_Filename,const char *_EnvVar,char *_ResultPath) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:595:109: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP void __cdecl _splitpath(const char *_FullPath,char *_Drive,char *_Dir,char *_Filename,char *_Ext) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:600:79: error: 'size_t' has not been declared _CRTIMP wchar_t *__cdecl _wfullpath(wchar_t *_FullPath,const wchar_t *_Path,size_t _SizeInWords); ^~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:606:106: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP void __cdecl _wsearchenv(const wchar_t *_Filename,const wchar_t *_EnvVar,wchar_t *_ResultPath) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:607:125: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_SEC_WARN' _CRTIMP void __cdecl _wsplitpath(const wchar_t *_FullPath,wchar_t *_Drive,wchar_t *_Dir,wchar_t *_Filename,wchar_t *_Ext) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:634:77: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' char *__cdecl ecvt(double _Val,int _NumOfDigits,int *_PtDec,int *_PtSign) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:635:74: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' char *__cdecl fcvt(double _Val,int _NumOfDec,int *_PtDec,int *_PtSign) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:636:66: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' char *__cdecl gcvt(double _Val,int _NumOfDigits,char *_DstBuf) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:637:57: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' char *__cdecl itoa(int _Val,char *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:638:58: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' char *__cdecl ltoa(long _Val,char *_DstBuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:639:46: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' int __cdecl putenv(const char *_EnvString) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:643:63: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' void __cdecl swab(char *_Buf1,char *_Buf2,int _SizeInBytes) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:646:68: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' char *__cdecl ultoa(unsigned long _Val,char *_Dstbuf,int _Radix) __MINGW_ATTRIB_DEPRECATED_MSVC2005; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\stdlib.h:653:20: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? typedef struct { __MINGW_EXTENSION long long quot, rem; } lldiv_t; ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:655:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION lldiv_t __cdecl lldiv(long long, long long); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:657:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llabs(long long); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:659:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION __CRT_INLINE long long __cdecl llabs(long long _j) { return (_j >= 0 ? _j : -_j); } ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:662:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl strtoll(const char * __restrict__, char ** __restrict, int); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:663:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION unsigned long long __cdecl strtoull(const char * __restrict__, char ** __restrict__, int); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\stdlib.h:666:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl atoll (const char *); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/stdlib.h:169:39: error: conflicting declaration of C function 'int* __doserrno()' _CRTIMP __cdecl __MINGW_NOTHROW int *__doserrno(void); ^~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:156:34: note: previous declaration 'long unsigned int* __doserrno()' _CRTIMP unsigned long *__cdecl __doserrno(void); ^~~~~~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/stdlib.h:474:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t wcstombs (char *, const wchar_t *, size_t); ^~~~~~ time_t C:/MinGW/include/stdlib.h:477:59: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int mblen (const char *, size_t); ^~~~~~ C:/MinGW/include/stdlib.h:478:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t mbstowcs (wchar_t *, const char *, size_t); ^~~~~~ time_t C:/MinGW/include/stdlib.h:479:71: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int mbtowc (wchar_t *, const char *, size_t); ^~~~~~ C:/MinGW/include/stdlib.h:484:48: error: redefinition of 'void* calloc' _CRTIMP __cdecl __MINGW_NOTHROW void *calloc (size_t, size_t) __MINGW_ATTRIB_MALLOC; ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:455:17: note: 'void* calloc' previously defined here void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements); ^~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/stdlib.h:484:48: error: 'size_t' was not declared in this scope _CRTIMP __cdecl __MINGW_NOTHROW void *calloc (size_t, size_t) __MINGW_ATTRIB_MALLOC; ^~~~~~ C:/MinGW/include/stdlib.h:484:48: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/stdlib.h:484:56: error: 'size_t' was not declared in this scope _CRTIMP __cdecl __MINGW_NOTHROW void *calloc (size_t, size_t) __MINGW_ATTRIB_MALLOC; ^~~~~~ C:/MinGW/include/stdlib.h:484:56: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/stdlib.h:485:54: error: redefinition of 'void* malloc' _CRTIMP __cdecl __MINGW_NOTHROW void *malloc (size_t) __MINGW_ATTRIB_MALLOC; ^ In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:457:17: note: 'void* malloc' previously defined here void *__cdecl malloc(size_t _Size); ^~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/stdlib.h:485:48: error: 'size_t' was not declared in this scope _CRTIMP __cdecl __MINGW_NOTHROW void *malloc (size_t) __MINGW_ATTRIB_MALLOC; ^~~~~~ C:/MinGW/include/stdlib.h:485:48: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/stdlib.h:486:57: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW void *realloc (void *, size_t); ^~~~~~ C:/MinGW/include/stdlib.h:504:30: error: 'size_t' has not been declared (const void *, const void *, size_t, size_t, int (*)(const void *, const void *)); ^~~~~~ C:/MinGW/include/stdlib.h:504:38: error: 'size_t' has not been declared (const void *, const void *, size_t, size_t, int (*)(const void *, const void *)); ^~~~~~ C:/MinGW/include/stdlib.h:507:10: error: 'size_t' has not been declared (void *, size_t, size_t, int (*)(const void *, const void *)); ^~~~~~ C:/MinGW/include/stdlib.h:507:18: error: 'size_t' has not been declared (void *, size_t, size_t, int (*)(const void *, const void *)); ^~~~~~ C:/MinGW/include/stdlib.h:519:35: error: conflicting declaration 'typedef struct div_t div_t' typedef struct { int quot, rem; } div_t; ^~~~~ In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:62:5: note: previous declaration as 'typedef struct _div_t div_t' } div_t; ^~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/stdlib.h:520:36: error: conflicting declaration 'typedef struct ldiv_t ldiv_t' typedef struct { long quot, rem; } ldiv_t; ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:67:5: note: previous declaration as 'typedef struct _ldiv_t ldiv_t' } ldiv_t; ^~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/stdlib.h: In function 'void _Exit(int)': C:/MinGW/include/stdlib.h:653:31: error: redefinition of 'void _Exit(int)' __cdecl __MINGW_NOTHROW void _Exit( int __status ){ _exit (__status); } ^~~~~ In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:322:54: note: 'void _Exit(int)' previously defined here __CRT_INLINE __MINGW_ATTRIB_NORETURN void __cdecl _Exit(int status) ^~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\sec_api\stdlib_s.h:9:0, from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:694, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/stdlib.h: At global scope: C:/MinGW/include/stdlib.h:656:41: error: conflicting declaration 'typedef struct lldiv_t lldiv_t' typedef struct { long long quot, rem; } lldiv_t; ^~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:653:61: note: previous declaration as 'typedef struct lldiv_t lldiv_t' typedef struct { __MINGW_EXTENSION long long quot, rem; } lldiv_t; ^~~~~~~ In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/malloc.h:30:2: error: 'size_t' does not name a type; did you mean 'time_t'? size_t _size; ^~~~~~ time_t C:/MinGW/include/malloc.h:72:9: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP size_t __cdecl __MINGW_NOTHROW _msize (void*); ^~~~~~ time_t C:/MinGW/include/malloc.h:73:9: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP size_t __cdecl __MINGW_NOTHROW _get_sbh_threshold (void); ^~~~~~ time_t C:/MinGW/include/malloc.h:74:57: error: 'size_t' was not declared in this scope _CRTIMP int __cdecl __MINGW_NOTHROW _set_sbh_threshold (size_t); ^~~~~~ C:/MinGW/include/malloc.h:74:57: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/malloc.h:75:55: error: 'size_t' has not been declared _CRTIMP void* __cdecl __MINGW_NOTHROW _expand (void*, size_t); ^~~~~~ C:/MinGW/include/malloc.h:90:63: error: 'size_t' was not declared in this scope void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_malloc (size_t, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:90:63: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/malloc.h:90:71: error: 'size_t' was not declared in this scope void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_malloc (size_t, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:90:71: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/malloc.h:90:79: error: 'size_t' was not declared in this scope void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_malloc (size_t, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:90:79: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/malloc.h:90:85: error: expression list treated as compound expression in initializer [-fpermissive] void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_malloc (size_t, size_t, size_t); ^ C:/MinGW/include/malloc.h:91:71: error: 'size_t' has not been declared void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_realloc (void*, size_t, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:91:79: error: 'size_t' has not been declared void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_realloc (void*, size_t, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:91:87: error: 'size_t' has not been declared void * __cdecl __MINGW_NOTHROW __mingw_aligned_offset_realloc (void*, size_t, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:93:56: error: 'size_t' was not declared in this scope void * __cdecl __MINGW_NOTHROW __mingw_aligned_malloc (size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:93:56: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/malloc.h:93:64: error: 'size_t' was not declared in this scope void * __cdecl __MINGW_NOTHROW __mingw_aligned_malloc (size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:93:64: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:695:0, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/malloc.h:93:70: error: expression list treated as compound expression in initializer [-fpermissive] void * __cdecl __MINGW_NOTHROW __mingw_aligned_malloc (size_t, size_t); ^ C:/MinGW/include/malloc.h:94:64: error: 'size_t' has not been declared void * __cdecl __MINGW_NOTHROW __mingw_aligned_realloc (void*, size_t, size_t); ^~~~~~ C:/MinGW/include/malloc.h:94:72: error: 'size_t' has not been declared void * __cdecl __MINGW_NOTHROW __mingw_aligned_realloc (void*, size_t, size_t); ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41:0, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\cstdlib:148:11: error: '::mbstowcs' has not been declared using ::mbstowcs; ^~~~~~~~ c:\mingw\include\c++\7.1.0\cstdlib:165:11: error: '::wcstombs' has not been declared using ::wcstombs; ^~~~~~~~ c:\mingw\include\c++\7.1.0\cstdlib: In function 'lldiv_t __gnu_cxx::div(long long int, long long int)': c:\mingw\include\c++\7.1.0\cstdlib:208:22: error: 'struct lldiv_t' has no member named 'quot' { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } ^~~~ c:\mingw\include\c++\7.1.0\cstdlib:208:44: error: 'struct lldiv_t' has no member named 'rem' { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } ^~~ In file included from c:\mingw\include\c++\7.1.0\cstdio:42:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:43, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/MinGW/include/stdio.h: At global scope: C:/MinGW/include/stdio.h:295:71: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int setvbuf (FILE *, char *, int, size_t); ^~~~~~ C:/MinGW/include/stdio.h:309:54: error: 'size_t' has not been declared extern int __mingw_stdio_redirect__(snprintf)(char*, size_t, const char*, ...); ^~~~~~ C:/MinGW/include/stdio.h:313:55: error: 'size_t' has not been declared extern int __mingw_stdio_redirect__(vsnprintf)(char*, size_t, const char*, __VALIST); ^~~~~~ C:/MinGW/include/stdio.h:397:31: error: 'size_t' has not been declared int snprintf (char *__stream, size_t __len, const char *__format, ...) ^~~~~~ C:/MinGW/include/stdio.h:425:32: error: 'size_t' has not been declared int vsnprintf (char *__stream, size_t __len, const char *__format, __VALIST __local_argv) ^~~~~~ C:/MinGW/include/stdio.h:458:57: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int _snprintf (char *, size_t, const char *, ...); ^~~~~~ C:/MinGW/include/stdio.h:459:58: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int _vsnprintf (char *, size_t, const char *, __VALIST); ^~~~~~ C:/MinGW/include/stdio.h:469:48: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW int snprintf (char *, size_t, const char *, ...); ^~~~~~ C:/MinGW/include/stdio.h:470:49: error: 'size_t' has not been declared __cdecl __MINGW_NOTHROW int vsnprintf (char *, size_t, const char *, __VALIST); ^~~~~~ C:/MinGW/include/stdio.h:698:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t fread (void *, size_t, size_t, FILE *); ^~~~~~ time_t C:/MinGW/include/stdio.h:699:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t fwrite (const void *, size_t, size_t, FILE *); ^~~~~~ time_t In file included from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:43:0, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\cstdio:113:11: error: '::fread' has not been declared using ::fread; ^~~~~ c:\mingw\include\c++\7.1.0\cstdio:119:11: error: '::fwrite' has not been declared using ::fwrite; ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6214:20: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), long long unsigned int, const char [3], int&)' "%d", __val); } ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6214:20: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%d", __val); } ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(unsigned int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6220:20: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), long long unsigned int, const char [3], unsigned int&)' "%u", __val); } ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6220:20: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%u", __val); } ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6225:21: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), long long unsigned int, const char [4], long int&)' "%ld", __val); } ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6225:21: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%ld", __val); } ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long unsigned int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6231:21: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), long long unsigned int, const char [4], long unsigned int&)' "%lu", __val); } ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6231:21: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%lu", __val); } ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long long int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6237:22: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), long long unsigned int, const char [5], long long int&)' "%lld", __val); } ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6237:22: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%lld", __val); } ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long long unsigned int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6243:22: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), long long unsigned int, const char [5], long long unsigned int&)' "%llu", __val); } ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6243:22: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%llu", __val); } ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(float)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6251:20: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), const int&, const char [3], float&)' "%f", __val); ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6251:20: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%f", __val); ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(double)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6260:20: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), const int&, const char [3], double&)' "%f", __val); ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6260:20: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%f", __val); ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::string std::__cxx11::to_string(long double)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6269:21: error: no matching function for call to '__to_xstring(int (*)(char*, int, const char*, char*), const int&, const char [4], long double&)' "%Lf", __val); ^ In file included from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159:0, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: candidate: template _String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, char*), std::size_t, const _CharT*, ...) __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\ext\string_conversions.h:99:5: note: template argument deduction/substitution failed: In file included from c:\mingw\include\c++\7.1.0\string:52:0, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\bits\basic_string.h:6269:21: note: mismatched types 'std::size_t {aka long long unsigned int}' and 'int' "%Lf", __val); ^ c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6316:51: error: 'vswprintf' is not a member of 'std' { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(int), ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6316:51: note: suggested alternative: 'isprint' { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(int), ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(unsigned int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6321:51: error: 'vswprintf' is not a member of 'std' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6321:51: note: suggested alternative: 'isprint' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6327:51: error: 'vswprintf' is not a member of 'std' { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(long), ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6327:51: note: suggested alternative: 'isprint' { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(long), ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long unsigned int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6332:51: error: 'vswprintf' is not a member of 'std' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6332:51: note: suggested alternative: 'isprint' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long long int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6338:51: error: 'vswprintf' is not a member of 'std' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6338:51: note: suggested alternative: 'isprint' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long long unsigned int)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6344:51: error: 'vswprintf' is not a member of 'std' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6344:51: note: suggested alternative: 'isprint' { return __gnu_cxx::__to_xstring(&std::vswprintf, ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(float)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6353:51: error: 'vswprintf' is not a member of 'std' return __gnu_cxx::__to_xstring(&std::vswprintf, __n, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6353:51: note: suggested alternative: 'isprint' return __gnu_cxx::__to_xstring(&std::vswprintf, __n, ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(double)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6362:51: error: 'vswprintf' is not a member of 'std' return __gnu_cxx::__to_xstring(&std::vswprintf, __n, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6362:51: note: suggested alternative: 'isprint' return __gnu_cxx::__to_xstring(&std::vswprintf, __n, ^~~~~~~~~ isprint c:\mingw\include\c++\7.1.0\bits\basic_string.h: In function 'std::__cxx11::wstring std::__cxx11::to_wstring(long double)': c:\mingw\include\c++\7.1.0\bits\basic_string.h:6371:51: error: 'vswprintf' is not a member of 'std' return __gnu_cxx::__to_xstring(&std::vswprintf, __n, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\bits\basic_string.h:6371:51: note: suggested alternative: 'isprint' return __gnu_cxx::__to_xstring(&std::vswprintf, __n, ^~~~~~~~~ isprint In file included from c:\mingw\include\c++\7.1.0\system_error:39:0, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:46, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h: At global scope: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:44:40: error: 'EAFNOSUPPORT' was not declared in this scope address_family_not_supported = EAFNOSUPPORT, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:45:28: error: 'EADDRINUSE' was not declared in this scope address_in_use = EADDRINUSE, ^~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:46:34: error: 'EADDRNOTAVAIL' was not declared in this scope address_not_available = EADDRNOTAVAIL, ^~~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:47:30: error: 'EISCONN' was not declared in this scope already_connected = EISCONN, ^~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:56:31: error: 'ECONNABORTED' was not declared in this scope connection_aborted = ECONNABORTED, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:57:42: error: 'EALREADY' was not declared in this scope connection_already_in_progress = EALREADY, ^~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:57:42: note: suggested alternative: '_IOREAD' connection_already_in_progress = EALREADY, ^~~~~~~~ _IOREAD c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:58:31: error: 'ECONNREFUSED' was not declared in this scope connection_refused = ECONNREFUSED, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:59:29: error: 'ECONNRESET' was not declared in this scope connection_reset = ECONNRESET, ^~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:61:40: error: 'EDESTADDRREQ' was not declared in this scope destination_address_required = EDESTADDRREQ, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:69:29: error: 'EHOSTUNREACH' was not declared in this scope host_unreachable = EHOSTUNREACH, ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:80:26: error: 'EMSGSIZE' was not declared in this scope message_size = EMSGSIZE, ^~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:80:26: note: suggested alternative: 'ESPIPE' message_size = EMSGSIZE, ^~~~~~~~ ESPIPE c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:81:26: error: 'ENETDOWN' was not declared in this scope network_down = ENETDOWN, ^~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:81:26: note: suggested alternative: 'ENOTDIR' network_down = ENETDOWN, ^~~~~~~~ ENOTDIR c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:82:27: error: 'ENETRESET' was not declared in this scope network_reset = ENETRESET, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:83:32: error: 'ENETUNREACH' was not declared in this scope network_unreachable = ENETUNREACH, ^~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:84:28: error: 'ENOBUFS' was not declared in this scope no_buffer_space = ENOBUFS, ^~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:84:28: note: suggested alternative: 'EROFS' no_buffer_space = ENOBUFS, ^~~~~~~ EROFS c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:98:31: error: 'ENOPROTOOPT' was not declared in this scope no_protocol_option = ENOPROTOOPT, ^~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:110:26: error: 'ENOTSOCK' was not declared in this scope not_a_socket = ENOTSOCK, ^~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:110:26: note: suggested alternative: 'ENOSPC' not_a_socket = ENOTSOCK, ^~~~~~~~ ENOSPC c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:114:27: error: 'ENOTCONN' was not declared in this scope not_connected = ENOTCONN, ^~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:114:27: note: suggested alternative: 'ENOTTY' not_connected = ENOTCONN, ^~~~~~~~ ENOTTY c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:117:27: error: 'ENOTSUP' was not declared in this scope not_supported = ENOTSUP, ^~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:117:27: note: suggested alternative: 'ENOTTY' not_supported = ENOTSUP, ^~~~~~~ ENOTTY c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:119:31: error: 'ECANCELED' was not declared in this scope operation_canceled = ECANCELED, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:120:34: error: 'EINPROGRESS' was not declared in this scope operation_in_progress = EINPROGRESS, ^~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:124:35: error: 'EOPNOTSUPP' was not declared in this scope operation_not_supported = EOPNOTSUPP, ^~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:124:35: note: suggested alternative: 'POINT_HPP' operation_not_supported = EOPNOTSUPP, ^~~~~~~~~~ POINT_HPP c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:126:34: error: 'EWOULDBLOCK' was not declared in this scope operation_would_block = EWOULDBLOCK, ^~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:126:34: note: suggested alternative: 'EDEADLOCK' operation_would_block = EWOULDBLOCK, ^~~~~~~~~~~ EDEADLOCK c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:129:24: error: 'EOWNERDEAD' was not declared in this scope owner_dead = EOWNERDEAD, ^~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:132:28: error: 'EPROTO' was not declared in this scope protocol_error = EPROTO, ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:132:28: note: suggested alternative: 'EROFS' protocol_error = EPROTO, ^~~~~~ EROFS c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:133:35: error: 'EPROTONOSUPPORT' was not declared in this scope protocol_not_supported = EPROTONOSUPPORT, ^~~~~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:148:23: error: 'ETIMEDOUT' was not declared in this scope timed_out = ETIMEDOUT, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:153:41: error: 'ELOOP' was not declared in this scope too_many_symbolic_link_levels = ELOOP, ^~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:155:28: error: 'EOVERFLOW' was not declared in this scope value_too_large = EOVERFLOW, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:155:28: note: suggested alternative: '_OVERFLOW' value_too_large = EOVERFLOW, ^~~~~~~~~ _OVERFLOW c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:157:32: error: 'EPROTOTYPE' was not declared in this scope wrong_protocol_type = EPROTOTYPE ^~~~~~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\error_constants.h:157:32: note: suggested alternative: 'ENOTTY' wrong_protocol_type = EPROTOTYPE ^~~~~~~~~~ ENOTTY In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from C:/library/vigra/vigra-1.11.1/include/vigra/diff2d.hxx:39, from C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:44, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: c:\mingw\x86_64-w64-mingw32\include\math.h:122:5: error: '__C89_NAMELESS' does not name a type; did you mean '__CRT_ALIAS'? __C89_NAMELESS struct { ^~~~~~~~~~~~~~ __CRT_ALIAS c:\mingw\x86_64-w64-mingw32\include\math.h:124:7: error: 'lh' does not name a type } lh; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:135:5: error: '__C89_NAMELESS' does not name a type; did you mean '__CRT_ALIAS'? __C89_NAMELESS struct { ^~~~~~~~~~~~~~ __CRT_ALIAS c:\mingw\x86_64-w64-mingw32\include\math.h:140:7: error: 'lh' does not name a type } lh; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:156:43: error: conflicting declaration 'double* __MINGW_IMP_SYMBOL' extern double * __MINGW_IMP_SYMBOL(_HUGE); ^ In file included from c:\mingw\include\c++\7.1.0\cstdlib:75:0, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\x86_64-w64-mingw32\include\stdlib.h:180:16: note: previous declaration as 'int* __MINGW_IMP_SYMBOL' extern int * __MINGW_IMP_SYMBOL(__argc); ^~~~~~~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from C:/library/vigra/vigra-1.11.1/include/vigra/diff2d.hxx:39, from C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:44, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: c:\mingw\x86_64-w64-mingw32\include\math.h:156:38: error: '_HUGE' was not declared in this scope extern double * __MINGW_IMP_SYMBOL(_HUGE); ^~~~~ c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'int __fpclassifyl(long double)': c:\mingw\x86_64-w64-mingw32\include\math.h:417:18: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' e = hlp.ldt->lh.sign_exponent & 0x7fff; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:420:35: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' unsigned int h = hlp.ldt->lh.high; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:421:24: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' if (!(hlp.ldt->lh.low | h)) ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:427:26: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' return (((hlp.ldt->lh.high & 0x7fffffff) | hlp.ldt->lh.low) == 0 ? ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:427:59: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' return (((hlp.ldt->lh.high & 0x7fffffff) | hlp.ldt->lh.low) == 0 ? ^~ c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'int __fpclassify(double)': c:\mingw\x86_64-w64-mingw32\include\math.h:444:18: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' h = hlp.ldt->lh.high; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:445:18: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' l = hlp.ldt->lh.low | (h & 0xfffff); ^~ c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'int __isnan(double)': c:\mingw\x86_64-w64-mingw32\include\math.h:532:17: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh' l = hlp.dt->lh.low; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:533:17: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh' h = hlp.dt->lh.high & 0x7fffffff; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'int __isnanl(long double)': c:\mingw\x86_64-w64-mingw32\include\math.h:572:24: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' signexp = (ld.ldt->lh.sign_exponent & 0x7fff) << 1; ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:573:25: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' xx = (int) (ld.ldt->lh.low | (ld.ldt->lh.high & 0x7fffffffu)); /* explicit */ ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:573:43: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' xx = (int) (ld.ldt->lh.low | (ld.ldt->lh.high & 0x7fffffffu)); /* explicit */ ^~ c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'int __signbit(double)': c:\mingw\x86_64-w64-mingw32\include\math.h:616:22: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh' return ((hlp.dt->lh.high & 0x80000000) != 0); ^~ c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'int __signbitl(long double)': c:\mingw\x86_64-w64-mingw32\include\math.h:640:22: error: '__mingw_ldbl_type_t {aka union __mingw_ldbl_type_t}' has no member named 'lh' return ((ld.ldt->lh.sign_exponent & 0x8000) != 0); ^~ c:\mingw\x86_64-w64-mingw32\include\math.h: At global scope: c:\mingw\x86_64-w64-mingw32\include\math.h:882:48: error: expected initializer before '__MINGW_ATTRIB_DEPRECATED_MSVC2005' extern double __cdecl hypot (double, double) __MINGW_ATTRIB_DEPRECATED_MSVC2005; /* in libmoldname.a */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'float hypotf(float, float)': c:\mingw\x86_64-w64-mingw32\include\math.h:885:73: error: 'hypot' was not declared in this scope __CRT_INLINE float __cdecl hypotf (float x, float y) { return (float) hypot ((double)x, (double)y);} ^~~~~ c:\mingw\x86_64-w64-mingw32\include\math.h:885:73: note: suggested alternative: 'hypotf' __CRT_INLINE float __cdecl hypotf (float x, float y) { return (float) hypot ((double)x, (double)y);} ^~~~~ hypotf c:\mingw\x86_64-w64-mingw32\include\math.h: At global scope: c:\mingw\x86_64-w64-mingw32\include\math.h:946:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llrint (double); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\math.h:947:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llrintf (float); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\math.h:948:1: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llrintl (long double); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\math.h:1038:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llround (double); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\math.h:1039:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llroundf (float); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\math.h:1040:3: error: '__MINGW_EXTENSION' does not name a type; did you mean '__MINGW32_VERSION'? __MINGW_EXTENSION long long __cdecl llroundl (long double); ^~~~~~~~~~~~~~~~~ __MINGW32_VERSION c:\mingw\x86_64-w64-mingw32\include\math.h: In function 'double copysign(double, double)': c:\mingw\x86_64-w64-mingw32\include\math.h:1073:8: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh' hx.lh.high = (hx.lh.high & 0x7fffffff) | (hy.lh.high & 0x80000000); ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:1073:22: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh' hx.lh.high = (hx.lh.high & 0x7fffffff) | (hy.lh.high & 0x80000000); ^~ c:\mingw\x86_64-w64-mingw32\include\math.h:1073:50: error: '__mingw_dbl_type_t {aka union __mingw_dbl_type_t}' has no member named 'lh' hx.lh.high = (hx.lh.high & 0x7fffffff) | (hy.lh.high & 0x80000000); ^~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/diff2d.hxx:39:0, from C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:44, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: c:\mingw\include\c++\7.1.0\cmath: At global scope: c:\mingw\include\c++\7.1.0\cmath:1136:11: error: '::hypot' has not been declared using ::hypot; ^~~~~ c:\mingw\include\c++\7.1.0\cmath:1149:11: error: '::llrint' has not been declared using ::llrint; ^~~~~~ c:\mingw\include\c++\7.1.0\cmath:1150:11: error: '::llrintf' has not been declared using ::llrintf; ^~~~~~~ c:\mingw\include\c++\7.1.0\cmath:1151:11: error: '::llrintl' has not been declared using ::llrintl; ^~~~~~~ c:\mingw\include\c++\7.1.0\cmath:1153:11: error: '::llround' has not been declared using ::llround; ^~~~~~~ c:\mingw\include\c++\7.1.0\cmath:1154:11: error: '::llroundf' has not been declared using ::llroundf; ^~~~~~~~ c:\mingw\include\c++\7.1.0\cmath:1155:11: error: '::llroundl' has not been declared using ::llroundl; ^~~~~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:45:0, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: C:/library/vigra/vigra-1.11.1/include/vigra/mathutil.hxx:579:9: error: '::hypot' has not been declared using ::hypot; ^~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41:0, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:225:29: error: 'size_t' has not been declared template ^~~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:226:12: error: no default argument for 'FUNCTOR' struct for_each_in_tuple_impl ^~~~~~~~~~~~~~~~~~~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:228:45: error: 'N' was not declared in this scope typedef for_each_in_tuple_impl ForEachRecursion; ^ C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:228:57: error: template argument 2 is invalid typedef for_each_in_tuple_impl ForEachRecursion; ^ C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx: In member function 'void vigra::detail::for_each_in_tuple_impl, FUNCTOR>::operator()(TPL&&, FUNCTOR&&) const': C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:233:24: error: 'N' was not declared in this scope f(std::get(std::forward(t))); ^ In file included from c:\mingw\include\c++\7.1.0\cstring:42:0, from C:/library/vigra/vigra-1.11.1/include/vigra/memory.hxx:48, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:44, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: C:/MinGW/include/string.h: At global scope: C:/MinGW/include/string.h:70:67: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW void *memchr (const void *, int, size_t) __MINGW_ATTRIB_PURE; ^~~~~~ C:/MinGW/include/string.h:71:74: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int memcmp (const void *, const void *, size_t) __MINGW_ATTRIB_PURE; ^~~~~~ C:/MinGW/include/string.h:72:70: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW void *memcpy (void *, const void *, size_t); ^~~~~~ C:/MinGW/include/string.h:73:71: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW void *memmove (void *, const void *, size_t); ^~~~~~ C:/MinGW/include/string.h:74:61: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW void *memset (void *, int, size_t); ^~~~~~ C:/MinGW/include/string.h:80:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t strcspn (const char *, const char *) __MINGW_ATTRIB_PURE; ^~~~~~ time_t C:/MinGW/include/string.h:83:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t strlen (const char *) __MINGW_ATTRIB_PURE; ^~~~~~ time_t C:/MinGW/include/string.h:84:71: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW char *strncat (char *, const char *, size_t); ^~~~~~ C:/MinGW/include/string.h:85:75: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW int strncmp (const char *, const char *, size_t) __MINGW_ATTRIB_PURE; ^~~~~~ C:/MinGW/include/string.h:86:71: error: 'size_t' has not been declared _CRTIMP __cdecl __MINGW_NOTHROW char *strncpy (char *, const char *, size_t); ^~~~~~ C:/MinGW/include/string.h:89:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t strspn (const char *, const char *) __MINGW_ATTRIB_PURE; ^~~~~~ time_t C:/MinGW/include/string.h:92:34: error: 'size_t' does not name a type; did you mean 'time_t'? _CRTIMP __cdecl __MINGW_NOTHROW size_t strxfrm (char *, const char *, size_t); ^~~~~~ time_t In file included from C:/library/vigra/vigra-1.11.1/include/vigra/memory.hxx:48:0, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:44, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: c:\mingw\include\c++\7.1.0\cstring:84:11: error: '::strcspn' has not been declared using ::strcspn; ^~~~~~~ c:\mingw\include\c++\7.1.0\cstring:86:11: error: '::strlen' has not been declared using ::strlen; ^~~~~~ c:\mingw\include\c++\7.1.0\cstring:90:11: error: '::strspn' has not been declared using ::strspn; ^~~~~~ c:\mingw\include\c++\7.1.0\cstring:92:11: error: '::strxfrm' has not been declared using ::strxfrm; ^~~~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/initimage.hxx:42:0, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimageview.hxx:40, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:45, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: C:/library/vigra/vigra-1.11.1/include/vigra/functortraits.hxx:198:31: warning: 'template class std::binder1st' is deprecated [-Wdeprecated-declarations] VIGRA_DEFINE_STL_FUNCTOR(std::binder1st, VigraTrueType, VigraFalseType) ^ C:/library/vigra/vigra-1.11.1/include/vigra/functortraits.hxx:163:21: note: in definition of macro 'VIGRA_DEFINE_STL_FUNCTOR' class FunctorTraits > \ ^~~~ In file included from c:\mingw\include\c++\7.1.0\bits\stl_function.h:1127:0, from c:\mingw\include\c++\7.1.0\string:48, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\backward\binders.h:108:11: note: declared here class binder1st ^~~~~~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/initimage.hxx:42:0, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimageview.hxx:40, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:45, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: C:/library/vigra/vigra-1.11.1/include/vigra/functortraits.hxx:199:31: warning: 'template class std::binder2nd' is deprecated [-Wdeprecated-declarations] VIGRA_DEFINE_STL_FUNCTOR(std::binder2nd, VigraTrueType, VigraFalseType) ^ C:/library/vigra/vigra-1.11.1/include/vigra/functortraits.hxx:163:21: note: in definition of macro 'VIGRA_DEFINE_STL_FUNCTOR' class FunctorTraits > \ ^~~~ In file included from c:\mingw\include\c++\7.1.0\bits\stl_function.h:1127:0, from c:\mingw\include\c++\7.1.0\string:48, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\backward\binders.h:143:11: note: declared here class binder2nd ^~~~~~~~~ In file included from C:/library/vigra/vigra-1.11.1/include/vigra/multi_fwd.hxx:41:0, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_shape.hxx:39, from C:/library/vigra/vigra-1.11.1/include/vigra/initimage.hxx:43, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimageview.hxx:40, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:45, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx: In function 'vigra::TinyVector vigra::ceilPower2(const vigra::TinyVector&)': C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:2348:10: error: 'size_t' was not declared in this scope for( size_t k = 0; k < SIZE; k++) ^~~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:2348:10: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/vigra/vigra-1.11.1/include/vigra/multi_fwd.hxx:41:0, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_shape.hxx:39, from C:/library/vigra/vigra-1.11.1/include/vigra/initimage.hxx:43, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimageview.hxx:40, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:45, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:2348:24: error: 'k' was not declared in this scope for( size_t k = 0; k < SIZE; k++) ^ C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx: In function 'vigra::TinyVector vigra::floorPower2(const vigra::TinyVector&)': C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:2360:10: error: 'size_t' was not declared in this scope for( size_t k = 0; k < SIZE; k++) ^~~~~~ C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:2360:10: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/vigra/vigra-1.11.1/include/vigra/multi_fwd.hxx:41:0, from C:/library/vigra/vigra-1.11.1/include/vigra/multi_shape.hxx:39, from C:/library/vigra/vigra-1.11.1/include/vigra/initimage.hxx:43, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimageview.hxx:40, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:45, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: C:/library/vigra/vigra-1.11.1/include/vigra/tinyvector.hxx:2360:24: error: 'k' was not declared in this scope for( size_t k = 0; k < SIZE; k++) ^ In file included from c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\xmmintrin.h:34:0, from c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\emmintrin.h:31, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:87, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\main.cpp:9: c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\mm_malloc.h: At global scope: c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\mm_malloc.h:31:13: error: 'size_t' was not declared in this scope _mm_malloc (size_t __size, size_t __align) ^~~~~~ c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\mm_malloc.h:31:13: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\xmmintrin.h:34:0, from c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\emmintrin.h:31, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:87, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\main.cpp:9: c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\mm_malloc.h:31:28: error: 'size_t' was not declared in this scope _mm_malloc (size_t __size, size_t __align) ^~~~~~ c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\mm_malloc.h:31:28: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\xmmintrin.h:34:0, from c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\emmintrin.h:31, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:87, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\main.cpp:9: c:\mingw\lib\gcc\x86_64-w64-mingw32\7.1.0\include\mm_malloc.h:31:42: error: expression list treated as compound expression in initializer [-fpermissive] _mm_malloc (size_t __size, size_t __align) ^ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\main.cpp:9: C:/MinGW/include/math.h:151:8: error: redefinition of 'struct _exception' struct _exception ^~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from C:/library/vigra/vigra-1.11.1/include/vigra/diff2d.hxx:39, from C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:44, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: c:\mingw\x86_64-w64-mingw32\include\math.h:168:10: note: previous definition of 'struct _exception' struct _exception { ^~~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\main.cpp:9: C:/MinGW/include/math.h: In function 'int __fpclassifyl(long double)': C:/MinGW/include/math.h:376:26: error: redefinition of 'int __fpclassifyl(long double)' __CRT_INLINE int __cdecl __fpclassifyl (long double x){ ^~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from C:/library/vigra/vigra-1.11.1/include/vigra/diff2d.hxx:39, from C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:44, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: c:\mingw\x86_64-w64-mingw32\include\math.h:412:28: note: 'int __fpclassifyl(long double)' previously defined here __CRT_INLINE int __cdecl __fpclassifyl (long double x) { ^~~~~~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\main.cpp:9: C:/MinGW/include/math.h: In function 'int __isnan(double)': C:/MinGW/include/math.h:401:26: error: redefinition of 'int __isnan(double)' __CRT_INLINE int __cdecl __isnan (double _x) ^~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from C:/library/vigra/vigra-1.11.1/include/vigra/diff2d.hxx:39, from C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:44, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: c:\mingw\x86_64-w64-mingw32\include\math.h:525:28: note: 'int __isnan(double)' previously defined here __CRT_INLINE int __cdecl __isnan (double _x) ^~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\main.cpp:9: C:/MinGW/include/math.h: In function 'int __isnanf(float)': C:/MinGW/include/math.h:410:26: error: redefinition of 'int __isnanf(float)' __CRT_INLINE int __cdecl __isnanf (float _x) ^~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from C:/library/vigra/vigra-1.11.1/include/vigra/diff2d.hxx:39, from C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:44, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: c:\mingw\x86_64-w64-mingw32\include\math.h:546:28: note: 'int __isnanf(float)' previously defined here __CRT_INLINE int __cdecl __isnanf (float _x) ^~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\main.cpp:9: C:/MinGW/include/math.h: In function 'int __isnanl(long double)': C:/MinGW/include/math.h:419:26: error: redefinition of 'int __isnanl(long double)' __CRT_INLINE int __cdecl __isnanl (long double _x) ^~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from C:/library/vigra/vigra-1.11.1/include/vigra/diff2d.hxx:39, from C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:44, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: c:\mingw\x86_64-w64-mingw32\include\math.h:565:28: note: 'int __isnanl(long double)' previously defined here __CRT_INLINE int __cdecl __isnanl (long double _x) ^~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\main.cpp:9: C:/MinGW/include/math.h: In function 'int __signbit(double)': C:/MinGW/include/math.h:441:26: error: redefinition of 'int __signbit(double)' __CRT_INLINE int __cdecl __signbit (double x) { ^~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from C:/library/vigra/vigra-1.11.1/include/vigra/diff2d.hxx:39, from C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:44, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: c:\mingw\x86_64-w64-mingw32\include\math.h:611:28: note: 'int __signbit(double)' previously defined here __CRT_INLINE int __cdecl __signbit (double x) { ^~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\main.cpp:9: C:/MinGW/include/math.h: In function 'int __signbitf(float)': C:/MinGW/include/math.h:447:26: error: redefinition of 'int __signbitf(float)' __CRT_INLINE int __cdecl __signbitf (float x) { ^~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from C:/library/vigra/vigra-1.11.1/include/vigra/diff2d.hxx:39, from C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:44, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: c:\mingw\x86_64-w64-mingw32\include\math.h:624:28: note: 'int __signbitf(float)' previously defined here __CRT_INLINE int __cdecl __signbitf (float x) { ^~~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\main.cpp:9: C:/MinGW/include/math.h: In function 'int __signbitl(long double)': C:/MinGW/include/math.h:453:26: error: redefinition of 'int __signbitl(long double)' __CRT_INLINE int __cdecl __signbitl (long double x) { ^~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from C:/library/vigra/vigra-1.11.1/include/vigra/diff2d.hxx:39, from C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:44, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: c:\mingw\x86_64-w64-mingw32\include\math.h:636:28: note: 'int __signbitl(long double)' previously defined here __CRT_INLINE int __cdecl __signbitl (long double x) { ^~~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\main.cpp:9: C:/MinGW/include/math.h: In function 'float sinhf(float)': C:/MinGW/include/math.h:491:28: error: redefinition of 'float sinhf(float)' __CRT_INLINE float __cdecl sinhf (float x) ^~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from C:/library/vigra/vigra-1.11.1/include/vigra/diff2d.hxx:39, from C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:44, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: c:\mingw\x86_64-w64-mingw32\include\math.h:687:22: note: 'float sinhf(float)' previously defined here __CRT_INLINE float sinhf(float _X) { return ((float)sinh((double)_X)); } ^~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\main.cpp:9: C:/MinGW/include/math.h: In function 'float coshf(float)': C:/MinGW/include/math.h:498:28: error: redefinition of 'float coshf(float)' __CRT_INLINE float __cdecl coshf (float x) ^~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from C:/library/vigra/vigra-1.11.1/include/vigra/diff2d.hxx:39, from C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:44, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: c:\mingw\x86_64-w64-mingw32\include\math.h:693:22: note: 'float coshf(float)' previously defined here __CRT_INLINE float coshf(float _X) { return ((float)cosh((double)_X)); } ^~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\main.cpp:9: C:/MinGW/include/math.h: In function 'float tanhf(float)': C:/MinGW/include/math.h:505:28: error: redefinition of 'float tanhf(float)' __CRT_INLINE float __cdecl tanhf (float x) ^~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from C:/library/vigra/vigra-1.11.1/include/vigra/diff2d.hxx:39, from C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:44, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: c:\mingw\x86_64-w64-mingw32\include\math.h:699:22: note: 'float tanhf(float)' previously defined here __CRT_INLINE float tanhf(float _X) { return ((float)tanh((double)_X)); } ^~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\main.cpp:9: C:/MinGW/include/math.h: In function 'float expf(float)': C:/MinGW/include/math.h:530:28: error: redefinition of 'float expf(float)' __CRT_INLINE float __cdecl expf (float x) ^~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from C:/library/vigra/vigra-1.11.1/include/vigra/diff2d.hxx:39, from C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:44, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: c:\mingw\x86_64-w64-mingw32\include\math.h:723:22: note: 'float expf(float)' previously defined here __CRT_INLINE float expf(float _X) { return ((float)exp((double)_X)); } ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\main.cpp:9: C:/MinGW/include/math.h: In function 'float frexpf(float, int*)': C:/MinGW/include/math.h:549:28: error: redefinition of 'float frexpf(float, int*)' __CRT_INLINE float __cdecl frexpf (float x, int* expn) ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from C:/library/vigra/vigra-1.11.1/include/vigra/diff2d.hxx:39, from C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:44, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: c:\mingw\x86_64-w64-mingw32\include\math.h:741:22: note: 'float frexpf(float, int*)' previously defined here __CRT_INLINE float frexpf(float _X,int *_Y) { return ((float)frexp((double)_X,_Y)); } ^~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:94:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46, from E:\project\SIFT-master\main.cpp:9: C:/MinGW/include/math.h: In function 'float ldexpf(float, int)': C:/MinGW/include/math.h:564:28: error: redefinition of 'float ldexpf(float, int)' __CRT_INLINE float __cdecl ldexpf (float x, int expn) ^~~~~~ In file included from c:\mingw\include\c++\7.1.0\cmath:45:0, from C:/library/vigra/vigra-1.11.1/include/vigra/diff2d.hxx:39, from C:/library/vigra/vigra-1.11.1/include/vigra/utilities.hxx:44, from C:/library/vigra/vigra-1.11.1/include/vigra/basicimage.hxx:41, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: c:\mingw\x86_64-w64-mingw32\include\math.h:755:30: note: 'float ldexpf(float, int)' previously defined here __CRT_INLINE float __cdecl ldexpf (float x, int expn) { return (float) ldexp ((double)x, expn); } ^~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h: In function 'CvMat cvMat(int, int, int, void*)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:749:36: error: 'size_t' was not declared in this scope (CV_MAT_CN(type) << ((((sizeof(size_t)/4+1)*16384|0x3a50) >> CV_MAT_DEPTH(type)*2) & 3)) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:769:21: note: in expansion of macro 'CV_ELEM_SIZE' m.step = m.cols*CV_ELEM_SIZE(type); ^~~~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:749:36: note: suggested alternatives: (CV_MAT_CN(type) << ((((sizeof(size_t)/4+1)*16384|0x3a50) >> CV_MAT_DEPTH(type)*2) & 3)) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:769:21: note: in expansion of macro 'CV_ELEM_SIZE' m.step = m.cols*CV_ELEM_SIZE(type); ^~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h: In function 'double cvmGet(const CvMat*, int, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:799:50: error: 'size_t' was not declared in this scope return ((float*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col]; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:799:50: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:799:57: error: expected ')' before 'mat' return ((float*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col]; ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:799:77: error: expected ')' before ';' token return ((float*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:803:51: error: 'size_t' was not declared in this scope return ((double*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col]; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:803:51: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:803:58: error: expected ')' before 'mat' return ((double*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col]; ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:803:78: error: expected ')' before ';' token return ((double*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h: In function 'void cvmSet(CvMat*, int, int, double)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:816:43: error: 'size_t' was not declared in this scope ((float*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col] = (float)value; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:816:43: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:816:50: error: expected ')' before 'mat' ((float*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col] = (float)value; ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:816:85: error: expected ')' before ';' token ((float*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col] = (float)value; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:820:44: error: 'size_t' was not declared in this scope ((double*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col] = value; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:820:44: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:46:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:820:51: error: expected ')' before 'mat' ((double*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col] = value; ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:820:79: error: expected ')' before ';' token ((double*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col] = value; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h: In function 'int cvIplDepth(int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:745:16: error: 'size_t' was not declared in this scope ((((sizeof(size_t)<<28)|0x8442211) >> CV_MAT_DEPTH(type)*4) & 15) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:828:12: note: in expansion of macro 'CV_ELEM_SIZE1' return CV_ELEM_SIZE1(depth)*8 | (depth == CV_8S || depth == CV_16S || ^~~~~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:745:16: note: suggested alternatives: ((((sizeof(size_t)<<28)|0x8442211) >> CV_MAT_DEPTH(type)*4) & 15) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/types_c.h:828:12: note: in expansion of macro 'CV_ELEM_SIZE1' return CV_ELEM_SIZE1(depth)*8 | (depth == CV_8S || depth == CV_16S || ^~~~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from E:\project\SIFT-master\main.cpp:9:0: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:305:29: error: 'size_t' was not declared in this scope CV_EXPORTS void* fastMalloc(size_t bufSize); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:305:29: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from E:\project\SIFT-master\main.cpp:9:0: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:315:52: warning: inline variables are only available with -std=c++1z or -std=gnu++1z template static inline _Tp* allocate(size_t n) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:315:52: error: 'size_t' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:315:52: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from E:\project\SIFT-master\main.cpp:9:0: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:315:43: warning: variable templates only available with -std=c++14 or -std=gnu++14 template static inline _Tp* allocate(size_t n) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:316:1: error: expected ';' before '{' token { ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:320:64: error: 'size_t' has not been declared template static inline void deallocate(_Tp* ptr, size_t) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp: In function '_Tp* cv::alignPtr(_Tp*, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:333:21: error: 'size_t' was not declared in this scope return (_Tp*)(((size_t)ptr + n-1) & -n); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:333:21: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from E:\project\SIFT-master\main.cpp:9:0: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:333:28: error: expected ')' before 'ptr' return (_Tp*)(((size_t)ptr + n-1) & -n); ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:333:44: error: expected ')' before ';' token return (_Tp*)(((size_t)ptr + n-1) & -n); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:341:15: error: 'size_t' does not name a type; did you mean 'ssize_t'? static inline size_t alignSize(size_t sz, int n) ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:376:13: error: 'size_t' does not name a type; did you mean 'ssize_t'? typedef size_t size_type; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:390:22: error: 'size_type' has not been declared pointer allocate(size_type count, const void* =0) ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:393:32: error: 'size_type' has not been declared void deallocate(pointer p, size_type) {fastFree(p); } ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:395:5: error: 'size_type' does not name a type; did you mean 'value_type'? size_type max_size() const ^~~~~~~~~ value_type C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp: In member function 'cv::Allocator<_Tp>::value_type* cv::Allocator<_Tp>::allocate(int, const void*)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:391:71: error: 'cv::fastMalloc' cannot be used as a function { return reinterpret_cast(fastMalloc(count * sizeof (_Tp))); } ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1388:13: error: 'size_t' does not name a type; did you mean 'ssize_t'? virtual size_t total(int i=-1) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1482:15: error: 'size_t' does not name a type; did you mean 'ssize_t'? static inline size_t getElemSize(int type) { return CV_ELEM_SIZE(type); } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1494:60: error: 'size_t' has not been declared uchar*& datastart, uchar*& data, size_t* step) = 0; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1728:51: error: 'size_t' has not been declared Mat(int rows, int cols, int type, void* data, size_t step=AUTO_STEP); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1729:42: error: 'size_t' has not been declared Mat(Size size, int type, void* data, size_t step=AUTO_STEP); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1730:66: error: 'size_t' does not name a type; did you mean 'ssize_t'? Mat(int ndims, const int* sizes, int type, void* data, const size_t* steps=0); ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1843:18: error: 'size_t' has not been declared void reserve(size_t sz); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1845:17: error: 'size_t' has not been declared void resize(size_t sz); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1847:17: error: 'size_t' has not been declared void resize(size_t sz, const Scalar& s); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1855:19: error: 'size_t' has not been declared void pop_back(size_t nelems=1); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1888:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t elemSize() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1890:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t elemSize1() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1898:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t step1(int i=0) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:1902:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t total() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2014:22: error: expected ')' before 's' MStep(size_t s); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2015:15: error: 'size_t' does not name a type; did you mean 'ssize_t'? const size_t& operator[](int i) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2016:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t& operator[](int i); ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2017:18: error: expected type-specifier before 'size_t' operator size_t() const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2018:28: error: declaration of 'operator=' as non-function MStep& operator = (size_t s); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2018:25: error: expected ';' at end of member declaration MStep& operator = (size_t s); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2018:35: error: expected ')' before 's' MStep& operator = (size_t s); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2020:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t* p; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2021:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t buf[2]; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2136:47: error: 'size_t' has not been declared typedef void (*BinaryFunc)(const uchar* src1, size_t step1, ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2137:47: error: 'size_t' has not been declared const uchar* src2, size_t step2, ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2138:40: error: 'size_t' has not been declared uchar* dst, size_t step, Size sz, ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2143:39: error: 'size_t' was not declared in this scope CV_EXPORTS BinaryFunc getCopyMaskFunc(size_t esz); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2143:39: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from E:\project\SIFT-master\main.cpp:9:0: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2229:38: error: 'size_t' has not been declared CV_EXPORTS void merge(const Mat* mv, size_t count, OutputArray dst); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2243:45: error: 'size_t' has not been declared CV_EXPORTS void mixChannels(const Mat* src, size_t nsrcs, Mat* dst, size_t ndsts, ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2243:69: error: 'size_t' has not been declared CV_EXPORTS void mixChannels(const Mat* src, size_t nsrcs, Mat* dst, size_t ndsts, ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2244:48: error: 'size_t' has not been declared const int* fromTo, size_t npairs); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2246:48: error: 'size_t' has not been declared const int* fromTo, size_t npairs); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2263:41: error: 'size_t' has not been declared CV_EXPORTS void hconcat(const Mat* src, size_t nsrc, OutputArray dst); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2267:41: error: 'size_t' has not been declared CV_EXPORTS void vconcat(const Mat* src, size_t nsrc, OutputArray dst); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2848:44: error: 'size_t' has not been declared Mat_(int _rows, int _cols, _Tp* _data, size_t _step=AUTO_STEP); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2850:59: error: 'size_t' does not name a type; did you mean 'ssize_t'? Mat_(int _ndims, const int* _sizes, _Tp* _data, const size_t* _steps=0); ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2897:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t elemSize() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2898:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t elemSize1() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2902:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t step1(int i=0) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:2904:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t stepT(int i=0) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3042:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t elemSize; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3221:24: error: 'size_t' has not been declared template class AutoBuffer ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3230:23: error: expected ')' before '_size' AutoBuffer(size_t _size); ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3235:19: error: 'size_t' has not been declared void allocate(size_t _size); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3247:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t size; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3249:13: error: 'fixed_size' was not declared in this scope _Tp buf[fixed_size+buffer_padding]; ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3249:38: error: array bound is not an integer constant before ']' token _Tp buf[fixed_size+buffer_padding]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3330:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t nplanes; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3332:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t size; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3335:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t idx; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3455:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t nodeSize; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3456:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t nodeCount; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3457:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t freeList; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3459:16: error: 'size_t' was not declared in this scope vector hashtab; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3459:16: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from E:\project\SIFT-master\main.cpp:9:0: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3459:22: error: template argument 1 is invalid vector hashtab; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3459:22: error: template argument 2 is invalid C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3467:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t hashval; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3469:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t next; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3533:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t elemSize() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3535:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t elemSize1() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3551:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t nzcount() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3554:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t hash(int i0) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3556:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t hash(int i0, int i1) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3558:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t hash(int i0, int i1, int i2) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3560:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t hash(const int* idx) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3577:44: error: 'size_t' has not been declared uchar* ptr(int i0, bool createMissing, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3579:52: error: 'size_t' has not been declared uchar* ptr(int i0, int i1, bool createMissing, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3581:60: error: 'size_t' has not been declared uchar* ptr(int i0, int i1, int i2, bool createMissing, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3583:52: error: 'size_t' has not been declared uchar* ptr(const int* idx, bool createMissing, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3595:45: error: 'size_t' has not been declared template _Tp& ref(int i0, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3597:53: error: 'size_t' has not been declared template _Tp& ref(int i0, int i1, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3599:61: error: 'size_t' has not been declared template _Tp& ref(int i0, int i1, int i2, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3601:53: error: 'size_t' has not been declared template _Tp& ref(const int* idx, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3617:46: error: 'size_t' has not been declared template _Tp value(int i0, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3619:54: error: 'size_t' has not been declared template _Tp value(int i0, int i1, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3621:62: error: 'size_t' has not been declared template _Tp value(int i0, int i1, int i2, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3623:54: error: 'size_t' has not been declared template _Tp value(const int* idx, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3635:52: error: 'size_t' has not been declared template const _Tp* find(int i0, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3637:60: error: 'size_t' has not been declared template const _Tp* find(int i0, int i1, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3639:68: error: 'size_t' has not been declared template const _Tp* find(int i0, int i1, int i2, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3641:60: error: 'size_t' has not been declared template const _Tp* find(const int* idx, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3644:32: error: 'size_t' has not been declared void erase(int i0, int i1, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3646:40: error: 'size_t' has not been declared void erase(int i0, int i1, int i2, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3648:32: error: 'size_t' has not been declared void erase(const int* idx, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3681:11: error: expected ';' at end of member declaration Node* node(size_t nidx); ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3681:23: error: expected ')' before 'nidx' Node* node(size_t nidx); ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3682:17: error: expected ';' at end of member declaration const Node* node(size_t nidx) const; ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3682:22: error: redeclaration of 'const cv::SparseMat::Node* cv::SparseMat::node' const Node* node(size_t nidx) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3681:16: note: previous declaration 'cv::SparseMat::Node* cv::SparseMat::node' Node* node(size_t nidx); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3682:29: error: expected ')' before 'nidx' const Node* node(size_t nidx) const; ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3684:36: error: 'size_t' has not been declared uchar* newNode(const int* idx, size_t hashval); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3685:21: error: 'size_t' has not been declared void removeNode(size_t hidx, size_t nidx, size_t previdx); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3685:34: error: 'size_t' has not been declared void removeNode(size_t hidx, size_t nidx, size_t previdx); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3685:47: error: 'size_t' has not been declared void removeNode(size_t hidx, size_t nidx, size_t previdx); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3686:24: error: 'size_t' has not been declared void resizeHashTab(size_t newsize); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3745:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t hashidx; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3833:22: error: 'size_t' has not been declared _Tp& ref(int i0, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3835:30: error: 'size_t' has not been declared _Tp& ref(int i0, int i1, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3837:38: error: 'size_t' has not been declared _Tp& ref(int i0, int i1, int i2, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3839:30: error: 'size_t' has not been declared _Tp& ref(const int* idx, size_t* hashval=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3842:28: error: 'size_t' has not been declared _Tp operator()(int i0, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3844:36: error: 'size_t' has not been declared _Tp operator()(int i0, int i1, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3846:44: error: 'size_t' has not been declared _Tp operator()(int i0, int i1, int i2, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3848:36: error: 'size_t' has not been declared _Tp operator()(const int* idx, size_t* hashval=0) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4160:57: error: 'size_t' has not been declared void writeRaw( const string& fmt, const uchar* vec, size_t len ); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4240:13: error: 'size_t' does not name a type; did you mean 'ssize_t'? CV_WRAP size_t size() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4261:50: error: 'size_t' has not been declared void readRaw( const string& fmt, uchar* vec, size_t len ) const; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4282:71: error: 'size_t' has not been declared FileNodeIterator(const CvFileStorage* fs, const CvFileNode* node, size_t ofs=0); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4305:32: error: 'size_t' has not been declared size_t maxCount=(size_t)INT_MAX ); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4310:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t remaining; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4305:49: error: 'size_t' was not declared in this scope size_t maxCount=(size_t)INT_MAX ); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4305:49: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from E:\project\SIFT-master\main.cpp:9:0: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4350:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t size() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4358:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t elemSize() const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4360:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t index(const _Tp& elem) const; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4366:38: error: 'size_t' has not been declared void push_back(const _Tp* elems, size_t count); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4368:39: error: 'size_t' has not been declared void push_front(const _Tp* elems, size_t count); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4372:44: error: 'size_t' has not been declared void insert(int idx, const _Tp* elems, size_t count); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4396:32: error: 'size_t' has not been declared void pop_front(_Tp* elems, size_t count); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4398:31: error: 'size_t' has not been declared void pop_back(_Tp* elems, size_t count); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4420:15: error: 'size_t' has not been declared void seek(size_t pos); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4422:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t tell() const; ^~~~~~ ssize_t In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:711:29: error: 'size_t' has not been declared CV_EXPORTS int LU(float* A, size_t astep, int m, float* b, size_t bstep, int n); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:711:60: error: 'size_t' has not been declared CV_EXPORTS int LU(float* A, size_t astep, int m, float* b, size_t bstep, int n); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:712:30: error: 'size_t' has not been declared CV_EXPORTS int LU(double* A, size_t astep, int m, double* b, size_t bstep, int n); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:712:62: error: 'size_t' has not been declared CV_EXPORTS int LU(double* A, size_t astep, int m, double* b, size_t bstep, int n); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:713:36: error: 'size_t' has not been declared CV_EXPORTS bool Cholesky(float* A, size_t astep, int m, float* b, size_t bstep, int n); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:713:67: error: 'size_t' has not been declared CV_EXPORTS bool Cholesky(float* A, size_t astep, int m, float* b, size_t bstep, int n); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:714:37: error: 'size_t' has not been declared CV_EXPORTS bool Cholesky(double* A, size_t astep, int m, double* b, size_t bstep, int n); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:714:69: error: 'size_t' has not been declared CV_EXPORTS bool Cholesky(double* A, size_t astep, int m, double* b, size_t bstep, int n); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2286:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t size; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2287:9: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t capacity; ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2291:19: error: expected ')' before '_size' Vector(size_t _size) { resize(_size); } ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2292:19: error: expected ')' before '_size' Vector(size_t _size, const _Tp& val) ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2298:24: error: 'size_t' has not been declared Vector(_Tp* _data, size_t _size, bool _copyData=false) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2365:23: error: declaration of 'operator[]' as non-function _Tp& operator [] (size_t i) { CV_DbgAssert( i < size() ); return hdr.data[i]; } ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2365:20: error: expected ';' at end of member declaration _Tp& operator [] (size_t i) { CV_DbgAssert( i < size() ); return hdr.data[i]; } ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2365:30: error: expected ')' before 'i' _Tp& operator [] (size_t i) { CV_DbgAssert( i < size() ); return hdr.data[i]; } ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2366:29: error: declaration of 'operator[]' as non-function const _Tp& operator [] (size_t i) const { CV_DbgAssert( i < size() ); return hdr.data[i]; } ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2366:26: error: expected ';' at end of member declaration const _Tp& operator [] (size_t i) const { CV_DbgAssert( i < size() ); return hdr.data[i]; } ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2366:36: error: expected ')' before 'i' const _Tp& operator [] (size_t i) const { CV_DbgAssert( i < size() ); return hdr.data[i]; } ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2389:26: error: 'size_t' has not been declared void set(_Tp* _data, size_t _size, bool _copyData=false) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2407:18: error: 'size_t' has not been declared void reserve(size_t newCapacity) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2426:17: error: 'size_t' has not been declared void resize(size_t newSize) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2454:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t size() const { return hdr.size; } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2455:5: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t capacity() const { return hdr.capacity; } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In constructor 'cv::Vector<_Tp>::Hdr::Hdr()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2282:53: error: class 'cv::Vector<_Tp>::Hdr' does not have any field named 'size' Hdr() : data(0), datastart(0), refcount(0), size(0), capacity(0) {}; ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2282:62: error: class 'cv::Vector<_Tp>::Hdr' does not have any field named 'capacity' Hdr() : data(0), datastart(0), refcount(0), size(0), capacity(0) {}; ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'void cv::Vector<_Tp>::copyTo(cv::Vector<_Tp>&) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2344:9: error: 'size_t' was not declared in this scope size_t i, sz = size(); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2344:9: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2345:20: error: 'sz' was not declared in this scope vec.resize(sz); ^~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2348:14: error: 'i' was not declared in this scope for( i = 0; i < sz; i++ ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'void cv::Vector<_Tp>::copyTo(std::vector&) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2354:9: error: 'size_t' was not declared in this scope size_t i, sz = size(); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2354:9: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2355:20: error: 'sz' was not declared in this scope vec.resize(sz); ^~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2358:14: error: 'i' was not declared in this scope for( i = 0; i < sz; i++ ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'cv::Vector<_Tp>::operator CvMat() const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2363:25: error: there are no arguments to 'size' that depend on a template parameter, so a declaration of 'size' must be available [-fpermissive] { return cvMat((int)size(), 1, type(), (void*)hdr.data); } ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2363:25: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'void cv::Vector<_Tp>::set(_Tp*, int, bool)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2401:18: error: 'size_t' was not declared in this scope for( size_t i = 0; i < _size; i++ ) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2401:18: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2401:32: error: 'i' was not declared in this scope for( size_t i = 0; i < _size; i++ ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'void cv::Vector<_Tp>::reserve(int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2411:9: error: 'size_t' was not declared in this scope size_t i, oldSize = hdr.size; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2411:9: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2414:45: error: 'oldSize' was not declared in this scope newCapacity = std::max(newCapacity, oldSize); ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2414:45: note: suggested alternative: 'Size' newCapacity = std::max(newCapacity, oldSize); ^~~~~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2417:14: error: 'i' was not declared in this scope for( i = 0; i < oldSize; i++ ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'void cv::Vector<_Tp>::resize(int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2428:9: error: 'size_t' was not declared in this scope size_t i; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2428:9: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2429:45: error: expected ')' before numeric constant newSize = std::max(newSize, (size_t)0); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2433:56: error: expected ')' before numeric constant reserve(std::max(newSize, std::max((size_t)4, hdr.capacity*2))); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2434:14: error: 'i' was not declared in this scope for( i = hdr.size; i < newSize; i++ ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'cv::Vector<_Tp>& cv::Vector<_Tp>::push_back(const _Tp&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2442:32: error: 'size_t' was not declared in this scope reserve( std::max((size_t)4, hdr.capacity*2) ); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2442:32: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In function 'typename cv::DataType<_Tp>::work_type cv::dot(const cv::Vector<_Tp>&, const cv::Vector<_Tp>&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2469:5: error: 'size_t' was not declared in this scope size_t i = 0, n = v1.size(); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2469:5: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2474:12: error: 'i' was not declared in this scope for( ; i < n; i++ ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2474:16: error: 'n' was not declared in this scope for( ; i < n; i++ ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2540:24: error: 'size_t' has not been declared template inline AutoBuffer<_Tp, fixed_size>::AutoBuffer() ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2540:66: error: 'fixed_size' was not declared in this scope template inline AutoBuffer<_Tp, fixed_size>::AutoBuffer() ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2540:76: error: template argument 2 is invalid template inline AutoBuffer<_Tp, fixed_size>::AutoBuffer() ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2540:79: error: conflicting declaration of template 'template > int cv::AutoBuffer()' template inline AutoBuffer<_Tp, fixed_size>::AutoBuffer() ^~~~~~~~~~ In file included from E:\project\SIFT-master\main.cpp:9:0: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3221:68: note: previous declaration 'template > class cv::AutoBuffer' template class AutoBuffer ^~~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2546:24: error: 'size_t' has not been declared template inline AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t _size) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2546:66: error: 'fixed_size' was not declared in this scope template inline AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t _size) ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2546:76: error: template argument 2 is invalid template inline AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t _size) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2546:90: warning: inline variables are only available with -std=c++1z or -std=gnu++1z template inline AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t _size) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2546:90: error: conflicting declaration of template 'template > int cv::AutoBuffer' In file included from E:\project\SIFT-master\main.cpp:9:0: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:3221:68: note: previous declaration 'template > class cv::AutoBuffer' template class AutoBuffer ^~~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2546:90: error: 'size_t' was not declared in this scope template inline AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t _size) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2546:90: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2553:24: error: 'size_t' has not been declared template inline AutoBuffer<_Tp, fixed_size>::~AutoBuffer() ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2553:66: error: 'fixed_size' was not declared in this scope template inline AutoBuffer<_Tp, fixed_size>::~AutoBuffer() ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2553:76: error: template argument 2 is invalid template inline AutoBuffer<_Tp, fixed_size>::~AutoBuffer() ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2556:24: error: 'size_t' has not been declared template inline void AutoBuffer<_Tp, fixed_size>::allocate(size_t _size) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2556:71: error: 'fixed_size' was not declared in this scope template inline void AutoBuffer<_Tp, fixed_size>::allocate(size_t _size) ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2556:81: error: template argument 2 is invalid template inline void AutoBuffer<_Tp, fixed_size>::allocate(size_t _size) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2556:93: error: variable or field 'allocate' declared void template inline void AutoBuffer<_Tp, fixed_size>::allocate(size_t _size) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2556:93: error: 'size_t' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2556:93: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2568:24: error: 'size_t' has not been declared template inline void AutoBuffer<_Tp, fixed_size>::deallocate() ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2568:71: error: 'fixed_size' was not declared in this scope template inline void AutoBuffer<_Tp, fixed_size>::deallocate() ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2568:81: error: template argument 2 is invalid template inline void AutoBuffer<_Tp, fixed_size>::deallocate() ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In function 'void cv::deallocate()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2570:9: error: 'ptr' was not declared in this scope if( ptr != buf ) ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2570:9: note: suggested alternative: 'Ptr' if( ptr != buf ) ^~~ Ptr C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2570:16: error: 'buf' was not declared in this scope if( ptr != buf ) ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2572:34: error: 'size' was not declared in this scope cv::deallocate<_Tp>(ptr, size); ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2572:34: note: suggested alternative: 'Size' cv::deallocate<_Tp>(ptr, size); ^~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2574:16: error: 'fixed_size' was not declared in this scope size = fixed_size; ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2578:24: error: 'size_t' has not been declared template inline AutoBuffer<_Tp, fixed_size>::operator _Tp* () ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2578:66: error: 'fixed_size' was not declared in this scope template inline AutoBuffer<_Tp, fixed_size>::operator _Tp* () ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2578:76: error: template argument 2 is invalid template inline AutoBuffer<_Tp, fixed_size>::operator _Tp* () ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2578:94: error: 'cv::operator _Tp*()' must be a nonstatic member function template inline AutoBuffer<_Tp, fixed_size>::operator _Tp* () ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2581:24: error: 'size_t' has not been declared template inline AutoBuffer<_Tp, fixed_size>::operator const _Tp* () const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2581:66: error: 'fixed_size' was not declared in this scope template inline AutoBuffer<_Tp, fixed_size>::operator const _Tp* () const ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2581:76: error: template argument 2 is invalid template inline AutoBuffer<_Tp, fixed_size>::operator const _Tp* () const ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2581:102: error: non-member function 'cv::operator const _Tp*()' cannot have cv-qualifier template inline AutoBuffer<_Tp, fixed_size>::operator const _Tp* () const ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2581:102: error: 'cv::operator const _Tp*()' must be a nonstatic member function C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In constructor 'cv::Ptr<_Tp>::Ptr(_Tp*)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2592:54: error: 'cv::fastMalloc' cannot be used as a function refcount = (int*)fastMalloc(sizeof(*refcount)); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'void cv::VecWriterProxy<_Tp, numflag>::operator()(const std::vector&) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2939:9: error: 'size_t' was not declared in this scope size_t i, count = vec.size(); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2939:9: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2940:14: error: 'i' was not declared in this scope for( i = 0; i < count; i++ ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2940:25: error: 'count' was not declared in this scope for( i = 0; i < count; i++ ) ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2940:25: note: suggested alternative: In file included from c:\mingw\include\c++\7.1.0\algorithm:62:0, from C:/library/vigra/vigra-1.11.1/include/vigra/metaprogramming.hxx:42, from C:/library/vigra/vigra-1.11.1/include/vigra/sized_int.hxx:40, from C:/library/vigra/vigra-1.11.1/include/vigra/stdimage.hxx:40, from C:/library/vigra/vigra-1.11.1/include/vigra/impex.hxx:51, from E:\project\SIFT-master\main.cpp:6: c:\mingw\include\c++\7.1.0\bits\stl_algo.h:4076:5: note: 'std::count' count(_InputIterator __first, _InputIterator __last, const _Tp& __value) ^~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3010:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t FileNode::size() const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3156:63: error: 'size_t' has not been declared inline void FileNode::readRaw( const string& fmt, uchar* vec, size_t len ) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3165:39: error: 'size_t' has not been declared void operator()(vector<_Tp>& vec, size_t count) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'void cv::VecReaderProxy<_Tp, numflag>::operator()(std::vector&, int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3167:37: error: 'class cv::FileNodeIterator' has no member named 'remaining' count = std::min(count, it->remaining); ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3169:14: error: 'size_t' was not declared in this scope for( size_t i = 0; i < count; i++, ++(*it) ) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3169:14: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3169:28: error: 'i' was not declared in this scope for( size_t i = 0; i < count; i++, ++(*it) ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3169:28: note: suggested alternative: 'it' for( size_t i = 0; i < count; i++, ++(*it) ) ^ it C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3179:39: error: 'size_t' has not been declared void operator()(vector<_Tp>& vec, size_t count) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'void cv::VecReaderProxy<_Tp, 1>::operator()(std::vector&, int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3181:9: error: 'size_t' was not declared in this scope size_t remaining = it->remaining, cn = DataType<_Tp>::channels; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3181:9: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3184:16: error: expected ';' before 'remaining1' size_t remaining1 = remaining/cn; ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3185:25: error: 'remaining1' was not declared in this scope count = count < remaining1 ? count : remaining1; ^~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3185:25: note: suggested alternative: 'remainderl' count = count < remaining1 ? count : remaining1; ^~~~~~~~~~ remainderl C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3193:47: error: 'size_t' has not been declared read( FileNodeIterator& it, vector<_Tp>& vec, size_t maxCount=(size_t)INT_MAX ) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3193:64: error: 'size_t' was not declared in this scope read( FileNodeIterator& it, vector<_Tp>& vec, size_t maxCount=(size_t)INT_MAX ) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3193:64: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from c:\mingw\x86_64-w64-mingw32\include\stdlib.h:10:0, from c:\mingw\include\c++\7.1.0\cstdlib:75, from c:\mingw\include\c++\7.1.0\ext\string_conversions.h:41, from c:\mingw\include\c++\7.1.0\bits\basic_string.h:6159, from c:\mingw\include\c++\7.1.0\string:52, from c:\mingw\include\c++\7.1.0\bits\locale_classes.h:40, from c:\mingw\include\c++\7.1.0\bits\ios_base.h:41, from c:\mingw\include\c++\7.1.0\ios:42, from c:\mingw\include\c++\7.1.0\ostream:38, from c:\mingw\include\c++\7.1.0\iostream:39, from E:\project\SIFT-master\main.cpp:1: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3193:71: error: expected ',' or '...' before numeric constant read( FileNodeIterator& it, vector<_Tp>& vec, size_t maxCount=(size_t)INT_MAX ) ^ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'cv::FileNodeIterator cv::FileNode::end() const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3218:39: error: 'size' was not declared in this scope return FileNodeIterator(fs, node, size()); ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3218:39: note: suggested alternative: 'Size' return FileNodeIterator(fs, node, size()); ^~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In function 'cv::FileNodeIterator& cv::operator>>(cv::FileNodeIterator&, std::vector&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3234:13: error: 'size_t' was not declared in this scope r(vec, (size_t)INT_MAX); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3234:13: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In function 'bool cv::operator==(const cv::FileNodeIterator&, const cv::FileNodeIterator&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3247:49: error: 'const class cv::FileNodeIterator' has no member named 'remaining' it1.reader.ptr == it2.reader.ptr && it1.remaining == it2.remaining; ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3247:66: error: 'const class cv::FileNodeIterator' has no member named 'remaining' it1.reader.ptr == it2.reader.ptr && it1.remaining == it2.remaining; ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In function 'std::ptrdiff_t cv::operator-(const cv::FileNodeIterator&, const cv::FileNodeIterator&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3257:16: error: 'const class cv::FileNodeIterator' has no member named 'remaining' return it2.remaining - it1.remaining; ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3257:32: error: 'const class cv::FileNodeIterator' has no member named 'remaining' return it2.remaining - it1.remaining; ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In function 'bool cv::operator<(const cv::FileNodeIterator&, const cv::FileNodeIterator&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3262:16: error: 'const class cv::FileNodeIterator' has no member named 'remaining' return it1.remaining > it2.remaining; ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3262:32: error: 'const class cv::FileNodeIterator' has no member named 'remaining' return it1.remaining > it2.remaining; ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In function 'void cv::sort(std::vector&, _LT)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3338:5: error: 'size_t' was not declared in this scope size_t total = vec.size(); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3338:5: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3340:9: error: 'total' was not declared in this scope if( total <= 1 ) ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3345:26: error: 'total' was not declared in this scope stack[0].ub = arr + (total - 1); ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3655:31: error: 'size_t' does not name a type; did you mean 'ssize_t'? template inline size_t Seq<_Tp>::size() const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3667:31: error: 'size_t' does not name a type; did you mean 'ssize_t'? template inline size_t Seq<_Tp>::elemSize() const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3670:31: error: 'size_t' does not name a type; did you mean 'ssize_t'? template inline size_t Seq<_Tp>::index(const _Tp& elem) const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3679:73: error: 'size_t' has not been declared template inline void Seq<_Tp>::push_back(const _Tp* elem, size_t count) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3682:74: error: 'size_t' has not been declared template inline void Seq<_Tp>::push_front(const _Tp* elem, size_t count) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3709:66: error: 'size_t' has not been declared template inline void Seq<_Tp>::pop_back(_Tp* elem, size_t count) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3712:67: error: 'size_t' has not been declared template inline void Seq<_Tp>::pop_front(_Tp* elem, size_t count) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3718:80: error: 'size_t' has not been declared template inline void Seq<_Tp>::insert(int idx, const _Tp* elems, size_t count) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: In member function 'void cv::Seq<_Tp>::copyTo(std::vector&, const cv::Range&) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3732:5: error: 'size_t' was not declared in this scope size_t len = !seq ? 0 : range == Range::all() ? seq->total : range.end - range.start; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3732:5: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3733:16: error: 'len' was not declared in this scope vec.resize(len); ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3754:59: error: variable or field 'seek' declared void template inline void SeqIterator<_Tp>::seek(size_t pos) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3754:59: error: 'size_t' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3754:59: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:3760:31: error: 'size_t' does not name a type; did you mean 'ssize_t'? template inline size_t SeqIterator<_Tp>::tell() const ^~~~~~ ssize_t In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In copy constructor 'cv::Mat::Mat(const cv::Mat&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:120:13: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = m.step[0]; step[1] = m.step[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:120:25: error: no match for 'operator[]' (operand types are 'const cv::Mat::MStep' and 'int') step[0] = m.step[0]; step[1] = m.step[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:120:34: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = m.step[0]; step[1] = m.step[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:120:46: error: no match for 'operator[]' (operand types are 'const cv::Mat::MStep' and 'int') step[0] = m.step[0]; step[1] = m.step[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:129:63: error: 'size_t' has not been declared inline Mat::Mat(int _rows, int _cols, int _type, void* _data, size_t _step) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(int, int, int, void*, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:134:5: error: 'size_t' was not declared in this scope size_t esz = CV_ELEM_SIZE(_type), minstep = cols*esz; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:134:5: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:137:17: error: 'minstep' was not declared in this scope _step = minstep; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:137:17: note: suggested alternative: 'step' _step = minstep; ^~~~~~~ step C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:142:33: error: 'minstep' was not declared in this scope if( rows == 1 ) _step = minstep; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:142:33: note: suggested alternative: 'step' if( rows == 1 ) _step = minstep; ^~~~~~~ step C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:144:27: error: 'minstep' was not declared in this scope flags |= _step == minstep ? CONTINUOUS_FLAG : 0; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:144:27: note: suggested alternative: 'step' flags |= _step == minstep ? CONTINUOUS_FLAG : 0; ^~~~~~~ step C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:146:9: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = _step; step[1] = esz; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:146:26: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = _step; step[1] = esz; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:146:32: error: 'esz' was not declared in this scope step[0] = _step; step[1] = esz; ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:148:35: error: 'minstep' was not declared in this scope dataend = datalimit - _step + minstep; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:148:35: note: suggested alternative: 'step' dataend = datalimit - _step + minstep; ^~~~~~~ step C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:151:51: error: 'size_t' has not been declared inline Mat::Mat(Size _sz, int _type, void* _data, size_t _step) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(cv::Size, int, void*, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:156:5: error: 'size_t' was not declared in this scope size_t esz = CV_ELEM_SIZE(_type), minstep = cols*esz; ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:156:5: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:159:17: error: 'minstep' was not declared in this scope _step = minstep; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:159:17: note: suggested alternative: 'step' _step = minstep; ^~~~~~~ step C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:164:33: error: 'minstep' was not declared in this scope if( rows == 1 ) _step = minstep; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:164:33: note: suggested alternative: 'step' if( rows == 1 ) _step = minstep; ^~~~~~~ step C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:166:27: error: 'minstep' was not declared in this scope flags |= _step == minstep ? CONTINUOUS_FLAG : 0; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:166:27: note: suggested alternative: 'step' flags |= _step == minstep ? CONTINUOUS_FLAG : 0; ^~~~~~~ step C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:168:9: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = _step; step[1] = esz; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:168:26: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = _step; step[1] = esz; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:168:32: error: 'esz' was not declared in this scope step[0] = _step; step[1] = esz; ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:168:32: note: suggested alternative: '_sz' step[0] = _step; step[1] = esz; ^~~ _sz C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:170:35: error: 'minstep' was not declared in this scope dataend = datalimit - _step + minstep; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:170:35: note: suggested alternative: 'step' dataend = datalimit - _step + minstep; ^~~~~~~ step C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(const std::vector&, bool)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:183:13: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = step[1] = sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:183:23: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = step[1] = sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:185:52: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') datalimit = dataend = datastart + rows*step[0]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(const cv::Vec<_Tp, m>&, bool)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:199:13: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = step[1] = sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:199:23: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = step[1] = sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:201:52: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') datalimit = dataend = datastart + rows*step[0]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(const cv::Matx<_Tp, m, n>&, bool)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:215:13: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = cols*sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:216:13: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[1] = sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:218:52: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') datalimit = dataend = datastart + rows*step[0]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(const cv::Point_<_Tp>&, bool)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:232:13: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = step[1] = sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:232:23: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = step[1] = sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:234:52: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') datalimit = dataend = datastart + rows*step[0]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::Mat::Mat(const cv::Point3_<_Tp>&, bool)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:252:13: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = step[1] = sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:252:23: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = step[1] = sizeof(_Tp); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:254:52: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') datalimit = dataend = datastart + rows*step[0]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In destructor 'cv::Mat::~Mat()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:277:14: error: 'struct cv::Mat::MStep' has no member named 'p' if( step.p != step.buf ) ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:277:24: error: 'struct cv::Mat::MStep' has no member named 'buf' if( step.p != step.buf ) ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:278:23: error: 'struct cv::Mat::MStep' has no member named 'p' fastFree(step.p); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::Mat& cv::Mat::operator=(const cv::Mat&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:294:17: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[0] = m.step[0]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:294:29: error: no match for 'operator[]' (operand types are 'const cv::Mat::MStep' and 'int') step[0] = m.step[0]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:295:17: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') step[1] = m.step[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:295:29: error: no match for 'operator[]' (operand types are 'const cv::Mat::MStep' and 'int') step[1] = m.step[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::Mat::operator CvMat() const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:391:23: error: no match for 'operator[]' (operand types are 'const cv::Mat::MStep' and 'int') m.step = (int)step[0]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:398:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t Mat::elemSize() const { return dims > 0 ? step.p[dims-1] : 0; } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:399:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t Mat::elemSize1() const { return CV_ELEM_SIZE1(flags); } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:403:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t Mat::step1(int i) const { return step.p[i]/elemSize1(); } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'bool cv::Mat::empty() const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:404:54: error: 'total' was not declared in this scope inline bool Mat::empty() const { return data == 0 || total() == 0; } ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:405:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t Mat::total() const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'uchar* cv::Mat::ptr(int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:418:24: error: 'struct cv::Mat::MStep' has no member named 'p' return data + step.p[0]*y; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const uchar* cv::Mat::ptr(int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:424:24: error: 'const struct cv::Mat::MStep' has no member named 'p' return data + step.p[0]*y; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function '_Tp* cv::Mat::ptr(int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:430:31: error: 'struct cv::Mat::MStep' has no member named 'p' return (_Tp*)(data + step.p[0]*y); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const _Tp* cv::Mat::ptr(int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:436:37: error: 'const struct cv::Mat::MStep' has no member named 'p' return (const _Tp*)(data + step.p[0]*y); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'uchar* cv::Mat::ptr(int, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:445:27: error: 'struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:445:42: error: 'struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const uchar* cv::Mat::ptr(int, int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:453:27: error: 'const struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:453:42: error: 'const struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function '_Tp* cv::Mat::ptr(int, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:461:34: error: 'struct cv::Mat::MStep' has no member named 'p' return (_Tp*)(data + i0*step.p[0] + i1*step.p[1]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:461:49: error: 'struct cv::Mat::MStep' has no member named 'p' return (_Tp*)(data + i0*step.p[0] + i1*step.p[1]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const _Tp* cv::Mat::ptr(int, int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:469:40: error: 'const struct cv::Mat::MStep' has no member named 'p' return (const _Tp*)(data + i0*step.p[0] + i1*step.p[1]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:469:55: error: 'const struct cv::Mat::MStep' has no member named 'p' return (const _Tp*)(data + i0*step.p[0] + i1*step.p[1]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'uchar* cv::Mat::ptr(int, int, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:478:27: error: 'struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:478:42: error: 'struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:478:57: error: 'struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const uchar* cv::Mat::ptr(int, int, int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:487:27: error: 'const struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:487:42: error: 'const struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:487:57: error: 'const struct cv::Mat::MStep' has no member named 'p' return data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function '_Tp* cv::Mat::ptr(int, int, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:496:34: error: 'struct cv::Mat::MStep' has no member named 'p' return (_Tp*)(data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:496:49: error: 'struct cv::Mat::MStep' has no member named 'p' return (_Tp*)(data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:496:64: error: 'struct cv::Mat::MStep' has no member named 'p' return (_Tp*)(data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const _Tp* cv::Mat::ptr(int, int, int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:505:40: error: 'const struct cv::Mat::MStep' has no member named 'p' return (const _Tp*)(data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:505:55: error: 'const struct cv::Mat::MStep' has no member named 'p' return (const _Tp*)(data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:505:70: error: 'const struct cv::Mat::MStep' has no member named 'p' return (const _Tp*)(data + i0*step.p[0] + i1*step.p[1] + i2*step.p[2]); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'uchar* cv::Mat::ptr(const int*)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:516:26: error: 'struct cv::Mat::MStep' has no member named 'p' p += idx[i]*step.p[i]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const uchar* cv::Mat::ptr(const int*) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:529:26: error: 'const struct cv::Mat::MStep' has no member named 'p' p += idx[i]*step.p[i]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function '_Tp& cv::Mat::at(int, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:539:32: error: 'struct cv::Mat::MStep' has no member named 'p' return ((_Tp*)(data + step.p[0]*i0))[i1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const _Tp& cv::Mat::at(int, int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:547:38: error: 'const struct cv::Mat::MStep' has no member named 'p' return ((const _Tp*)(data + step.p[0]*i0))[i1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function '_Tp& cv::Mat::at(cv::Point)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:555:32: error: 'struct cv::Mat::MStep' has no member named 'p' return ((_Tp*)(data + step.p[0]*pt.y))[pt.x]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const _Tp& cv::Mat::at(cv::Point) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:563:38: error: 'const struct cv::Mat::MStep' has no member named 'p' return ((const _Tp*)(data + step.p[0]*pt.y))[pt.x]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function '_Tp& cv::Mat::at(int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:574:36: error: 'struct cv::Mat::MStep' has no member named 'p' return *(_Tp*)(data + step.p[0]*i0); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:576:32: error: 'struct cv::Mat::MStep' has no member named 'p' return ((_Tp*)(data + step.p[0]*i))[j]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const _Tp& cv::Mat::at(int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:587:42: error: 'const struct cv::Mat::MStep' has no member named 'p' return *(const _Tp*)(data + step.p[0]*i0); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:589:38: error: 'const struct cv::Mat::MStep' has no member named 'p' return ((const _Tp*)(data + step.p[0]*i))[j]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::MatConstIterator_<_Tp> cv::Mat::end() const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:634:11: error: there are no arguments to 'total' that depend on a template parameter, so a declaration of 'total' must be available [-fpermissive] it += total(); ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::MatIterator_<_Tp> cv::Mat::end()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:648:11: error: there are no arguments to 'total' that depend on a template parameter, so a declaration of 'total' must be available [-fpermissive] it += total(); ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'void cv::Mat::push_back(const _Tp&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:694:32: error: no match for 'operator[]' (operand types are 'cv::Mat::MStep' and 'int') uchar* tmp = dataend + step[0]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:697:43: error: 'struct cv::Mat::MStep' has no member named 'p' *(_Tp*)(data + (size.p[0]++)*step.p[0]) = elem; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::Mat::MStep::MStep()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:738:30: error: 'p' was not declared in this scope inline Mat::MStep::MStep() { p = buf; p[0] = p[1] = 0; } ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:738:34: error: 'buf' was not declared in this scope inline Mat::MStep::MStep() { p = buf; p[0] = p[1] = 0; } ^~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:739:26: warning: inline variables are only available with -std=c++1z or -std=gnu++1z inline Mat::MStep::MStep(size_t s) { p = buf; p[0] = s; p[1] = 0; } ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:739:26: error: 'int cv::Mat::MStep::MStep' is not a static data member of 'struct cv::Mat::MStep' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:739:26: error: 'size_t' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:739:26: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:740:14: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline const size_t& Mat::MStep::operator[](int i) const { return p[i]; } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:741:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t& Mat::MStep::operator[](int i) { return p[i]; } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:742:29: error: expected type-specifier before 'size_t' inline Mat::MStep::operator size_t() const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:747:44: error: declaration of 'operator=' as non-function inline Mat::MStep& Mat::MStep::operator = (size_t s) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:747:44: error: 'size_t' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:747:44: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:824:92: error: 'size_t' does not name a type; did you mean 'ssize_t'? template inline Mat_<_Tp>::Mat_(int _dims, const int* _sz, _Tp* _data, const size_t* _steps) ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:836:81: error: 'size_t' has not been declared template inline Mat_<_Tp>::Mat_(int _rows, int _cols, _Tp* _data, size_t steps) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:945:31: error: 'size_t' does not name a type; did you mean 'ssize_t'? template inline size_t Mat_<_Tp>::elemSize() const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:951:31: error: 'size_t' does not name a type; did you mean 'ssize_t'? template inline size_t Mat_<_Tp>::elemSize1() const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:971:31: error: 'size_t' does not name a type; did you mean 'ssize_t'? template inline size_t Mat_<_Tp>::stepT(int i) const { return step.p[i]/elemSize(); } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:972:31: error: 'size_t' does not name a type; did you mean 'ssize_t'? template inline size_t Mat_<_Tp>::step1(int i) const { return step.p[i]/elemSize1(); } ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function '_Tp& cv::Mat_<_Tp>::operator()(int, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:997:32: error: 'struct cv::Mat::MStep' has no member named 'p' return ((_Tp*)(data + step.p[0]*i0))[i1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const _Tp& cv::Mat_<_Tp>::operator()(int, int) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1006:38: error: 'const struct cv::Mat::MStep' has no member named 'p' return ((const _Tp*)(data + step.p[0]*i0))[i1]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function '_Tp& cv::Mat_<_Tp>::operator()(cv::Point)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1015:32: error: 'struct cv::Mat::MStep' has no member named 'p' return ((_Tp*)(data + step.p[0]*pt.y))[pt.x]; ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'const _Tp& cv::Mat_<_Tp>::operator()(cv::Point) const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1024:38: error: 'const struct cv::Mat::MStep' has no member named 'p' return ((const _Tp*)(data + step.p[0]*pt.y))[pt.x]; ^ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::MatConstIterator::MatConstIterator()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1716:13: error: class 'cv::MatConstIterator' does not have any field named 'elemSize' : m(0), elemSize(0), ptr(0), sliceStart(0), sliceEnd(0) {} ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::MatConstIterator::MatConstIterator(const cv::Mat*)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1719:14: error: class 'cv::MatConstIterator' does not have any field named 'elemSize' : m(_m), elemSize(_m->elemSize()), ptr(0), sliceStart(0), sliceEnd(0) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1719:27: error: 'const class cv::Mat' has no member named 'elemSize'; did you mean 'copySize'? : m(_m), elemSize(_m->elemSize()), ptr(0), sliceStart(0), sliceEnd(0) ^~~~~~~~ copySize C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1724:36: error: 'const class cv::Mat' has no member named 'total' sliceEnd = sliceStart + m->total()*elemSize; ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1724:44: error: 'elemSize' was not declared in this scope sliceEnd = sliceStart + m->total()*elemSize; ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1724:44: note: suggested alternative: 'Size' sliceEnd = sliceStart + m->total()*elemSize; ^~~~~~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::MatConstIterator::MatConstIterator(const cv::Mat*, int, int)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1730:14: error: class 'cv::MatConstIterator' does not have any field named 'elemSize' : m(_m), elemSize(_m->elemSize()), ptr(0), sliceStart(0), sliceEnd(0) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1730:27: error: 'const class cv::Mat' has no member named 'elemSize'; did you mean 'copySize'? : m(_m), elemSize(_m->elemSize()), ptr(0), sliceStart(0), sliceEnd(0) ^~~~~~~~ copySize C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1736:36: error: 'const class cv::Mat' has no member named 'total' sliceEnd = sliceStart + m->total()*elemSize; ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1736:44: error: 'elemSize' was not declared in this scope sliceEnd = sliceStart + m->total()*elemSize; ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1736:44: note: suggested alternative: 'Size' sliceEnd = sliceStart + m->total()*elemSize; ^~~~~~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::MatConstIterator::MatConstIterator(const cv::Mat*, cv::Point)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1743:14: error: class 'cv::MatConstIterator' does not have any field named 'elemSize' : m(_m), elemSize(_m->elemSize()), ptr(0), sliceStart(0), sliceEnd(0) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1743:27: error: 'const class cv::Mat' has no member named 'elemSize'; did you mean 'copySize'? : m(_m), elemSize(_m->elemSize()), ptr(0), sliceStart(0), sliceEnd(0) ^~~~~~~~ copySize C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1749:36: error: 'const class cv::Mat' has no member named 'total' sliceEnd = sliceStart + m->total()*elemSize; ^~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1749:44: error: 'elemSize' was not declared in this scope sliceEnd = sliceStart + m->total()*elemSize; ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1749:44: note: suggested alternative: 'Size' sliceEnd = sliceStart + m->total()*elemSize; ^~~~~~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In copy constructor 'cv::MatConstIterator::MatConstIterator(const cv::MatConstIterator&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1756:16: error: class 'cv::MatConstIterator' does not have any field named 'elemSize' : m(it.m), elemSize(it.elemSize), ptr(it.ptr), sliceStart(it.sliceStart), sliceEnd(it.sliceEnd) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1756:28: error: 'const class cv::MatConstIterator' has no member named 'elemSize' : m(it.m), elemSize(it.elemSize), ptr(it.ptr), sliceStart(it.sliceStart), sliceEnd(it.sliceEnd) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::MatConstIterator& cv::MatConstIterator::operator=(const cv::MatConstIterator&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1761:15: error: 'elemSize' was not declared in this scope m = it.m; elemSize = it.elemSize; ptr = it.ptr; ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1761:15: note: suggested alternative: 'Size' m = it.m; elemSize = it.elemSize; ptr = it.ptr; ^~~~~~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1761:29: error: 'const class cv::MatConstIterator' has no member named 'elemSize' m = it.m; elemSize = it.elemSize; ptr = it.ptr; ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::MatConstIterator& cv::MatConstIterator::operator+=(std::ptrdiff_t)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1772:26: error: 'elemSize' was not declared in this scope ptrdiff_t ofsb = ofs*elemSize; ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1772:26: note: suggested alternative: 'Size' ptrdiff_t ofsb = ofs*elemSize; ^~~~~~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::MatConstIterator& cv::MatConstIterator::operator--()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1787:22: error: 'elemSize' was not declared in this scope if( m && (ptr -= elemSize) < sliceStart ) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1787:22: note: suggested alternative: 'Size' if( m && (ptr -= elemSize) < sliceStart ) ^~~~~~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::MatConstIterator& cv::MatConstIterator::operator++()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1804:22: error: 'elemSize' was not declared in this scope if( m && (ptr += elemSize) >= sliceEnd ) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1804:22: note: suggested alternative: 'Size' if( m && (ptr += elemSize) >= sliceEnd ) ^~~~~~~~ Size C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::Point cv::MatConstIterator_<_Tp>::pos() const': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:27: error: no match for 'operator/' (operand types are 'std::ptrdiff_t {aka long long int}' and 'const cv::Mat::MStep') int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ~~~~^~~~~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1418:1: note: candidate: template cv::Vec<_Tp, m> cv::operator/(const cv::Vec<_Tp, m>&, int) operator / (const Vec<_Tp, cn>& a, int alpha) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1418:1: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: mismatched types 'const cv::Vec<_Tp, m>' and 'std::ptrdiff_t {aka long long int}' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1424:1: note: candidate: template cv::Vec<_Tp, m> cv::operator/(const cv::Vec<_Tp, m>&, float) operator / (const Vec<_Tp, cn>& a, float alpha) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1424:1: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: mismatched types 'const cv::Vec<_Tp, m>' and 'std::ptrdiff_t {aka long long int}' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1430:1: note: candidate: template cv::Vec<_Tp, m> cv::operator/(const cv::Vec<_Tp, m>&, double) operator / (const Vec<_Tp, cn>& a, double alpha) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1430:1: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: mismatched types 'const cv::Vec<_Tp, m>' and 'std::ptrdiff_t {aka long long int}' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1586:14: note: candidate: template cv::Complex<_Tp> cv::operator/(const cv::Complex<_Tp>&, const cv::Complex<_Tp>&) Complex<_Tp> operator / (const Complex<_Tp>& a, const Complex<_Tp>& b) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1586:14: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: mismatched types 'const cv::Complex<_Tp>' and 'std::ptrdiff_t {aka long long int}' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1600:14: note: candidate: template cv::Complex<_Tp> cv::operator/(const cv::Complex<_Tp>&, _Tp) Complex<_Tp> operator / (const Complex<_Tp>& a, _Tp b) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1600:14: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: mismatched types 'const cv::Complex<_Tp>' and 'std::ptrdiff_t {aka long long int}' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1607:14: note: candidate: template cv::Complex<_Tp> cv::operator/(_Tp, const cv::Complex<_Tp>&) Complex<_Tp> operator / (_Tp b, const Complex<_Tp>& a) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:1607:14: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: 'const cv::Mat::MStep' is not derived from 'const cv::Complex<_Tp>' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2159:14: note: candidate: template cv::Scalar_<_Tp> cv::operator/(const cv::Scalar_<_Tp>&, _Tp) Scalar_<_Tp> operator / (const Scalar_<_Tp>& a, _Tp alpha) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2159:14: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: mismatched types 'const cv::Scalar_<_Tp>' and 'std::ptrdiff_t {aka long long int}' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2168:16: note: candidate: template cv::Scalar_ cv::operator/(const cv::Scalar_&, float) Scalar_ operator / (const Scalar_& a, float alpha) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2168:16: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: couldn't deduce template parameter '_Tp' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2175:17: note: candidate: template cv::Scalar_ cv::operator/(const cv::Scalar_&, double) Scalar_ operator / (const Scalar_& a, double alpha) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2175:17: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: couldn't deduce template parameter '_Tp' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2189:14: note: candidate: template cv::Scalar_<_Tp> cv::operator/(_Tp, const cv::Scalar_<_Tp>&) Scalar_<_Tp> operator / (_Tp a, const Scalar_<_Tp>& b) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2189:14: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: 'const cv::Mat::MStep' is not derived from 'const cv::Scalar_<_Tp>' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4921:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2196:14: note: candidate: template cv::Scalar_<_Tp> cv::operator/(const cv::Scalar_<_Tp>&, const cv::Scalar_<_Tp>&) Scalar_<_Tp> operator / (const Scalar_<_Tp>& a, const Scalar_<_Tp>& b) ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/operations.hpp:2196:14: note: template argument deduction/substitution failed: In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1957:32: note: mismatched types 'const cv::Scalar_<_Tp>' and 'std::ptrdiff_t {aka long long int}' int y = (int)(ofs / m->step), x = (int)((ofs - y*m->step)/sizeof(_Tp)); ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1297:20: note: candidate: cv::MatExpr cv::operator/(const cv::Mat&, const cv::Mat&) CV_EXPORTS MatExpr operator / (const Mat& a, const Mat& b); ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1297:20: note: no known conversion for argument 1 from 'std::ptrdiff_t {aka long long int}' to 'const cv::Mat&' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1298:20: note: candidate: cv::MatExpr cv::operator/(const cv::Mat&, double) CV_EXPORTS MatExpr operator / (const Mat& a, double s); ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1298:20: note: no known conversion for argument 1 from 'std::ptrdiff_t {aka long long int}' to 'const cv::Mat&' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1299:20: note: candidate: cv::MatExpr cv::operator/(double, const cv::Mat&) CV_EXPORTS MatExpr operator / (double s, const Mat& a); ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1299:20: note: no known conversion for argument 2 from 'const cv::Mat::MStep' to 'const cv::Mat&' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1300:20: note: candidate: cv::MatExpr cv::operator/(const cv::MatExpr&, const cv::Mat&) CV_EXPORTS MatExpr operator / (const MatExpr& e, const Mat& m); ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1300:20: note: no known conversion for argument 1 from 'std::ptrdiff_t {aka long long int}' to 'const cv::MatExpr&' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1301:20: note: candidate: cv::MatExpr cv::operator/(const cv::Mat&, const cv::MatExpr&) CV_EXPORTS MatExpr operator / (const Mat& m, const MatExpr& e); ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1301:20: note: no known conversion for argument 1 from 'std::ptrdiff_t {aka long long int}' to 'const cv::Mat&' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1302:20: note: candidate: cv::MatExpr cv::operator/(const cv::MatExpr&, double) CV_EXPORTS MatExpr operator / (const MatExpr& e, double s); ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1302:20: note: no known conversion for argument 1 from 'std::ptrdiff_t {aka long long int}' to 'const cv::MatExpr&' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1303:20: note: candidate: cv::MatExpr cv::operator/(double, const cv::MatExpr&) CV_EXPORTS MatExpr operator / (double s, const MatExpr& e); ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1303:20: note: no known conversion for argument 2 from 'const cv::Mat::MStep' to 'const cv::MatExpr&' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1304:20: note: candidate: cv::MatExpr cv::operator/(const cv::MatExpr&, const cv::MatExpr&) CV_EXPORTS MatExpr operator / (const MatExpr& e1, const MatExpr& e2); ^~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1304:20: note: no known conversion for argument 1 from 'std::ptrdiff_t {aka long long int}' to 'const cv::MatExpr&' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:1958:22: error: 'x' was not declared in this scope return Point(x, y); ^ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2153:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t SparseMat::elemSize() const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2156:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t SparseMat::elemSize1() const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2188:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t SparseMat::nzcount() const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2193:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t SparseMat::hash(int i0) const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2198:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t SparseMat::hash(int i0, int i1) const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2203:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t SparseMat::hash(int i0, int i1, int i2) const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2208:8: error: 'size_t' does not name a type; did you mean 'ssize_t'? inline size_t SparseMat::hash(const int* idx) const ^~~~~~ ssize_t C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2219:59: error: 'size_t' has not been declared template inline _Tp& SparseMat::ref(int i0, size_t* hashval) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2222:67: error: 'size_t' has not been declared template inline _Tp& SparseMat::ref(int i0, int i1, size_t* hashval) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2225:75: error: 'size_t' has not been declared template inline _Tp& SparseMat::ref(int i0, int i1, int i2, size_t* hashval) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2228:67: error: 'size_t' has not been declared template inline _Tp& SparseMat::ref(const int* idx, size_t* hashval) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2231:60: error: 'size_t' has not been declared template inline _Tp SparseMat::value(int i0, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2237:68: error: 'size_t' has not been declared template inline _Tp SparseMat::value(int i0, int i1, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2243:76: error: 'size_t' has not been declared template inline _Tp SparseMat::value(int i0, int i1, int i2, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2249:68: error: 'size_t' has not been declared template inline _Tp SparseMat::value(const int* idx, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2255:66: error: 'size_t' has not been declared template inline const _Tp* SparseMat::find(int i0, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2258:74: error: 'size_t' has not been declared template inline const _Tp* SparseMat::find(int i0, int i1, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2261:82: error: 'size_t' has not been declared template inline const _Tp* SparseMat::find(int i0, int i1, int i2, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2264:74: error: 'size_t' has not been declared template inline const _Tp* SparseMat::find(const int* idx, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2273:41: warning: inline variables are only available with -std=c++1z or -std=gnu++1z inline SparseMat::Node* SparseMat::node(size_t nidx) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2273:41: error: 'cv::SparseMat::Node* cv::SparseMat::node' is not a static data member of 'class cv::SparseMat' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2273:41: error: 'size_t' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2273:41: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2276:47: warning: inline variables are only available with -std=c++1z or -std=gnu++1z inline const SparseMat::Node* SparseMat::node(size_t nidx) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2276:47: error: 'const cv::SparseMat::Node* cv::SparseMat::node' is not a static data member of 'class cv::SparseMat' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2276:47: error: 'size_t' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2276:47: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core.hpp:4922:0, from E:\project\SIFT-master\main.cpp:9: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In constructor 'cv::SparseMatConstIterator::SparseMatConstIterator()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2305:9: error: class 'cv::SparseMatConstIterator' does not have any field named 'hashidx' : m(0), hashidx(0), ptr(0) ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In copy constructor 'cv::SparseMatConstIterator::SparseMatConstIterator(const cv::SparseMatConstIterator&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2310:12: error: class 'cv::SparseMatConstIterator' does not have any field named 'hashidx' : m(it.m), hashidx(it.hashidx), ptr(it.ptr) ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2310:23: error: 'const class cv::SparseMatConstIterator' has no member named 'hashidx' : m(it.m), hashidx(it.hashidx), ptr(it.ptr) ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'cv::SparseMatConstIterator& cv::SparseMatConstIterator::operator=(const cv::SparseMatConstIterator&)': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2326:9: error: 'hashidx' was not declared in this scope hashidx = it.hashidx; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2326:22: error: 'const class cv::SparseMatConstIterator' has no member named 'hashidx' hashidx = it.hashidx; ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: In member function 'void cv::SparseMatConstIterator::seekEnd()': C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2353:9: error: 'hashidx' was not declared in this scope hashidx = m->hdr->hashtab.size(); ^~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2353:35: error: request for member 'size' in '((cv::SparseMat::Hdr*)((cv::SparseMatConstIterator*)this)->cv::SparseMatConstIterator::m->cv::SparseMat::hdr)->cv::SparseMat::Hdr::hashtab', which is of non-class type 'int' hashidx = m->hdr->hashtab.size(); ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp: At global scope: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2489:30: error: 'size_t' has not been declared SparseMat_<_Tp>::ref(int i0, size_t* hashval) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2493:37: error: 'size_t' has not been declared SparseMat_<_Tp>::operator()(int i0, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2497:38: error: 'size_t' has not been declared SparseMat_<_Tp>::ref(int i0, int i1, size_t* hashval) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2501:45: error: 'size_t' has not been declared SparseMat_<_Tp>::operator()(int i0, int i1, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2505:46: error: 'size_t' has not been declared SparseMat_<_Tp>::ref(int i0, int i1, int i2, size_t* hashval) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2509:53: error: 'size_t' has not been declared SparseMat_<_Tp>::operator()(int i0, int i1, int i2, size_t* hashval) const ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2513:38: error: 'size_t' has not been declared SparseMat_<_Tp>::ref(const int* idx, size_t* hashval) ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/mat.hpp:2517:45: error: 'size_t' has not been declared SparseMat_<_Tp>::operator()(const int* idx, size_t* hashval) const ^~~~~~ In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/highgui/highgui_c.h:45:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/highgui/highgui.hpp:47, from E:\project\SIFT-master\main.cpp:10: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:61:24: warning: '__cdecl__' attribute only applies to function types [-Wattributes] CVAPI(void*) cvAlloc( size_t size ); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:61:24: warning: 'cvAlloc' initialized and declared 'extern' C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:61:24: error: 'size_t' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:61:24: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/highgui/highgui_c.h:45:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/highgui/highgui.hpp:47, from E:\project\SIFT-master\main.cpp:10: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:939:56: error: 'size_t' has not been declared CVAPI(void*) cvMemStorageAlloc( CvMemStorage* storage, size_t size ); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:946:44: error: 'size_t' has not been declared CVAPI(CvSeq*) cvCreateSeq( int seq_flags, size_t header_size, ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:947:29: error: 'size_t' has not been declared size_t elem_size, CvMemStorage* storage ); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1492:39: warning: '__cdecl__' attribute only applies to function types [-Wattributes] typedef void* (CV_CDECL *CvAllocFunc)(size_t size, void* userdata); ^~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1492:39: error: typedef 'CvAllocFunc' is initialized (use decltype instead) C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1492:39: error: 'size_t' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1492:39: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/highgui/highgui_c.h:45:0, from C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/highgui/highgui.hpp:47, from E:\project\SIFT-master\main.cpp:10: C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1492:52: error: expected primary-expression before 'void' typedef void* (CV_CDECL *CvAllocFunc)(size_t size, void* userdata); ^~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1497:33: error: variable or field 'cvSetMemoryManager' declared void CVAPI(void) cvSetMemoryManager( CvAllocFunc alloc_func CV_DEFAULT(NULL), ^~~~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1497:33: error: 'CvAllocFunc' was not declared in this scope C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1497:33: note: suggested alternative: 'CvCloneFunc' CVAPI(void) cvSetMemoryManager( CvAllocFunc alloc_func CV_DEFAULT(NULL), ^~~~~~~~~~~ CvCloneFunc C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1498:43: error: expected primary-expression before 'free_func' CvFreeFunc free_func CV_DEFAULT(NULL), ^~~~~~~~~ C:/library/opencv/opencv-2.4.13/build/install/include/opencv2/core/core_c.h:1499:32: error: expected primary-expression before 'void' void* userdata CV_DEFAULT(NULL)); ^~~~ In file included from C:/MinGW/include/boost/type_index/stl_type_index.hpp:22:0, from C:/MinGW/include/boost/type_index.hpp:29, from C:/MinGW/include/boost/any.hpp:20, from C:/MinGW/include/boost/program_options/value_semantic.hpp:12, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: C:/MinGW/include/boost/type_index/type_index_facade.hpp: In member function 'std::size_t boost::typeindex::type_index_facade::hash_code() const': C:/MinGW/include/boost/type_index/type_index_facade.hpp:109:60: error: 'strlen' is not a member of 'std' return boost::hash_range(name_raw, name_raw + std::strlen(name_raw)); ^~~~~~ C:/MinGW/include/boost/type_index/type_index_facade.hpp:109:60: note: suggested alternative: 'strstr' return boost::hash_range(name_raw, name_raw + std::strlen(name_raw)); ^~~~~~ strstr In file included from C:/MinGW/include/boost/core/demangle.hpp:32:0, from C:/MinGW/include/boost/type_index/stl_type_index.hpp:34, from C:/MinGW/include/boost/type_index.hpp:29, from C:/MinGW/include/boost/any.hpp:20, from C:/MinGW/include/boost/program_options/value_semantic.hpp:12, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: c:\mingw\include\c++\7.1.0\cxxabi.h: At global scope: c:\mingw\include\c++\7.1.0\cxxabi.h:65:17: error: 'size_t' was not declared in this scope __cxa_vec_new(size_t __element_count, size_t __element_size, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:65:17: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/MinGW/include/boost/core/demangle.hpp:32:0, from C:/MinGW/include/boost/type_index/stl_type_index.hpp:34, from C:/MinGW/include/boost/type_index.hpp:29, from C:/MinGW/include/boost/any.hpp:20, from C:/MinGW/include/boost/program_options/value_semantic.hpp:12, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: c:\mingw\include\c++\7.1.0\cxxabi.h:65:41: error: 'size_t' was not declared in this scope __cxa_vec_new(size_t __element_count, size_t __element_size, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:65:41: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/MinGW/include/boost/core/demangle.hpp:32:0, from C:/MinGW/include/boost/type_index/stl_type_index.hpp:34, from C:/MinGW/include/boost/type_index.hpp:29, from C:/MinGW/include/boost/any.hpp:20, from C:/MinGW/include/boost/program_options/value_semantic.hpp:12, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: c:\mingw\include\c++\7.1.0\cxxabi.h:66:3: error: 'size_t' was not declared in this scope size_t __padding_size, __cxa_cdtor_type __constructor, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:66:3: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/MinGW/include/boost/core/demangle.hpp:32:0, from C:/MinGW/include/boost/type_index/stl_type_index.hpp:34, from C:/MinGW/include/boost/type_index.hpp:29, from C:/MinGW/include/boost/any.hpp:20, from C:/MinGW/include/boost/program_options/value_semantic.hpp:12, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: c:\mingw\include\c++\7.1.0\cxxabi.h:66:43: error: expected primary-expression before '__constructor' size_t __padding_size, __cxa_cdtor_type __constructor, ^~~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:67:20: error: expected primary-expression before '__destructor' __cxa_cdtor_type __destructor); ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:67:32: error: expression list treated as compound expression in initializer [-fpermissive] __cxa_cdtor_type __destructor); ^ c:\mingw\include\c++\7.1.0\cxxabi.h:70:18: error: 'size_t' was not declared in this scope __cxa_vec_new2(size_t __element_count, size_t __element_size, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:70:18: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/MinGW/include/boost/core/demangle.hpp:32:0, from C:/MinGW/include/boost/type_index/stl_type_index.hpp:34, from C:/MinGW/include/boost/type_index.hpp:29, from C:/MinGW/include/boost/any.hpp:20, from C:/MinGW/include/boost/program_options/value_semantic.hpp:12, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: c:\mingw\include\c++\7.1.0\cxxabi.h:70:42: error: 'size_t' was not declared in this scope __cxa_vec_new2(size_t __element_count, size_t __element_size, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:70:42: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/MinGW/include/boost/core/demangle.hpp:32:0, from C:/MinGW/include/boost/type_index/stl_type_index.hpp:34, from C:/MinGW/include/boost/type_index.hpp:29, from C:/MinGW/include/boost/any.hpp:20, from C:/MinGW/include/boost/program_options/value_semantic.hpp:12, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: c:\mingw\include\c++\7.1.0\cxxabi.h:71:4: error: 'size_t' was not declared in this scope size_t __padding_size, __cxa_cdtor_type __constructor, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:71:4: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/MinGW/include/boost/core/demangle.hpp:32:0, from C:/MinGW/include/boost/type_index/stl_type_index.hpp:34, from C:/MinGW/include/boost/type_index.hpp:29, from C:/MinGW/include/boost/any.hpp:20, from C:/MinGW/include/boost/program_options/value_semantic.hpp:12, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: c:\mingw\include\c++\7.1.0\cxxabi.h:71:44: error: expected primary-expression before '__constructor' size_t __padding_size, __cxa_cdtor_type __constructor, ^~~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:72:21: error: expected primary-expression before '__destructor' __cxa_cdtor_type __destructor, void *(*__alloc) (size_t), ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:72:35: error: expected primary-expression before 'void' __cxa_cdtor_type __destructor, void *(*__alloc) (size_t), ^~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:73:11: error: '__dealloc' was not declared in this scope void (*__dealloc) (void*)); ^~~~~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:73:11: note: suggested alternative: '_recalloc' void (*__dealloc) (void*)); ^~~~~~~~~ _recalloc c:\mingw\include\c++\7.1.0\cxxabi.h:73:23: error: expected primary-expression before 'void' void (*__dealloc) (void*)); ^~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:73:29: error: expression list treated as compound expression in initializer [-fpermissive] void (*__dealloc) (void*)); ^ c:\mingw\include\c++\7.1.0\cxxabi.h:76:18: error: 'size_t' was not declared in this scope __cxa_vec_new3(size_t __element_count, size_t __element_size, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:76:18: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/MinGW/include/boost/core/demangle.hpp:32:0, from C:/MinGW/include/boost/type_index/stl_type_index.hpp:34, from C:/MinGW/include/boost/type_index.hpp:29, from C:/MinGW/include/boost/any.hpp:20, from C:/MinGW/include/boost/program_options/value_semantic.hpp:12, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: c:\mingw\include\c++\7.1.0\cxxabi.h:76:42: error: 'size_t' was not declared in this scope __cxa_vec_new3(size_t __element_count, size_t __element_size, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:76:42: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/MinGW/include/boost/core/demangle.hpp:32:0, from C:/MinGW/include/boost/type_index/stl_type_index.hpp:34, from C:/MinGW/include/boost/type_index.hpp:29, from C:/MinGW/include/boost/any.hpp:20, from C:/MinGW/include/boost/program_options/value_semantic.hpp:12, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: c:\mingw\include\c++\7.1.0\cxxabi.h:77:4: error: 'size_t' was not declared in this scope size_t __padding_size, __cxa_cdtor_type __constructor, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:77:4: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/MinGW/include/boost/core/demangle.hpp:32:0, from C:/MinGW/include/boost/type_index/stl_type_index.hpp:34, from C:/MinGW/include/boost/type_index.hpp:29, from C:/MinGW/include/boost/any.hpp:20, from C:/MinGW/include/boost/program_options/value_semantic.hpp:12, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: c:\mingw\include\c++\7.1.0\cxxabi.h:77:44: error: expected primary-expression before '__constructor' size_t __padding_size, __cxa_cdtor_type __constructor, ^~~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:78:21: error: expected primary-expression before '__destructor' __cxa_cdtor_type __destructor, void *(*__alloc) (size_t), ^~~~~~~~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:78:35: error: expected primary-expression before 'void' __cxa_cdtor_type __destructor, void *(*__alloc) (size_t), ^~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:79:11: error: '__dealloc' was not declared in this scope void (*__dealloc) (void*, size_t)); ^~~~~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:79:11: note: suggested alternative: '_recalloc' void (*__dealloc) (void*, size_t)); ^~~~~~~~~ _recalloc c:\mingw\include\c++\7.1.0\cxxabi.h:79:23: error: expected primary-expression before 'void' void (*__dealloc) (void*, size_t)); ^~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:79:30: error: 'size_t' was not declared in this scope void (*__dealloc) (void*, size_t)); ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:79:30: note: suggested alternatives: In file included from c:\mingw\include\c++\7.1.0\iostream:38:0, from E:\project\SIFT-master\main.cpp:1: c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ c:\mingw\include\c++\7.1.0\x86_64-w64-mingw32\bits\c++config.h:231:26: note: 'std::size_t' In file included from C:/MinGW/include/boost/core/demangle.hpp:32:0, from C:/MinGW/include/boost/type_index/stl_type_index.hpp:34, from C:/MinGW/include/boost/type_index.hpp:29, from C:/MinGW/include/boost/any.hpp:20, from C:/MinGW/include/boost/program_options/value_semantic.hpp:12, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: c:\mingw\include\c++\7.1.0\cxxabi.h:79:37: error: expression list treated as compound expression in initializer [-fpermissive] void (*__dealloc) (void*, size_t)); ^ c:\mingw\include\c++\7.1.0\cxxabi.h:83:41: error: 'size_t' has not been declared __cxa_vec_ctor(void* __array_address, size_t __element_count, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:84:4: error: 'size_t' has not been declared size_t __element_size, __cxa_cdtor_type __constructor, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:89:5: error: 'size_t' has not been declared size_t __element_count, size_t __element_size, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:89:29: error: 'size_t' has not been declared size_t __element_count, size_t __element_size, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:95:41: error: 'size_t' has not been declared __cxa_vec_dtor(void* __array_address, size_t __element_count, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:96:4: error: 'size_t' has not been declared size_t __element_size, __cxa_cdtor_type __destructor); ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:99:44: error: 'size_t' has not been declared __cxa_vec_cleanup(void* __array_address, size_t __element_count, size_t __s, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:99:68: error: 'size_t' has not been declared __cxa_vec_cleanup(void* __array_address, size_t __element_count, size_t __s, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:104:43: error: 'size_t' has not been declared __cxa_vec_delete(void* __array_address, size_t __element_size, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:105:6: error: 'size_t' has not been declared size_t __padding_size, __cxa_cdtor_type __destructor); ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:108:44: error: 'size_t' has not been declared __cxa_vec_delete2(void* __array_address, size_t __element_size, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:109:7: error: 'size_t' has not been declared size_t __padding_size, __cxa_cdtor_type __destructor, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:113:44: error: 'size_t' has not been declared __cxa_vec_delete3(void* __array_address, size_t __element_size, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:114:7: error: 'size_t' has not been declared size_t __padding_size, __cxa_cdtor_type __destructor, ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:115:33: error: 'size_t' has not been declared void (*__dealloc) (void*, size_t)); ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:196:4: error: 'size_t' has not been declared size_t* __length, int* __status); ^~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:390:5: error: 'ptrdiff_t' does not name a type ptrdiff_t ^~~~~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:466:23: error: 'ptrdiff_t' has not been declared __find_public_src(ptrdiff_t __src2dst, const void* __obj_ptr, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:478:18: error: 'ptrdiff_t' has not been declared __do_dyncast(ptrdiff_t __src2dst, __sub_kind __access_path, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:488:26: error: 'ptrdiff_t' has not been declared __do_find_public_src(ptrdiff_t __src2dst, const void* __obj_ptr, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:514:18: error: 'ptrdiff_t' has not been declared __do_dyncast(ptrdiff_t __src2dst, __sub_kind __access_path, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:520:26: error: 'ptrdiff_t' has not been declared __do_find_public_src(ptrdiff_t __src2dst, const void* __obj_ptr, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:559:18: error: 'ptrdiff_t' has not been declared __do_dyncast(ptrdiff_t __src2dst, __sub_kind __access_path, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:565:26: error: 'ptrdiff_t' has not been declared __do_find_public_src(ptrdiff_t __src2dst, const void* __obj_ptr, ^~~~~~~~~ c:\mingw\include\c++\7.1.0\cxxabi.h:594:4: error: 'ptrdiff_t' has not been declared ptrdiff_t __src2dst); // How src and dst are related. ^~~~~~~~~ In file included from C:/MinGW/include/boost/type_index/stl_type_index.hpp:34:0, from C:/MinGW/include/boost/type_index.hpp:29, from C:/MinGW/include/boost/any.hpp:20, from C:/MinGW/include/boost/program_options/value_semantic.hpp:12, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: C:/MinGW/include/boost/core/demangle.hpp: In function 'const char* boost::core::demangle_alloc(const char*)': C:/MinGW/include/boost/core/demangle.hpp:85:60: error: cannot convert 'std::size_t* {aka long long unsigned int*}' to 'int*' for argument '3' to 'char* __cxxabiv1::__cxa_demangle(const char*, char*, int*, int*)' return abi::__cxa_demangle( name, NULL, &size, &status ); ^ In file included from C:/MinGW/include/boost/type_index.hpp:29:0, from C:/MinGW/include/boost/any.hpp:20, from C:/MinGW/include/boost/program_options/value_semantic.hpp:12, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: C:/MinGW/include/boost/type_index/stl_type_index.hpp: In member function 'std::__cxx11::string boost::typeindex::stl_type_index::pretty_name() const': C:/MinGW/include/boost/type_index/stl_type_index.hpp:140:45: error: 'strlen' is not a member of 'std' const std::string::size_type len = std::strlen(begin); ^~~~~~ C:/MinGW/include/boost/type_index/stl_type_index.hpp:140:45: note: suggested alternative: 'strstr' const std::string::size_type len = std::strlen(begin); ^~~~~~ strstr C:/MinGW/include/boost/type_index/stl_type_index.hpp: In member function 'std::size_t boost::typeindex::stl_type_index::hash_code() const': C:/MinGW/include/boost/type_index/stl_type_index.hpp:180:60: error: 'strlen' is not a member of 'std' return boost::hash_range(raw_name(), raw_name() + std::strlen(raw_name())); ^~~~~~ C:/MinGW/include/boost/type_index/stl_type_index.hpp:180:60: note: suggested alternative: 'strstr' return boost::hash_range(raw_name(), raw_name() + std::strlen(raw_name())); ^~~~~~ strstr In file included from C:/MinGW/include/boost/range/end.hpp:24:0, from C:/MinGW/include/boost/range/functions.hpp:19, from C:/MinGW/include/boost/range/iterator_range_core.hpp:38, from C:/MinGW/include/boost/lexical_cast.hpp:30, from C:/MinGW/include/boost/program_options/value_semantic.hpp:14, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: C:/MinGW/include/boost/range/detail/implementation_help.hpp: In function 'const char* boost::range_detail::str_end(const char*, const char*)': C:/MinGW/include/boost/range/detail/implementation_help.hpp:37:24: error: 'strlen' was not declared in this scope return s + strlen( s ); ^~~~~~ C:/MinGW/include/boost/range/detail/implementation_help.hpp:37:24: note: suggested alternative: 'str_end' return s + strlen( s ); ^~~~~~ str_end C:/MinGW/include/boost/range/detail/implementation_help.hpp: In function 'const wchar_t* boost::range_detail::str_end(const wchar_t*, const wchar_t*)': C:/MinGW/include/boost/range/detail/implementation_help.hpp:43:24: error: 'wcslen' was not declared in this scope return s + wcslen( s ); ^~~~~~ C:/MinGW/include/boost/range/detail/implementation_help.hpp:43:24: note: suggested alternative: 'mblen' return s + wcslen( s ); ^~~~~~ mblen In file included from C:/MinGW/include/boost/lexical_cast/detail/converter_lexical.hpp:50:0, from C:/MinGW/include/boost/lexical_cast/try_lexical_convert.hpp:42, from C:/MinGW/include/boost/lexical_cast.hpp:32, from C:/MinGW/include/boost/program_options/value_semantic.hpp:14, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: C:/MinGW/include/boost/array.hpp: At global scope: C:/MinGW/include/boost/array.hpp:422:14: error: 'size_t' has not been declared template ^~~~~~ C:/MinGW/include/boost/array.hpp:422:38: error: 'size_t' has not been declared template ^~~~~~ C:/MinGW/include/boost/array.hpp:423:26: error: 'N' was not declared in this scope T &get(boost::array &arr) BOOST_NOEXCEPT { ^ C:/MinGW/include/boost/array.hpp:423:27: error: template argument 2 is invalid T &get(boost::array &arr) BOOST_NOEXCEPT { ^ In file included from C:/MinGW/include/boost/type_index/stl_type_index.hpp:32:0, from C:/MinGW/include/boost/type_index.hpp:29, from C:/MinGW/include/boost/any.hpp:20, from C:/MinGW/include/boost/program_options/value_semantic.hpp:12, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: C:/MinGW/include/boost/array.hpp: In function 'T& boost::get(int&)': C:/MinGW/include/boost/array.hpp:424:34: error: 'Idx' was not declared in this scope BOOST_STATIC_ASSERT_MSG ( Idx < N, "boost::get<>(boost::array &) index out of range" ); ^ C:/MinGW/include/boost/static_assert.hpp:31:59: note: in definition of macro 'BOOST_STATIC_ASSERT_MSG' # define BOOST_STATIC_ASSERT_MSG( ... ) static_assert(__VA_ARGS__) ^~~~~~~~~~~ C:/MinGW/include/boost/array.hpp:424:40: error: 'N' was not declared in this scope BOOST_STATIC_ASSERT_MSG ( Idx < N, "boost::get<>(boost::array &) index out of range" ); ^ C:/MinGW/include/boost/static_assert.hpp:31:59: note: in definition of macro 'BOOST_STATIC_ASSERT_MSG' # define BOOST_STATIC_ASSERT_MSG( ... ) static_assert(__VA_ARGS__) ^~~~~~~~~~~ In file included from C:/MinGW/include/boost/lexical_cast/detail/converter_lexical.hpp:50:0, from C:/MinGW/include/boost/lexical_cast/try_lexical_convert.hpp:42, from C:/MinGW/include/boost/lexical_cast.hpp:32, from C:/MinGW/include/boost/program_options/value_semantic.hpp:14, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: C:/MinGW/include/boost/array.hpp: At global scope: C:/MinGW/include/boost/array.hpp:428:14: error: 'size_t' has not been declared template ^~~~~~ C:/MinGW/include/boost/array.hpp:428:38: error: 'size_t' has not been declared template ^~~~~~ C:/MinGW/include/boost/array.hpp:429:38: error: 'N' was not declared in this scope const T &get(const boost::array &arr) BOOST_NOEXCEPT { ^ C:/MinGW/include/boost/array.hpp:429:39: error: template argument 2 is invalid const T &get(const boost::array &arr) BOOST_NOEXCEPT { ^ In file included from C:/MinGW/include/boost/type_index/stl_type_index.hpp:32:0, from C:/MinGW/include/boost/type_index.hpp:29, from C:/MinGW/include/boost/any.hpp:20, from C:/MinGW/include/boost/program_options/value_semantic.hpp:12, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: C:/MinGW/include/boost/array.hpp: In function 'const T& boost::get(const int&)': C:/MinGW/include/boost/array.hpp:430:34: error: 'Idx' was not declared in this scope BOOST_STATIC_ASSERT_MSG ( Idx < N, "boost::get<>(const boost::array &) index out of range" ); ^ C:/MinGW/include/boost/static_assert.hpp:31:59: note: in definition of macro 'BOOST_STATIC_ASSERT_MSG' # define BOOST_STATIC_ASSERT_MSG( ... ) static_assert(__VA_ARGS__) ^~~~~~~~~~~ C:/MinGW/include/boost/array.hpp:430:40: error: 'N' was not declared in this scope BOOST_STATIC_ASSERT_MSG ( Idx < N, "boost::get<>(const boost::array &) index out of range" ); ^ C:/MinGW/include/boost/static_assert.hpp:31:59: note: in definition of macro 'BOOST_STATIC_ASSERT_MSG' # define BOOST_STATIC_ASSERT_MSG( ... ) static_assert(__VA_ARGS__) ^~~~~~~~~~~ In file included from c:\mingw\include\c++\7.1.0\ctime:42:0, from c:\mingw\include\c++\7.1.0\bits\locale_facets_nonio.h:39, from c:\mingw\include\c++\7.1.0\locale:41, from C:/MinGW/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:43, from C:/MinGW/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from C:/MinGW/include/boost/lexical_cast/try_lexical_convert.hpp:42, from C:/MinGW/include/boost/lexical_cast.hpp:32, from C:/MinGW/include/boost/program_options/value_semantic.hpp:14, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: C:/MinGW/include/time.h: At global scope: C:/MinGW/include/time.h:240:1: error: 'size_t' does not name a type; did you mean 'ssize_t'? size_t strftime (char *, size_t, const char *, const struct tm *); ^~~~~~ ssize_t In file included from c:\mingw\include\c++\7.1.0\bits\locale_facets_nonio.h:39:0, from c:\mingw\include\c++\7.1.0\locale:41, from C:/MinGW/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:43, from C:/MinGW/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from C:/MinGW/include/boost/lexical_cast/try_lexical_convert.hpp:42, from C:/MinGW/include/boost/lexical_cast.hpp:32, from C:/MinGW/include/boost/program_options/value_semantic.hpp:14, from C:/MinGW/include/boost/program_options/options_description.hpp:13, from C:/MinGW/include/boost/program_options.hpp:15, from E:\project\SIFT-master\main.cpp:12: c:\mingw\include\c++\7.1.0\ctime:72:11: error: '::strftime' has not been declared using ::strftime; ^~~~~~~~ mingw32-make.exe[3]: *** [CMakeFiles\sift.dir\build.make:113: CMakeFiles/sift.dir/main.cpp.obj] Error 1 mingw32-make.exe[2]: *** [CMakeFiles\Makefile2:67: CMakeFiles/sift.dir/all] Error 2 mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:79: CMakeFiles/sift.dir/rule] Error 2 mingw32-make.exe: *** [Makefile:117: sift] Error 2