2013-09-28 3 views
2

У меня возникли проблемы с использованием CEF в моем приложении, которое использует ссылку библиотеки времени выполнения MD/MDd.Проблемы со связыванием CEF3

Загрузите последнюю сборку CEF3 с cefbuilds.com и следуйте инструкциям How to link CEF against a different run-time library.

Я создал проект «libcef_dll_wrapper» после смены «Runtime Library» на «/ MDd» и «Platform Toolset» на «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.

Любые идеи относительно того, что мне может не хватать?

ответ

4

Вы тоже libcef.lib в вводе компоновщика?

+0

Probalby должен был поместить это в раздел комментариев –

+0

Правильно, однако мой комментарий слишком низок, чтобы комментировать – ioseph

Смежные вопросы