error LNK2001: unresolved external symbol __imp__recv@16
来源:互联网 发布:贵州广电网络上不了网 编辑:程序博客网 时间:2024/05/23 01:13
在 socket 时出现 error LNK2001: unresolved external symbol __imp__recv@16 这样的错误。缺少库文件造成的。
解决方法:
1,
#pragma comment( lib, "ws2_32.lib " )
2,
project--setting--link--library/module
填入 ws2_32.lib
- error LNK2001: unresolved external symbol __imp__recv@16
- error LNK2001: unresolved external symbol _WinMain@16
- error LNK2001: unresolved external symbol _WinMain@16
- error LNK2001: unresolved external symbol _WinMain@16
- Error LNK2001: '_WinMain@16': Unresolved External Symbol
- error LNK2001: unresolved external symbol _WinMain@16
- error LNK2001: unresolved external symbol _WinMain@16
- error LNK2001: unresolved external symbol _WinMain@16
- error LNK2001: unresolved external symbol _WinMain@16
- error LNK2001: unresolved external symbol _WinMain@16
- error LNK2001: unresolved external symbol _WinMain@16
- error LNK2001: unresolved external symbol _WinMain@16
- error LNK2001: unresolved external symbol _GetFileVersionInfoA@16
- error LNK2001: unresolved external symbol _WinMain@16
- error LNK2001: unresolved external symbol
- error LNK2001: unresolved external symbol
- error LNK2001: unresolved external symbol
- error LNK2001: unresolved external symbol
- 2010中国计算机大会
- 用OpenInventor实现的NeHe OpenGL教程-第二十六课
- 内存png读取程序
- 用OpenInventor实现的NeHe OpenGL教程-第二十七课
- 用OpenInventor实现的NeHe OpenGL教程-第二十八课
- error LNK2001: unresolved external symbol __imp__recv@16
- 坦克大战中,给子弹加载图片
- 用OpenInventor实现的NeHe OpenGL教程-第二十九课
- 用OpenInventor实现的NeHe OpenGL教程-第三十课
- 使用like进行表结构复制
- 用OpenInventor实现的NeHe OpenGL教程-第三十一课
- phpMyAdmin安装配置
- 用OpenInventor实现的NeHe OpenGL教程-第三十二课
- 如何使两台linux服务器时间同步?