Hi
I've been building cef.sln using Visual Studio 2019 and have come across some regression issues.
In short 111 builds ok but 112 produces linker errors related to cef_sandbox.lib.
To be precise this one builds ok.
cef_binary_111.2.2+g1b83ff6+chromium-111.0.5563.65_windows64.tar.bz2
These (and others between them) do not.
cef_binary_112.3.0+gb09c4ca+chromium-112.0.5615.165_windows64.tar.bz2
cef_binary_114.0.4+gcbd0dfc+chromium-114.0.5735.9_windows64_beta.tar.bz2
The link errors are given below but ultimately it looks to me like perhaps some C++ stl changes were made in cefclient.lib which are out of kilter with the settings in cef.sln.
This is a starndard build using the current release of Visual Studio 2019 (16.11.26) with the most recent Windows SDKs (10.0.20358 & 10.0.22000.0).
The sln is made using "cmake -G "Visual Studio 16" -A x64 .." as per instructions.
The cmake output is essentially the same between 111 and 112 - I diffed it and there are two new Windows libs linked in but that's it.
Any thoughts?
All Best
Jos
4> Creating library ../build/tests/cefclient/Release/cefclient.lib and object ../build/tests/cefclient/Release/cefclient.exp
4>cef_sandbox.lib(string_piece.obj) : error LNK2019: unresolved external symbol __std_find_trivial_2 referenced in function "unsigned __int64 __cdecl base::internal::find_first_of(class base::BasicStringPiece<char16_t,struct std::char_traits<char16_t> >,class base::BasicStringPiece<char16_t,struct std::char_traits<char16_t> >,unsigned __int64)" (?find_first_of@internal@base@@YA_KV?$BasicStringPiece@_SU?$char_traits@_S@std@@@2@0_K@Z)
4>cef_sandbox.lib(registry.obj) : error LNK2001: unresolved external symbol __std_find_trivial_2
4>cef_sandbox.lib(thread_id_name_manager.obj) : error LNK2019: unresolved external symbol __std_find_trivial_8 referenced in function "public: void __cdecl base::ThreadIdNameManager::RemoveObserver(class base::ThreadIdNameManager::Observer *)" (?RemoveObserver@ThreadIdNameManager@base@@QEAAXPEAVObserver@12@@Z)
4>cef_sandbox.lib(field_trial.obj) : error LNK2001: unresolved external symbol __std_find_trivial_8
4>cef_sandbox.lib(sys_info_win.obj) : error LNK2019: unresolved external symbol __std_minmax_element_1 referenced in function "private: static int __cdecl base::SysInfo::NumberOfEfficientProcessorsImpl(void)" (?NumberOfEfficientProcessorsImpl@SysInfo@base@@CAHXZ)
4>cef_sandbox.lib(thread_group_impl.obj) : error LNK2019: unresolved external symbol __std_min_element_8 referenced in function "private: unsigned __int64 __cdecl base::internal::ThreadGroupImpl::GetDesiredNumAwakeWorkersLockRequired(void)const " (?GetDesiredNumAwakeWorkersLockRequired@ThreadGroupImpl@internal@base@@AEBA_KXZ)