2013-09-28 2 views
2

MD/MDd 런타임 라이브러리 링크를 사용하는 응용 프로그램에서 CEF 사용에 문제가 있습니다.CEF3 연결 문제

cefbuilds.com에서 CEF3의 최신 빌드를 다운로드하고 How to link CEF against a different run-time library 지침을 따릅니다.

"런타임 라이브러리"를 "/ MDd"로, "플랫폼 도구 세트"를 "v110"으로 변경 한 다음 "libcef_dll_wrapper.lib"바이너리를 내 프로젝트에 연결 한 후 "libcef_dll_wrapper"프로젝트를 빌드했습니다. 그러나

, 나는 다음과 같은 오류를 얻을 내 프로젝트 빌드하려고 :

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]@@SA_NAAVCefWindowInfo@@[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를 찾을 수 있습니다.

어떤 아이디어가 누락 될 수있으세요?

답변

4

libcef.lib도 링커 입력에 있습니까?

+0

Probalby는 의견 섹션에 넣어야합니다. –

+0

정확하지만 내 담당자가 의견을 제시하기에 너무 낮습니다. – ioseph