Wince下的WS2.lib的作用
来源:互联网 发布:淘宝上下架规则和流量 编辑:程序博客网 时间:2024/05/18 18:14
今天加入MPEG4IP静态库的应用程序,在编译阶段没有错误,可在连接阶段却现了错误,错误如下:
BUILD: [Thrd:Sequence:Type ] Message
BUILD: [01:0000000138:ERRORE] libmp4v2.lib(atom_udta.obj) : error LNK2001: unresolved external symbol htonl
BUILD: [01:0000000139:ERRORE] libmp4v2.lib(atom_hnti.obj) : error LNK2001: unresolved external symbol htonl
BUILD: [01:0000000140:ERRORE] libmp4v2.lib(atom_sound.obj) : error LNK2001: unresolved external symbol htonl
BUILD: [01:0000000141:ERRORE] libmp4v2.lib(rtphint.obj) : error LNK2001: unresolved external symbol htonl
BUILD: [01:0000000142:ERRORE] libmp4v2.lib(mp4atom.obj) : error LNK2001: unresolved external symbol htonl
BUILD: [01:0000000143:ERRORE] libmp4v2.lib(atom_standard.obj) : error LNK2001: unresolved external symbol htonl
BUILD: [01:0000000144:ERRORE] libmp4v2.lib(atom_meta.obj) : error LNK2001: unresolved external symbol htonl
BUILD: [01:0000000145:ERRORE] libmp4v2.lib(mp4.obj) : error LNK2019: unresolved external symbol htonl referenced in function MP4GetVideoProfileLevel
BUILD: [01:0000000146:ERRORE] libmp4v2.lib(mp4file.obj) : error LNK2001: unresolved external symbol htonl
BUILD: [01:0000000147:ERRORE] libmp4v2.lib(mp4track.obj) : error LNK2001: unresolved external symbol htonl
BUILD: [01:0000000148:ERRORE] libmp4v2.lib(isma.obj) : error LNK2001: unresolved external symbol htonl
BUILD: [01:0000000149:ERRORE] libmp4v2.lib(rtphint.obj) : error LNK2019: unresolved external symbol htons referenced in function "public: void __cdecl MP4RtpHintTrack::ReadPacket(unsigned short,unsigned char * *,unsigned int *,unsigned int,bool,bool)" (?ReadPacket@MP4RtpHintTrack@@QAAXGPAPAEPAII_N2@Z)
BUILD: [01:0000000150:ERRORE] obj\ARMV4I\retail\MyDump.dll : fatal error LNK1120: 2 unresolved externals
看起中的ReadPacket显然与网络有关,弄了将近一个小时,原来是没有加入“ws2.lib"所致,加入后,编译链接OK
该库对应ws2_32.dll,提供了对以下网络相关API的支持,若使用其中的API,则应该将ws2_32.lib加入工程(否则需要动态载入ws2_32.dll)。
- Wince下的WS2.lib的作用
- DSP 下*.lib的作用
- ws2.dll window的socket套接字
- wince下sources/sources.cmn/Makefile.def的相关作用
- wince下sourcessources.cmnMakefile.def的相关作用
- wince下sources\sources.cmn\Makefile.def的相关作用
- wince下sources\sources.cmn\Makefile.def的相关作用
- wince下sources\sources.cmn\Makefile.def的相关作用
- wince下sources\sources.cmn\Makefile.def的相关作用
- wince下sources\sources.cmn\Makefile.def的相关作用
- wince下sources\sources.cmn\Makefile.def的相关作用
- jdk安装目录下lib和bin的作用
- openssl在wince下的使用(lib库的编译)
- openssl在wince下的使用(lib库的编译) .
- ws_test练习,spring、hibernate、jax-ws2.1的webservice
- WINCE下的BLENDFUNCTION
- Wince下的GDI+
- WinCE下的快捷方式
- 数据仓库项目管理面试题整理
- MyEclipse运行JSP页面时弹出下载对话框
- 如何在VC6.0中重写OnInitDialog()等函数
- OGRE+OIS 帧监听FrameListener、非缓冲输入和缓冲输入
- struts2文件上传(服务器端)
- Wince下的WS2.lib的作用
- HDU--3920[Clear All of Them I] 状态压缩DP或模拟退火
- Android-first
- Ubuntu 中安装VMWare Tools
- OGRE 选中物体
- Ogre overlay实现帧动画
- linux-1
- getchar、scanf以及缓冲区的概念
- losf