LNK2019: Unresolved external symbol __imp_isspace

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

LNK2019: Unresolved external symbol __imp_isspace

Postby wersfd » Tue Dec 22, 2020 4:17 am

cef version:cef_binary_80.0.4+g74f7b0c+chromium-80.0.3987.122_windows64
cmake debug
Code: Select all
-- *** CEF CONFIGURATION SETTINGS ***
-- Generator:                    NMake Makefiles
-- Platform:                     Windows
-- Project architecture:         x86_64
-- Binary distribution root:     D:/doc/c++/cef_binary_80.0.4+g74f7b0c+chromium-80.0.3987.122_windows64
-- Visual Studio ATL support:    ON
-- CEF sandbox:                  Off
-- Standard libraries:           comctl32.lib;rpcrt4.lib;shlwapi.lib;ws2_32.lib
-- Compile defines:              __STDC_CONSTANT_MACROS;__STDC_FORMAT_MACROS;WIN32;_WIN32;_WINDOWS;UNICODE;_UNICODE;WINVER=0x0601;_WIN32_WINNT=0x601;NOMINMAX;WIN32_LEAN_AND_MEAN;_HAS_EXCEPTIONS=0;CEF_USE_ATL
-- Compile defines (Debug):     
-- Compile defines (Release):    NDEBUG;_NDEBUG
-- C compile flags:              /MP;/Gy;/GR-;/W4;/wd4100;/wd4127;/wd4244;/wd4481;/wd4512;/wd4701;/wd4702;/wd4996;/Zi
-- C compile flags (Debug):      /MDd;/RTC1;/Od
-- C compile flags (Release):    /MD;/O2;/Ob2;/GF
-- C++ compile flags:            /MP;/Gy;/GR-;/W4;/wd4100;/wd4127;/wd4244;/wd4481;/wd4512;/wd4701;/wd4702;/wd4996;/Zi
-- C++ compile flags (Debug):    /MDd;/RTC1;/Od
-- C++ compile flags (Release):  /MD;/O2;/Ob2;/GF
-- Exe link flags:                /MANIFEST:NO;/LARGEADDRESSAWARE
-- Exe link flags (Debug):       
-- Exe link flags (Release):     
-- Shared link flags:             
-- Shared link flags (Debug):     
-- Shared link flags (Release):   
-- CEF Binary files:             chrome_elf.dll;d3dcompiler_47.dll;libcef.dll;libEGL.dll;libGLESv2.dll;snapshot_blob.bin;v8_context_snapshot.bin;swiftshader
-- CEF Resource files:           cef.pak;cef_100_percent.pak;cef_200_percent.pak;cef_extensions.pak;devtools_resources.pak;icudtl.dat;locales


cmake release
Code: Select all
-- *** CEF CONFIGURATION SETTINGS ***
-- Generator:                    NMake Makefiles
-- Platform:                     Windows
-- Project architecture:         x86_64
-- Binary distribution root:     D:/doc/c++/cef_binary_80.0.4+g74f7b0c+chromium-80.0.3987.122_windows64
-- Visual Studio ATL support:    ON
-- CEF sandbox:                  Off
-- Standard libraries:           comctl32.lib;rpcrt4.lib;shlwapi.lib;ws2_32.lib
-- Compile defines:              __STDC_CONSTANT_MACROS;__STDC_FORMAT_MACROS;WIN32;_WIN32;_WINDOWS;UNICODE;_UNICODE;WINVER=0x0601;_WIN32_WINNT=0x601;NOMINMAX;WIN32_LEAN_AND_MEAN;_HAS_EXCEPTIONS=0;CEF_USE_ATL
-- Compile defines (Debug):     
-- Compile defines (Release):    NDEBUG;_NDEBUG
-- C compile flags:              /MP;/Gy;/GR-;/W4;/wd4100;/wd4127;/wd4244;/wd4481;/wd4512;/wd4701;/wd4702;/wd4996;/Zi
-- C compile flags (Debug):      /MDd;/RTC1;/Od
-- C compile flags (Release):    /MD;/O2;/Ob2;/GF
-- C++ compile flags:            /MP;/Gy;/GR-;/W4;/wd4100;/wd4127;/wd4244;/wd4481;/wd4512;/wd4701;/wd4702;/wd4996;/Zi
-- C++ compile flags (Debug):    /MDd;/RTC1;/Od
-- C++ compile flags (Release):  /MD;/O2;/Ob2;/GF
-- Exe link flags:                /MANIFEST:NO;/LARGEADDRESSAWARE
-- Exe link flags (Debug):       
-- Exe link flags (Release):     
-- Shared link flags:             
-- Shared link flags (Debug):     
-- Shared link flags (Release):   
-- CEF Binary files:             chrome_elf.dll;d3dcompiler_47.dll;libcef.dll;libEGL.dll;libGLESv2.dll;snapshot_blob.bin;v8_context_snapshot.bin;swiftshader
-- CEF Resource files:           cef.pak;cef_100_percent.pak;cef_200_percent.pak;cef_extensions.pak;devtools_resources.pak;icudtl.dat;locales


build cef in my qt application got these errors


qt version 5.12.9 msvc2017

debug errors
Code: Select all
libcef_dll_wrapper.lib(print_dialog_callback_ctocpp.cc.obj):-1: error: LNK2001:  Unresolved external symbol__imp__CrtDbgReport





release errors

Code: Select all
libcef_dll_wrapper.lib(cef_logging.cc.obj):-1: error: LNK2019: 无法解析的外部符号 __imp_isspace,该符号在函数 "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl cef::logging::SystemErrorCodeToString(unsigned long)" (?SystemErrorCodeToString@logging@cef@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@K@Z) 中被引用
wersfd
Newbie
 
Posts: 2
Joined: Mon May 04, 2020 11:41 pm

Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 32 guests