davisking / dlib

A toolkit for making real world machine learning and data analysis applications in C++
http://dlib.net
Boost Software License 1.0
13.56k stars 3.38k forks source link

Dlib failed to build due to many errors: error C2079, C2446, C2568 and so on #1083

Closed shanshan0309 closed 6 years ago

shanshan0309 commented 6 years ago

I tried to build Dlib on Windows with VS2017 Update2. It failed to build due to many errors: such as error C2079, C2446, C2568 and so on. This issue can be reproduced from master branch revision 50d1ff9. Could you please help take a look at this? Thank you!

Expected Behavior

Build successfully.

Current Behavior

(ClCompile target) -> C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\shared\ws2def.h(235): error C2011: 'sockaddr': 'struct' type redefinition [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\shared\ws2def.h(437): error C2059: syntax error: 'constant' [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\shared\ws2def.h(491): error C2143: syntax error: missing ';' before '}' [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\shared\ws2def.h(491): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\shared\ws2def.h(633): error C2011: 'sockaddr_in': 'struct' type redefinition [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(136): error C2011: 'fd_set': 'struct' type redefinition [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(180): error C2011: 'timeval': 'struct' type redefinition [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(236): error C2011: 'hostent': 'struct' type redefinition [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(249): error C2011: 'netent': 'struct' type redefinition [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(256): error C2011: 'servent': 'struct' type redefinition [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(268): error C2011: 'protoent': 'struct' type redefinition [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(364): error C2011: 'WSAData': 'struct' type redefinition [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(462): error C2011: 'sockproto': 'struct' type redefinition [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(504): error C2011: 'linger': 'struct' type redefinition [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(1624): error C2375: 'accept': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(1646): error C2375: 'bind': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(1667): error C2375: 'closesocket': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(1684): error C2375: 'connect': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(1705): error C2375: 'ioctlsocket': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(1728): error C2375: 'getpeername': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(1749): error C2375: 'getsockname': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(1770): error C2375: 'getsockopt': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(1795): error C2375: 'htonl': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(1812): error C2375: 'htons': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(1830): error C2375: 'inet_addr': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(1848): error C2375: 'inet_ntoa': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(1948): error C2375: 'listen': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(1967): error C2375: 'ntohl': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(1984): error C2375: 'ntohs': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2001): error C2375: 'recv': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2024): error C2375: 'recvfrom': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2051): error C2375: 'select': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2076): error C2375: 'send': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2099): error C2375: 'sendto': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2126): error C2375: 'setsockopt': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2151): error C2375: 'shutdown': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2171): error C2375: 'socket': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2196): error C2375: 'gethostbyaddr': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2218): error C2375: 'gethostbyname': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2235): error C2375: 'gethostname': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2275): error C2375: 'getservbyport': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2294): error C2375: 'getservbyname': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2313): error C2375: 'getprotobynumber': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2330): error C2375: 'getprotobyname': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2350): error C2375: 'WSAStartup': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2370): error C2375: 'WSACleanup': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2387): error C2375: 'WSASetLastError': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2404): error C2375: 'WSAGetLastError': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2425): error C2375: 'WSAIsBlocking': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2443): error C2375: 'WSAUnhookBlockingHook': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2461): error C2375: 'WSASetBlockingHook': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2479): error C2375: 'WSACancelBlockingCall': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2497): error C2375: 'WSAAsyncGetServByName': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2525): error C2375: 'WSAAsyncGetServByPort': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2553): error C2375: 'WSAAsyncGetProtoByName': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2579): error C2375: 'WSAAsyncGetProtoByNumber': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2605): error C2375: 'WSAAsyncGetHostByName': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2631): error C2375: 'WSAAsyncGetHostByAddr': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2661): error C2375: 'WSACancelAsyncRequest': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(2679): error C2375: 'WSAAsyncSelect': redefinition; different linkage [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(4205): error C2059: syntax error: '}' [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\winsock2.h(4205): error C2143: syntax error: missing ';' before '}' [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\sockets\sockets_kernel_1.h(21): error C2143: syntax error: missing ';' before '{' [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\sockets\sockets_kernel_1.h(21): error C2447: '{': missing function header (old-style formal list?) [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(81): error C2079: 'wsaData' uses undefined struct 'WSAData' [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(110): error C2446: '==': no conversion from 'int' to 'int (stdcall )(char ,int)' [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(148): error C2568: '=': unable to resolve function overload [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(156): error C2027: use of undefined type 'hostent' [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(156): error C2227: left of '->h_addr_list' must point to class/struct/union/generic type [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(159): error C2027: use of undefined type 'hostent' [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(159): error C2227: left of '->h_addr_list' must point to class/struct/union/generic type [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(166): error C2440: 'initializing': cannot convert from 'char *(stdcall )(in_addr)' to 'char ' [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(207): error C2440: 'initializing': cannot convert from 'unsigned long (stdcall )(const char )' to 'unsigned long' [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(214): error C2568: '=': unable to resolve function overload [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(221): error C2027: use of undefined type 'hostent' [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(221): error C2227: left of '->h_name' must point to class/struct/union/generic type [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(239): error C2653: 'connection': is not a class or namespace name [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(245): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(255): error C2550: 'dlib::connection': constructor initializer lists are only allowed on constructor definitions [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(256): error C2065: 'connection_socket': undeclared identifier [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(262): error C2653: 'connection': is not a class or namespace name [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(264): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(265): error C2065: 'connection_socket': undeclared identifier [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(266): error C2065: 'connection_socket': undeclared identifier [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(267): error C2065: 'connection_socket': undeclared identifier [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(267): error C2541: 'delete': cannot delete objects that are not pointers [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(273): error C2653: 'connection': is not a class or namespace name [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(276): error C2065: 'connection_socket': undeclared identifier [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(276): error C2440: 'initializing': cannot convert from 'int (stdcall )(SOCKET,int,int,const char ,int)' to 'int' [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(287): error C2653: 'connection': is not a class or namespace name [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(301): error C2065: 'connection_socket': undeclared identifier [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(301): error C2568: '=': unable to resolve function overload [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(303): error C3861: 'sdo_called': identifier not found [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(317): error C2653: 'connection': is not a class or namespace name [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(327): error C2065: 'connection_socket': undeclared identifier [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(327): error C2440: 'initializing': cannot convert from 'int (__stdcall )(SOCKET,char ,int,int)' to 'long' [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(331): error C3861: 'sd_called': identifier not found [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(336): error C3861: 'sd_called': identifier not found [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(346): error C2653: 'connection': is not a class or namespace name [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(352): error C3861: 'readable': identifier not found [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(360): error C2065: 'connection_socket': undeclared identifier [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(360): error C2440: 'initializing': cannot convert from 'int (__stdcall )(SOCKET,char ,int,int)' to 'long' [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(364): error C3861: 'sd_called': identifier not found [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(369): error C3861: 'sd_called': identifier not found [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj] d:\dlib\src\dlib\all../sockets/sockets_kernel_1.cpp(369): fatal error C1003: error count exceeds 100; stopping compilation [D:\dlib\build_x86_test\dlib_build\dlib_all_source_cpp.vcxproj]

42 Warning(s)
105 Error(s)

Steps to Reproduce

  1. Open VS2017 x86 Native tools command tool
  2. git clone https://github.com/davisking/dlib D:\Dlib\src
  3. cd D:\Dlib
  4. mkdir build_x86 && pushd build_x86
  5. cmake -G "Visual Studio 15 2017" -DCMAKE_SYSTEM_VERSION=10.0.15063.0 ..\src
  6. popd
  7. mkdir build_x86_test && pushd build_x86_test
  8. cmake -G "Visual Studio 15 2017" -DCMAKE_SYSTEM_VERSION=10.0.15063.0 ..\src\dlib\test\
  9. popd
  10. pushd build_x86
  11. msbuild Project.sln /p:Configuration=Release /p:Platform=win32 /m /t:Rebuild
  12. popd
  13. pushd build_x86_test
  14. msbuild dtest.sln /p:Configuration=Release /p:Platform=win32 /m /t:Rebuild
davisking commented 6 years ago

Those are errors from your windows header files, not from any part of dlib. So you need to fix your visual studio install.

Also, follow these instructions: http://dlib.net/compile.html

shanshan0309 commented 6 years ago

@davisking, thank you. This issue has been solved.

FrankBau commented 6 years ago

Those are errors from your windows header files, not from any part of dlib. So you need to fix your visual studio install.

Yes and no. I got the same errors, it took me an hour to resolve and I want to share my knowledge:

Those errors are caused from including both, winsock.h and winsock2.h. winsock.h is usually included indirectly via windows.h. A simple rule is: always include winsock2.h before windows.h.

In fact, dlib source.cpp line in // ISO C++ code section

#include "../data_io/image_dataset_metadata.cpp" 

will ultimatively include windows.h (via matrix, thread headers.) and in #ifndef DLIB_ISO_CPP_ONLY section

include "../sockets/sockets_kernel_1.cpp"

includes winsock2.h which breakes the rule.

Swapping both sections fixes those errors without touching the Visual Studio installation.

hth

Frank

davisking commented 6 years ago

Huh, oops. I thought the automated tests running on Appveyor were building this but apparently they were skipping that part of the unit test suite. Thanks for pointing this out, I just fixed it.

ru-coder commented 6 years ago

I've just downloaded latest ver. 19.9 and the problem is still there.

davisking commented 6 years ago

Get the latest from github.

Hackertalkz commented 6 years ago

same erro even from fresh from github

davisking commented 6 years ago

@Hackertalkz post the entire error message

Kevin-Heyer commented 6 years ago

I am also having the same issue. I am building using VS15 2017 x64. Here is the console output:

PS C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build> cmake --build . --config Release Microsoft (R) Build Engine version 15.3.409.57025 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved.

Build started 25-Jun-18 12:08:38 PM. Project "C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\ALL_BUILD.vcxproj" on node 1 (default targets). Project "C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\ALL_BUILD.vcxproj" (1) is building "C:\Users\kevin\DBoW 2\build\dependencies\src\DLib\build\ZERO_CHECK.vcxproj" (2) on node 1 (default targets). InitializeBuildStatus: Creating "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. CustomBuild: All outputs are up-to-date. FinalizeBuildStatus: Deleting file "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild". Touching "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate". Done Building Project "C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\ZERO_CHECK.vcxproj" (default targets).

Project "C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\ALL_BUILD.vcxproj" (1) is building "C:\Users\kevin\DBoW 2\build\dependencies\src\DLib\build\DLib.vcxproj" (3) on node 1 (default targets). InitializeBuildStatus: Touching "DLib.dir\Release\DLib.tlog\unsuccessfulbuild". CustomBuild: All outputs are up-to-date. ClCompile: D:\VisualStudioLibraries\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\CL.exe /c /IC:\Users\kevin\DBoW2\build\dependencie s\src\DLib\include\DUtils /IC:\Users\kevin\DBoW2\build\dependencies\src\DLib\include\DUtilsCV /IC:\Users\kevin\DBoW2\ build\dependencies\src\DLib\include\DVision /IC:\lib\Build\opencv /IC:\lib\opencv\include /IC:\lib\opencv\include\ope ncv /IC:\lib\opencv\modules\core\include /IC:\lib\opencv\modules\flann\include /IC:\lib\opencv\modules\imgproc\includ e /IC:\lib\opencv\modules\ml\include /IC:\lib\opencv\modules\objdetect\include /IC:\lib\opencvcontrib\modules\phase unwrapping\include /IC:\lib\opencv\modules\photo\include /IC:\lib\opencv_contrib\modules\plot\include /IC:\lib\opencv _contrib\modules\reg\include /IC:\lib\opencv_contrib\modules\surface_matching\include /IC:\lib\opencv\modules\video\i nclude /IC:\lib\opencv_contrib\modules\xphoto\include /IC:\lib\opencv\modules\dnn\include /IC:\lib\opencv_contrib\mod ules\face\include /IC:\lib\opencv_contrib\modules\fuzzy\include /IC:\lib\opencv_contrib\modules\hfs\include /IC:\lib\ opencv\modules\imgcodecs\include /IC:\lib\opencv\modules\shape\include /IC:\lib\opencv\modules\videoio\include /IC:\l ib\opencv_contrib\modules\xobjdetect\include /IC:\lib\opencv\modules\highgui\include /IC:\lib\opencv\modules\superres \include /IC:\lib\opencv_contrib\modules\bioinspired\include /IC:\lib\opencv_contrib\modules\dnn_objdetect\include /I C:\lib\opencv_contrib\modules\dpm\include /IC:\lib\opencv\modules\features2d\include /IC:\lib\opencv_contrib\modules\ line_descriptor\include /IC:\lib\opencv_contrib\modules\saliency\include /IC:\lib\opencv_contrib\modules\text\include /IC:\lib\opencv\modules\calib3d\include /IC:\lib\opencv_contrib\modules\ccalib\include /IC:\lib\opencv_contrib\modul es\datasets\include /IC:\lib\opencv_contrib\modules\rgbd\include /IC:\lib\opencv_contrib\modules\stereo\include /IC:\ lib\opencv_contrib\modules\structured_light\include /IC:\lib\opencv_contrib\modules\tracking\include /IC:\lib\opencv\ modules\videostab\include /IC:\lib\opencv_contrib\modules\xfeatures2d\include /IC:\lib\opencv_contrib\modules\ximgpro c\include /IC:\lib\opencv_contrib\modules\aruco\include /IC:\lib\opencv_contrib\modules\bgsegm\include /IC:\lib\openc v_contrib\modules\optflow\include /IC:\lib\opencv\modules\stitching\include /IC:\lib\opencv\modules\world\include /IC :\lib\opencv_contrib\modules\img_hash\include /IC:\lib\opencv\modules\ts\include /nologo /W4 /WX- /diagnostics:classi c /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:w char_t /Zc:forScope /Zc:inline /GR /Fo"DLib.dir\Release\" /Fd"DLib.dir\Release\DLib.pdb" /Gd /TP /errorReport:queue C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DVision\FSolver.cpp C:\Users\kevin\DBoW2\build\dependencies\src\ DLib\src\DVision\HSolver.cpp C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp C:\Users\kevin \DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp FSolver.cpp c:\users\kevin\dbow2\build\dependencies\src\dlib\include\dutils\TimeManager.h(160): warning C4267: 'return': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vc xproj] c:\users\kevin\dbow2\build\dependencies\src\dlib\include\dutils\TimeManager.h(225): warning C4245: 'initializing': conv ersion from 'int' to 'unsigned int', signed/unsigned mismatch [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\D Lib.vcxproj] c:\users\kevin\dbow2\build\dependencies\src\dlib\include\dutils\Random.h(155): warning C4267: 'return': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj ] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DVision\FSolver.cpp(128): warning C4267: 'argument': conversion fr om 'size_t' to 'int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DVision\FSolver.cpp(149): error C2065: 'CV_REDUCE_SUM': undeclared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DVision\FSolver.cpp(160): error C2065: 'CV_REDUCE_SUM': undeclared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DVision\FSolver.cpp(308): warning C4267: 'initializing': conversio n from 'size_t' to 'unsigned int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.v cxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DVision\FSolver.cpp(308): warning C4267: 'initializing': conversio n from 'size_t' to 'const unsigned int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\ DLib.vcxproj] HSolver.cpp c:\users\kevin\dbow2\build\dependencies\src\dlib\include\dutils\TimeManager.h(160): warning C4267: 'return': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vc xproj] c:\users\kevin\dbow2\build\dependencies\src\dlib\include\dutils\TimeManager.h(225): warning C4245: 'initializing': conv ersion from 'int' to 'unsigned int', signed/unsigned mismatch [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\D Lib.vcxproj] c:\users\kevin\dbow2\build\dependencies\src\dlib\include\dutils\Random.h(155): warning C4267: 'return': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj ] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DVision\HSolver.cpp(113): warning C4267: 'argument': conversion fr om 'size_t' to 'int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DVision\HSolver.cpp(144): error C2065: 'CV_REDUCE_SUM': undeclared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DVision\HSolver.cpp(216): warning C4267: 'initializing': conversio n from 'size_t' to 'unsigned int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.v cxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DVision\HSolver.cpp(216): warning C4267: 'initializing': conversio n from 'size_t' to 'const unsigned int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\ DLib.vcxproj] Drawing.cpp C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(26): error C2065: 'CvScalar': undeclared iden tifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(26): error C2146: syntax error: missing ';' b efore identifier 'colors' [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(26): error C2065: 'colors': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(27): error C3861: 'cvScalar': identifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(28): error C3861: 'cvScalar': identifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(29): error C3861: 'cvScalar': identifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(30): error C3861: 'cvScalar': identifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(42): error C4430: missing type specifier - in t assumed. Note: C++ does not support default-int [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(42): error C2143: syntax error: missing ';' b efore '*' [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(42): error C2065: 'color': undeclared identif ier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(44): error C2065: 'color': undeclared identif ier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(44): error C2065: 'colors': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(46): error C2065: 'color': undeclared identif ier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(46): error C2065: 'colors': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(51): error C3861: 'cvPoint': identifier not f ound [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(51): error C2065: 'color': undeclared identif ier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(65): error C3861: 'cvPoint': identifier not f ound [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(65): error C2065: 'color': undeclared identif ier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(105): error C2065: 'CV_RGB2GRAY': undeclared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(110): error C2065: 'CV_RGB2GRAY': undeclared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(118): error C2065: 'IplImage': undeclared ide ntifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(118): error C2146: syntax error: missing ';' before identifier 'ipl_im' [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(118): error C2065: 'ipl_im': undeclared ident ifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(118): error C3861: 'IplImage': identifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(119): error C2065: 'IplImage': undeclared ide ntifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(119): error C2065: 'ipl_ret': undeclared iden tifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(119): error C2065: 'ipl_im': undeclared ident ifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(121): error C2065: 'CvRect': undeclared ident ifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(121): error C2146: syntax error: missing ';' before identifier 'roi' [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(121): error C2065: 'roi': undeclared identifi er [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(122): error C2065: 'roi': undeclared identifi er [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(122): error C2228: left of '.x' must have cla ss/struct/union [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(122): note: type is 'unknown-type' C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(123): error C2065: 'roi': undeclared identifi er [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(123): error C2228: left of '.y' must have cla ss/struct/union [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(123): note: type is 'unknown-type' C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(124): error C2065: 'roi': undeclared identifi er [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(124): error C2228: left of '.width' must have class/struct/union [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(124): note: type is 'unknown-type' C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(125): error C2065: 'roi': undeclared identifi er [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(125): error C2228: left of '.height' must hav e class/struct/union [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(125): note: type is 'unknown-type' C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(127): error C2065: 'ipl_ret': undeclared iden tifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(127): error C2065: 'roi': undeclared identifi er [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(127): error C3861: 'cvSetImageROI': identifie r not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(128): error C2065: 'IplImage': undeclared ide ntifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(128): error C2146: syntax error: missing ';' before identifier 'ipl_aux1' [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(128): error C2065: 'ipl_aux1': undeclared ide ntifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(128): error C3861: 'IplImage': identifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(129): error C2065: 'ipl_aux1': undeclared ide ntifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(129): error C2065: 'ipl_ret': undeclared iden tifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(129): error C3861: 'cvCopy': identifier not f ound [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(131): error C2065: 'roi': undeclared identifi er [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(131): error C2228: left of '.x' must have cla ss/struct/union [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(131): note: type is 'unknown-type' C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(132): error C2065: 'roi': undeclared identifi er [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(132): error C2228: left of '.y' must have cla ss/struct/union [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(132): note: type is 'unknown-type' C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(133): error C2065: 'roi': undeclared identifi er [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(133): error C2228: left of '.width' must have class/struct/union [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(133): note: type is 'unknown-type' C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(134): error C2065: 'roi': undeclared identifi er [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(134): error C2228: left of '.height' must hav e class/struct/union [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(134): note: type is 'unknown-type' C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(136): error C2065: 'ipl_ret': undeclared iden tifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(136): error C2065: 'roi': undeclared identifi er [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(136): error C3861: 'cvSetImageROI': identifie r not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(137): error C2065: 'IplImage': undeclared ide ntifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(137): error C2146: syntax error: missing ';' before identifier 'ipl_aux2' [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(137): error C2065: 'ipl_aux2': undeclared ide ntifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(137): error C3861: 'IplImage': identifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(138): error C2065: 'ipl_aux2': undeclared ide ntifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(138): error C2065: 'ipl_ret': undeclared iden tifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(138): error C3861: 'cvCopy': identifier not f ound [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(140): error C2065: 'ipl_ret': undeclared iden tifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(140): error C3861: 'cvResetImageROI': identif ier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(143): error C2065: 'CV_GRAY2RGB': undeclared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(154): error C2065: 'CvScalar': undeclared ide ntifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(154): error C2146: syntax error: missing ';' before identifier 'color' [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(154): error C2065: 'color': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(154): error C3861: 'cvScalar': identifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(159): error C3861: 'cvPoint': identifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(159): error C2065: 'color': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(209): error C2065: 'CvScalar': undeclared ide ntifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(209): error C2146: syntax error: missing ';' before identifier 'bluez' [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(209): error C2065: 'bluez': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(209): error C2065: 'greeny': undeclared ident ifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(209): error C2065: 'redx': undeclared identif ier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(213): error C2065: 'bluez': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(213): error C3861: 'cvScalar': identifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(214): error C2065: 'greeny': undeclared ident ifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(214): error C3861: 'cvScalar': identifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(215): error C2065: 'redx': undeclared identif ier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(215): error C3861: 'cvScalar': identifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(219): error C2065: 'bluez': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(219): error C3861: 'cvScalar': identifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(220): error C2065: 'greeny': undeclared ident ifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(220): error C3861: 'cvScalar': identifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(221): error C2065: 'redx': undeclared identif ier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(221): error C3861: 'cvScalar': identifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(224): error C2065: 'redx': undeclared identif ier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(225): error C2065: 'greeny': undeclared ident ifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(226): error C2065: 'bluez': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(297): warning C4244: '=': conversion from 'do uble' to 'float', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(298): warning C4244: '=': conversion from 'do uble' to 'float', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] GUI.cpp C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(42): error C2065: 'CV_WINDOW_AUTOSIZE': undeclare d identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(54): warning C4244: 'initializing': conversion fr om 'int' to 'char', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(84): error C2065: 'CV_GRAY2RGB': undeclared ident ifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(179): error C3861: 'cvGetWindowHandle': identifie r not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(240): error C2065: 'CV_EVENT_LBUTTONUP': undeclar ed identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(250): error C2065: 'CV_EVENT_MOUSEMOVE': undeclar ed identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(278): error C2065: 'CV_EVENT_LBUTTONDOWN': undecl ared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(279): error C2065: 'CV_EVENT_LBUTTONUP': undeclar ed identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(280): error C2065: 'CV_EVENT_LBUTTONDBLCLK': unde clared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(281): error C2065: 'CV_EVENT_RBUTTONDOWN': undecl ared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(282): error C2065: 'CV_EVENT_RBUTTONUP': undeclar ed identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(283): error C2065: 'CV_EVENT_RBUTTONDBLCLK': unde clared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(284): error C2065: 'CV_EVENT_MBUTTONDOWN': undecl ared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(285): error C2065: 'CV_EVENT_MBUTTONUP': undeclar ed identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(286): error C2065: 'CV_EVENT_MBUTTONDBLCLK': unde clared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(287): error C2065: 'CV_EVENT_MOUSEMOVE': undeclar ed identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] Generating Code... Done Building Project "C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj" (default targets) -- FAILED .

Done Building Project "C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\ALL_BUILD.vcxproj" (default targets) -- F AILED.

Build FAILED.

"C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\ALL_BUILD.vcxproj" (default target) (1) -> "C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj" (default target) (3) -> (ClCompile target) -> c:\users\kevin\dbow2\build\dependencies\src\dlib\include\dutils\TimeManager.h(160): warning C4267: 'return': conversi on from 'size_t' to 'unsigned int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib. vcxproj] c:\users\kevin\dbow2\build\dependencies\src\dlib\include\dutils\TimeManager.h(225): warning C4245: 'initializing': co nversion from 'int' to 'unsigned int', signed/unsigned mismatch [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build \DLib.vcxproj] c:\users\kevin\dbow2\build\dependencies\src\dlib\include\dutils\Random.h(155): warning C4267: 'return': conversion fr om 'size_t' to 'unsigned int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxpr oj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DVision\FSolver.cpp(128): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DVision\FSolver.cpp(308): warning C4267: 'initializing': convers ion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib .vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DVision\FSolver.cpp(308): warning C4267: 'initializing': convers ion from 'size_t' to 'const unsigned int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\buil d\DLib.vcxproj] c:\users\kevin\dbow2\build\dependencies\src\dlib\include\dutils\TimeManager.h(160): warning C4267: 'return': conversi on from 'size_t' to 'unsigned int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib. vcxproj] c:\users\kevin\dbow2\build\dependencies\src\dlib\include\dutils\TimeManager.h(225): warning C4245: 'initializing': co nversion from 'int' to 'unsigned int', signed/unsigned mismatch [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build \DLib.vcxproj] c:\users\kevin\dbow2\build\dependencies\src\dlib\include\dutils\Random.h(155): warning C4267: 'return': conversion fr om 'size_t' to 'unsigned int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxpr oj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DVision\HSolver.cpp(113): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DVision\HSolver.cpp(216): warning C4267: 'initializing': convers ion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib .vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DVision\HSolver.cpp(216): warning C4267: 'initializing': convers ion from 'size_t' to 'const unsigned int', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\buil d\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(297): warning C4244: '=': conversion from ' double' to 'float', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(298): warning C4244: '=': conversion from ' double' to 'float', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(54): warning C4244: 'initializing': conversion from 'int' to 'char', possible loss of data [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj]

"C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\ALL_BUILD.vcxproj" (default target) (1) -> "C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj" (default target) (3) -> (ClCompile target) -> C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DVision\FSolver.cpp(149): error C2065: 'CV_REDUCE_SUM': undeclar ed identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DVision\FSolver.cpp(160): error C2065: 'CV_REDUCE_SUM': undeclar ed identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DVision\HSolver.cpp(144): error C2065: 'CV_REDUCE_SUM': undeclar ed identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(26): error C2065: 'CvScalar': undeclared id entifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(26): error C2146: syntax error: missing ';' before identifier 'colors' [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(26): error C2065: 'colors': undeclared iden tifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(27): error C3861: 'cvScalar': identifier no t found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(28): error C3861: 'cvScalar': identifier no t found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(29): error C3861: 'cvScalar': identifier no t found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(30): error C3861: 'cvScalar': identifier no t found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(42): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxpro j] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(42): error C2143: syntax error: missing ';' before '*' [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(42): error C2065: 'color': undeclared ident ifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(44): error C2065: 'color': undeclared ident ifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(44): error C2065: 'colors': undeclared iden tifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(46): error C2065: 'color': undeclared ident ifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(46): error C2065: 'colors': undeclared iden tifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(51): error C3861: 'cvPoint': identifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(51): error C2065: 'color': undeclared ident ifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(65): error C3861: 'cvPoint': identifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(65): error C2065: 'color': undeclared ident ifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(105): error C2065: 'CV_RGB2GRAY': undeclare d identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(110): error C2065: 'CV_RGB2GRAY': undeclare d identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(118): error C2065: 'IplImage': undeclared i dentifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(118): error C2146: syntax error: missing '; ' before identifier 'ipl_im' [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(118): error C2065: 'ipl_im': undeclared ide ntifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(118): error C3861: 'IplImage': identifier n ot found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(119): error C2065: 'IplImage': undeclared i dentifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(119): error C2065: 'ipl_ret': undeclared id entifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(119): error C2065: 'ipl_im': undeclared ide ntifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(121): error C2065: 'CvRect': undeclared ide ntifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(121): error C2146: syntax error: missing '; ' before identifier 'roi' [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(121): error C2065: 'roi': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(122): error C2065: 'roi': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(122): error C2228: left of '.x' must have c lass/struct/union [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(123): error C2065: 'roi': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(123): error C2228: left of '.y' must have c lass/struct/union [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(124): error C2065: 'roi': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(124): error C2228: left of '.width' must ha ve class/struct/union [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(125): error C2065: 'roi': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(125): error C2228: left of '.height' must h ave class/struct/union [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(127): error C2065: 'ipl_ret': undeclared id entifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(127): error C2065: 'roi': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(127): error C3861: 'cvSetImageROI': identif ier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(128): error C2065: 'IplImage': undeclared i dentifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(128): error C2146: syntax error: missing '; ' before identifier 'ipl_aux1' [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(128): error C2065: 'ipl_aux1': undeclared i dentifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(128): error C3861: 'IplImage': identifier n ot found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(129): error C2065: 'ipl_aux1': undeclared i dentifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(129): error C2065: 'ipl_ret': undeclared id entifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(129): error C3861: 'cvCopy': identifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(131): error C2065: 'roi': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(131): error C2228: left of '.x' must have c lass/struct/union [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(132): error C2065: 'roi': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(132): error C2228: left of '.y' must have c lass/struct/union [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(133): error C2065: 'roi': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(133): error C2228: left of '.width' must ha ve class/struct/union [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(134): error C2065: 'roi': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(134): error C2228: left of '.height' must h ave class/struct/union [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(136): error C2065: 'ipl_ret': undeclared id entifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(136): error C2065: 'roi': undeclared identi fier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(136): error C3861: 'cvSetImageROI': identif ier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(137): error C2065: 'IplImage': undeclared i dentifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(137): error C2146: syntax error: missing '; ' before identifier 'ipl_aux2' [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(137): error C2065: 'ipl_aux2': undeclared i dentifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(137): error C3861: 'IplImage': identifier n ot found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(138): error C2065: 'ipl_aux2': undeclared i dentifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(138): error C2065: 'ipl_ret': undeclared id entifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(138): error C3861: 'cvCopy': identifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(140): error C2065: 'ipl_ret': undeclared id entifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(140): error C3861: 'cvResetImageROI': ident ifier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(143): error C2065: 'CV_GRAY2RGB': undeclare d identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(154): error C2065: 'CvScalar': undeclared i dentifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(154): error C2146: syntax error: missing '; ' before identifier 'color' [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(154): error C2065: 'color': undeclared iden tifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(154): error C3861: 'cvScalar': identifier n ot found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(159): error C3861: 'cvPoint': identifier no t found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(159): error C2065: 'color': undeclared iden tifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(209): error C2065: 'CvScalar': undeclared i dentifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(209): error C2146: syntax error: missing '; ' before identifier 'bluez' [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(209): error C2065: 'bluez': undeclared iden tifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(209): error C2065: 'greeny': undeclared ide ntifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(209): error C2065: 'redx': undeclared ident ifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(213): error C2065: 'bluez': undeclared iden tifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(213): error C3861: 'cvScalar': identifier n ot found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(214): error C2065: 'greeny': undeclared ide ntifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(214): error C3861: 'cvScalar': identifier n ot found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(215): error C2065: 'redx': undeclared ident ifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(215): error C3861: 'cvScalar': identifier n ot found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(219): error C2065: 'bluez': undeclared iden tifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(219): error C3861: 'cvScalar': identifier n ot found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(220): error C2065: 'greeny': undeclared ide ntifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(220): error C3861: 'cvScalar': identifier n ot found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(221): error C2065: 'redx': undeclared ident ifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(221): error C3861: 'cvScalar': identifier n ot found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(224): error C2065: 'redx': undeclared ident ifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(225): error C2065: 'greeny': undeclared ide ntifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\Drawing.cpp(226): error C2065: 'bluez': undeclared iden tifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(42): error C2065: 'CV_WINDOW_AUTOSIZE': undecla red identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(84): error C2065: 'CV_GRAY2RGB': undeclared ide ntifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(179): error C3861: 'cvGetWindowHandle': identif ier not found [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(240): error C2065: 'CV_EVENT_LBUTTONUP': undecl ared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(250): error C2065: 'CV_EVENT_MOUSEMOVE': undecl ared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(278): error C2065: 'CV_EVENT_LBUTTONDOWN': unde clared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(279): error C2065: 'CV_EVENT_LBUTTONUP': undecl ared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(280): error C2065: 'CV_EVENT_LBUTTONDBLCLK': un declared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(281): error C2065: 'CV_EVENT_RBUTTONDOWN': unde clared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(282): error C2065: 'CV_EVENT_RBUTTONUP': undecl ared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(283): error C2065: 'CV_EVENT_RBUTTONDBLCLK': un declared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(284): error C2065: 'CV_EVENT_MBUTTONDOWN': unde clared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(285): error C2065: 'CV_EVENT_MBUTTONUP': undecl ared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(286): error C2065: 'CV_EVENT_MBUTTONDBLCLK': un declared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj] C:\Users\kevin\DBoW2\build\dependencies\src\DLib\src\DUtilsCV\GUI.cpp(287): error C2065: 'CV_EVENT_MOUSEMOVE': undecl ared identifier [C:\Users\kevin\DBoW2\build\dependencies\src\DLib\build\DLib.vcxproj]

15 Warning(s)
113 Error(s)

Time Elapsed 00:00:04.58