Hi,
I am building cefsimple debug x64 version based on branch 3729 on windows 10. In file src\out\Debug_GN_X64\args.gn, I've following defines:
clang_use_chrome_plugins=false
enable_basic_printing=true
enable_iterator_debugging=true
enable_nacl=false
enable_precompiled_headers=false
enable_print_preview=false
enable_widevine=true
ffmpeg_branding="Chrome"
is_component_build=false
is_debug=true
proprietary_codecs=true
target_cpu="x64"
use_jumbo_build=true
Note that I added enable_iterator_debugging=true as per your commit https://bitbucket.org/chromiumembedded/ ... ts/7aae02e
I consume the version of libcef_dll_wrapper.lib generated from above build inside my app. However, when I build my app in debug mode, it links with Debug_GN_X64 libcef_dll_wrapper.lib but I get lots of errors like :
libcef_dll_wrapper.lib(browser_view_ctocpp.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in MyCustom_app.obj
When my app is built in release mode, it consume release _gn_x64 version of libcef_dll_wrapper.lib and that works fine. But why am i getting an error for debug build?
Can you help? Do I need to add any flag to ensure debug_gn_x64 version of libcef_dll_wrapper.lib has ITERATOR_DEBUG_LEVEL = 2 ?
I verified that libcef_dll_wrapper.ninja has /MTd in CFLAGS and -D_DEBUG in defines. My custom player also uses /MTd flag with -D_DEBUG defines.
Thanks in advance.