链接CEF3的问题
问题描述:
我在使用MD/MDd运行时库链接的应用程序中使用CEF时遇到了一些问题。链接CEF3的问题
我从cefbuilds.com下载CEF3的最新版本,并遵循的指示How to link CEF against a different run-time library。
我已经建立了“libcef_dll_wrapper”项目变更“运行时库”,以“/ MDD”和“平台工具集”到“V110”,然后我联系所产生的“libcef_dll_wrapper.lib”二进制到我的项目之后。
但是,当我尝试建立我的项目,我得到了以下错误:
12>html.lib(html_producer.obj) : error LNK2019: unresolved external symbol _cef_string_utf16_clear referenced in function "public: static void __cdecl CefBrowserSettingsTraits::clear(struct _cef_browser_settings_t *)" ([email protected]@@[email protected]@@Z)
12>html.lib(html_producer.obj) : error LNK2019: unresolved external symbol _cef_string_utf8_to_utf16 referenced in function "public: static bool __cdecl CefStringTraitsUTF16::from_string(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,struct _cef_string_utf16_t *)" ([email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z)
12>html.lib(html_producer.obj) : error LNK2019: unresolved external symbol _cef_string_list_free referenced in function "public: static void __cdecl CefSettingsTraits::clear(struct _cef_settings_t *)" ([email protected]@@[email protected]@@Z)
12>html.lib(html_producer.obj) : error LNK2019: unresolved external symbol "public: static bool __cdecl CefBrowser::CreateBrowser(class CefWindowInfo &,class CefRefPtr<class CefClient>,class CefStringBase<struct CefStringTraitsUTF16> const &,class CefStructBase<struct CefBrowserSettingsTraits> const &)" ([email protected]@@[email protected]@[email protected]@@@@[email protected]@@@@[email protected]@@@@@Z) referenced in function "public: void __thiscall caspar::html::html_producer::run(void)" ([email protected][email protected]@[email protected]@QAEXXZ)
12>html.lib(html_producer.obj) : error LNK2019: unresolved external symbol "bool __cdecl CefInitialize(class CefStructBase<struct CefSettingsTraits> const &,class CefRefPtr<class CefApp>)" ([email protected]@[email protected]@@@@[email protected]@@@@@Z) referenced in function "public: void __thiscall caspar::html::html_producer::run(void)" ([email protected][email protected]@[email protected]@QAEXXZ)
12>libcef_dll_wrapper.lib(libcef_dll_wrapper.obj) : error LNK2019: unresolved external symbol __imp__cef_execute_process referenced in function "int __cdecl CefExecuteProcess(class CefMainArgs const &,class CefRefPtr<class CefApp>)" ([email protected]@[email protected]@[email protected]@@@@@Z)
12>libcef_dll_wrapper.lib(libcef_dll_wrapper.obj) : error LNK2019: unresolved external symbol __imp__cef_initialize referenced in function "bool __cdecl CefInitialize(class CefMainArgs const &,class CefStructBase<struct CefSettingsTraits> const &,class CefRefPtr<class CefApp>)" ([email protected]@[email protected]@[email protected]@@@@[email protected]@@@@@Z)
12>libcef_dll_wrapper.lib(libcef_dll_wrapper.obj) : error LNK2019: unresolved external symbol __imp__cef_shutdown referenced in function "void __cdecl CefShutdown(void)" ([email protected]@YAXXZ)
12>libcef_dll_wrapper.lib(libcef_dll_wrapper.obj) : error LNK2019: unresolved external symbol __imp__cef_do_message_loop_work referenced in function "void __cdecl CefDoMessageLoopWork(void)" ([email protected]@YAXXZ)
12>libcef_dll_wrapper.lib(libcef_dll_wrapper.obj) : error LNK2019: unresolved external symbol __imp__cef_run_message_loop referenced in function "void __cdecl CefRunMessageLoop(void)" ([email protected]@YAXXZ)
完整的日志可以发现here。
关于我可能会丢失什么的任何想法?
答
您是否也在链接器输入中使用libcef.lib?
Probalby应该把在评论部分 –
正确的,但我的代表处太低评论 – ioseph