编译libjingle 时 ,出现连接错误

zslenglish 2008-05-18 03:51:19
我使用VC++2005编译的,单独编译linjingle成功,但编译PCP时出现连接错误错误,出现以下错误:
1>libjingle.lib(pathutils.obj) : error LNK2019: unresolved external symbol __imp__SHGetSpecialFolderPathW@16 referenced in function "bool __cdecl talk_base::GetAppDataFolder(class talk_base::Pathname &,bool,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?GetAppDataFolder@talk_base@@YA_NAAVPathname@1@_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)

1>libjingle.lib(pathutils.obj) : error LNK2019: unresolved external symbol __imp__SHFileOperationW@4 referenced in function "bool __cdecl talk_base::CleanupTemporaryFolder(void)" (?CleanupTemporaryFolder@talk_base@@YA_NXZ)

1>libjingle.lib(helpers1.obj) : error LNK2019: unresolved external symbol __imp__CryptReleaseContext@8 referenced in function "void __cdecl cricket::InitRandom(char const *,unsigned int)" (?InitRandom@cricket@@YAXPBDI@Z)

1>libjingle.lib(helpers1.obj) : error LNK2019: unresolved external symbol __imp__CryptGenRandom@12 referenced in function "void __cdecl cricket::InitRandom(char const *,unsigned int)" (?InitRandom@cricket@@YAXPBDI@Z)

1>libjingle.lib(helpers1.obj) : error LNK2019: unresolved external symbol __imp__CryptAcquireContextW@20 referenced in function "void __cdecl cricket::InitRandom(char const *,unsigned int)" (?InitRandom@cricket@@YAXPBDI@Z)

1>F:\soft\xmpp\libjingle-0.4.0\libjingle-0.4.0\talk\Debug\pcp.exe : fatal error LNK1120: 5 unresolved externals



怎么解决啊,请指教啊,谢谢

...全文
194 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
zslenglish 2008-06-14
  • 打赏
  • 举报
回复
hi,问题解决了
loki2k 2008-05-20
  • 打赏
  • 举报
回复
应该是系统函数不能连接
后面3个是关于加解密的
到MSDN上找找
Windows NT: Requires version 4.0 or later.
Windows: Requires Windows 95 OSR2 or later (or Windows 95 with IE 3.02 or later).
Windows CE: Unsupported.
Header: Declared in wincrypt.h.
Import Library: Use advapi32.lib.
zslenglish 2008-05-20
  • 打赏
  • 举报
回复
我的系统是win2003server sp2
具体怎么解决啊,谢谢

6,721

社区成员

发帖
与我相关
我的任务
社区描述
专题开发/技术/项目 Google技术社区
社区管理员
  • Google技术社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧