EDN Admin
Well-known member
Hi,<br/> <br/> 1>------ Build started: Project: ApplicationManager_WIN32, Configuration: Debug Win32 ------<br/> 1>Linking...<br/> 1>communication_socket_win32.obj : error LNK2019: unresolved external symbol __imp__connect@12 referenced in function "public: virtual unsigned char __thiscall CommunicationSocket::Open(class XString,unsigned long)" (?Open@CommunicationSocket@@UAEEVXString@@K@Z)<br/> 1>communication_socket_win32.obj : error LNK2019: unresolved external symbol __imp__gethostbyaddr@12 referenced in function "public: virtual unsigned char __thiscall CommunicationSocket::Open(class XString,unsigned long)" (?Open@CommunicationSocket@@UAEEVXString@@K@Z)<br/> 1>communication_socket_win32.obj : error LNK2019: unresolved external symbol __imp__gethostbyname@4 referenced in function "public: virtual unsigned char __thiscall CommunicationSocket::Open(class XString,unsigned long)" (?Open@CommunicationSocket@@UAEEVXString@@K@Z)<br/> 1>communication_socket_win32.obj : error LNK2019: unresolved external symbol __imp__inet_ntoa@4 referenced in function "public: virtual unsigned char __thiscall CommunicationSocket::Open(class XString,unsigned long)" (?Open@CommunicationSocket@@UAEEVXString@@K@Z)<br/> 1>communication_socket_win32.obj : error LNK2019: unresolved external symbol __imp__accept@12 referenced in function "public: virtual unsigned char __thiscall CommunicationSocket::Open(class XString,unsigned long)" (?Open@CommunicationSocket@@UAEEVXString@@K@Z)<br/> 1>communication_socket_win32.obj : error LNK2019: unresolved external symbol __imp__listen@8 referenced in function "public: virtual unsigned char __thiscall CommunicationSocket::Open(class XString,unsigned long)" (?Open@CommunicationSocket@@UAEEVXString@@K@Z)<br/> 1>communication_socket_win32.obj : error LNK2019: unresolved external symbol __imp__bind@12 referenced in function "public: virtual unsigned char __thiscall CommunicationSocket::Open(class XString,unsigned long)" (?Open@CommunicationSocket@@UAEEVXString@@K@Z)<br/> 1>communication_socket_win32.obj : error LNK2019: unresolved external symbol __imp__socket@12 referenced in function "public: virtual unsigned char __thiscall CommunicationSocket::Open(class XString,unsigned long)" (?Open@CommunicationSocket@@UAEEVXString@@K@Z)<br/> 1>communication_socket_win32.obj : error LNK2019: unresolved external symbol __imp__htons@4 referenced in function "public: virtual unsigned char __thiscall CommunicationSocket::Open(class XString,unsigned long)" (?Open@CommunicationSocket@@UAEEVXString@@K@Z)<br/> 1>communication_socket_win32.obj : error LNK2019: unresolved external symbol __imp__inet_addr@4 referenced in function "public: virtual unsigned char __thiscall CommunicationSocket::Open(class XString,unsigned long)" (?Open@CommunicationSocket@@UAEEVXString@@K@Z)<br/> 1>communication_socket_win32.obj : error LNK2019: unresolved external symbol __imp__WSACleanup@0 referenced in function "public: virtual unsigned char __thiscall CommunicationSocket::Open(class XString,unsigned long)" (?Open@CommunicationSocket@@UAEEVXString@@K@Z)<br/> 1>communication_socket_win32.obj : error LNK2019: unresolved external symbol __imp__WSAGetLastError@0 referenced in function "public: virtual unsigned char __thiscall CommunicationSocket::Open(class XString,unsigned long)" (?Open@CommunicationSocket@@UAEEVXString@@K@Z)<br/> 1>communication_socket_win32.obj : error LNK2019: unresolved external symbol __imp__WSAStartup@8 referenced in function "public: virtual unsigned char __thiscall CommunicationSocket::Open(class XString,unsigned long)" (?Open@CommunicationSocket@@UAEEVXString@@K@Z)<br/> 1>communication_socket_win32.obj : error LNK2019: unresolved external symbol __imp__send@16 referenced in function "public: virtual short __thiscall CommunicationSocket::Send(unsigned char *,short,unsigned long)" (?Send@CommunicationSocket@@UAEFPAEFK@Z)<br/> 1>communication_socket_win32.obj : error LNK2019: unresolved external symbol __imp__recv@16 referenced in function "public: virtual short __thiscall CommunicationSocket::Receive(unsigned char *,short *,unsigned long)" (?Receive@CommunicationSocket@@UAEFPAEPAFK@Z)<br/> 1>communication_socket_win32.obj : error LNK2019: unresolved external symbol __imp__closesocket@4 referenced in function "public: virtual short __thiscall CommunicationSocket::Close(void)" (?Close@CommunicationSocket@@UAEFXZ)<br/> 1>LIBCMTD.lib(wincrt0.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup<br/> 1>..Execute/ApplicationManager_WIN32.exe : fatal error LNK1120: 17 unresolved externals<br/> 1>Build log was saved at "file://f
T-TerminalterminalApplicationManager_CodeApplicationManager_WIN32DebugBuildLog.htm"<br/> 1>ApplicationManager_WIN32 - 18 error(s), 0 warning(s)<br/> ========== Build: 0 succeeded, 1 failed, 4 up-to-date, 0 skipped ==========<br/> <br/> i made config setting "Windows (/SUBSYSTEM:WINDOWS)" . if it is "Console (/SUBSYSTEM:CONSOLE)" this also am getting error the same above except "1>LIBCMTD.lib(wincrt0.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup" error<br/> <br/> please give me the solution, what should i do?<br/> <br/> Thanks in advance<br/> <br/> Gomuap<br/>
View the full article

View the full article