Hi all,
I am trying to compile a C++ code which i have written for creating a socket and doing simple linking with a server in VC++. The code compiles fine. But while building the code(using the Build command) it throws the following error.
--------------------Configuration: domain - Win32 Debug--------------------
Linking...
sockets.obj : error LNK2001: unresolved external symbol _getaddrinfo@16
Debug/domain.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
domain.exe - 2 error(s), 0 warning(s)
Anybody has any knowledge about which .lib file to be added to remove the error or any other suggestion to remove the error......plea se share it with me.
Thanks,
Bishnu
I am trying to compile a C++ code which i have written for creating a socket and doing simple linking with a server in VC++. The code compiles fine. But while building the code(using the Build command) it throws the following error.
--------------------Configuration: domain - Win32 Debug--------------------
Linking...
sockets.obj : error LNK2001: unresolved external symbol _getaddrinfo@16
Debug/domain.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
domain.exe - 2 error(s), 0 warning(s)
Anybody has any knowledge about which .lib file to be added to remove the error or any other suggestion to remove the error......plea se share it with me.
Thanks,
Bishnu
Comment