編譯google talk libjingle 成功,但是編譯PCP時出現link錯誤,請指教

來源:互聯網
上載者:User

我使用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

 

怎麼解決啊,請指教啊,謝謝

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.