HrLoadAllImportsForDll link error

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.

HrLoadAllImportsForDll link error

Postby Astaroth » Thu Jan 02, 2020 7:39 pm

I'm using CEF 79.0.10 with libcef_wrapper.dll with Windows 10 and Visual Studio 2019.

I'm seeing similar problems to this bug which was supposed to have been resolved: https://bitbucket.org/chromiumembedded/ ... ng-to-link

When I build the release configuration of my EXE, I get

3>cef_sandbox.lib(pe_image.obj) : error LNK2001: unresolved external symbol ___HrLoadAllImportsForDll@4

When I build the debug configuration of my EXE, I get

2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::_Is_integral<bool>" (??$_Is_integral@_N@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::_Is_integral<char>" (??$_Is_integral@D@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::_Is_integral<signed char>" (??$_Is_integral@C@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::_Is_integral<unsigned char>" (??$_Is_integral@E@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::_Is_integral<wchar_t>" (??$_Is_integral@_W@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::_Is_integral<char16_t>" (??$_Is_integral@_S@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::_Is_integral<char32_t>" (??$_Is_integral@_U@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::_Is_integral<short>" (??$_Is_integral@F@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::_Is_integral<unsigned short>" (??$_Is_integral@G@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::_Is_integral<int>" (??$_Is_integral@H@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::_Is_integral<unsigned int>" (??$_Is_integral@I@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::_Is_integral<long>" (??$_Is_integral@J@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::_Is_integral<unsigned long>" (??$_Is_integral@K@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::_Is_integral<__int64>" (??$_Is_integral@_J@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::_Is_integral<unsigned __int64>" (??$_Is_integral@_K@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::_Is_floating_point<float>" (??$_Is_floating_point@M@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::_Is_floating_point<double>" (??$_Is_floating_point@N@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::_Is_floating_point<long double>" (??$_Is_floating_point@O@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::is_void_v<void>" (??$is_void_v@X@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::is_void_v<void const >" (??$is_void_v@$$CBX@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::is_void_v<void volatile >" (??$is_void_v@$$CCX@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(double-to-string.obj) : error LNK2005: "bool const std::is_void_v<void const volatile >" (??$is_void_v@$$CDX@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::_Is_integral<bool>" (??$_Is_integral@_N@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::_Is_integral<char>" (??$_Is_integral@D@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::_Is_integral<signed char>" (??$_Is_integral@C@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::_Is_integral<unsigned char>" (??$_Is_integral@E@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::_Is_integral<wchar_t>" (??$_Is_integral@_W@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::_Is_integral<char16_t>" (??$_Is_integral@_S@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::_Is_integral<char32_t>" (??$_Is_integral@_U@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::_Is_integral<short>" (??$_Is_integral@F@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::_Is_integral<unsigned short>" (??$_Is_integral@G@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::_Is_integral<int>" (??$_Is_integral@H@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::_Is_integral<unsigned int>" (??$_Is_integral@I@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::_Is_integral<long>" (??$_Is_integral@J@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::_Is_integral<unsigned long>" (??$_Is_integral@K@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::_Is_integral<__int64>" (??$_Is_integral@_J@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::_Is_integral<unsigned __int64>" (??$_Is_integral@_K@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::_Is_floating_point<float>" (??$_Is_floating_point@M@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::_Is_floating_point<double>" (??$_Is_floating_point@N@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::_Is_floating_point<long double>" (??$_Is_floating_point@O@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::is_void_v<void>" (??$is_void_v@X@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::is_void_v<void const >" (??$is_void_v@$$CBX@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::is_void_v<void volatile >" (??$is_void_v@$$CCX@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(string-to-double.obj) : error LNK2005: "bool const std::is_void_v<void const volatile >" (??$is_void_v@$$CDX@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(fixed-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<bool>" (??$_Is_integral@_N@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(fixed-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<char>" (??$_Is_integral@D@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(fixed-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<signed char>" (??$_Is_integral@C@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(fixed-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<unsigned char>" (??$_Is_integral@E@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(fixed-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<wchar_t>" (??$_Is_integral@_W@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(fixed-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<char16_t>" (??$_Is_integral@_S@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(fixed-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<char32_t>" (??$_Is_integral@_U@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(fixed-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<short>" (??$_Is_integral@F@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(fixed-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<unsigned short>" (??$_Is_integral@G@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(fixed-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<int>" (??$_Is_integral@H@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(fixed-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<unsigned int>" (??$_Is_integral@I@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(fixed-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<long>" (??$_Is_integral@J@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(fixed-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<unsigned long>" (??$_Is_integral@K@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(fixed-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<__int64>" (??$_Is_integral@_J@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(fixed-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<unsigned __int64>" (??$_Is_integral@_K@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(fixed-dtoa.obj) : error LNK2005: "bool const std::_Is_floating_point<float>" (??$_Is_floating_point@M@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(fixed-dtoa.obj) : error LNK2005: "bool const std::_Is_floating_point<double>" (??$_Is_floating_point@N@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(fixed-dtoa.obj) : error LNK2005: "bool const std::_Is_floating_point<long double>" (??$_Is_floating_point@O@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<bool>" (??$_Is_integral@_N@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<char>" (??$_Is_integral@D@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<signed char>" (??$_Is_integral@C@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<unsigned char>" (??$_Is_integral@E@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<wchar_t>" (??$_Is_integral@_W@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<char16_t>" (??$_Is_integral@_S@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<char32_t>" (??$_Is_integral@_U@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<short>" (??$_Is_integral@F@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<unsigned short>" (??$_Is_integral@G@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<int>" (??$_Is_integral@H@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<unsigned int>" (??$_Is_integral@I@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<long>" (??$_Is_integral@J@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<unsigned long>" (??$_Is_integral@K@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<__int64>" (??$_Is_integral@_J@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum-dtoa.obj) : error LNK2005: "bool const std::_Is_integral<unsigned __int64>" (??$_Is_integral@_K@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum-dtoa.obj) : error LNK2005: "bool const std::_Is_floating_point<float>" (??$_Is_floating_point@M@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum-dtoa.obj) : error LNK2005: "bool const std::_Is_floating_point<double>" (??$_Is_floating_point@N@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum-dtoa.obj) : error LNK2005: "bool const std::_Is_floating_point<long double>" (??$_Is_floating_point@O@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(cached-powers.obj) : error LNK2005: "bool const std::_Is_integral<bool>" (??$_Is_integral@_N@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(cached-powers.obj) : error LNK2005: "bool const std::_Is_integral<char>" (??$_Is_integral@D@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(cached-powers.obj) : error LNK2005: "bool const std::_Is_integral<signed char>" (??$_Is_integral@C@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(cached-powers.obj) : error LNK2005: "bool const std::_Is_integral<unsigned char>" (??$_Is_integral@E@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(cached-powers.obj) : error LNK2005: "bool const std::_Is_integral<wchar_t>" (??$_Is_integral@_W@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(cached-powers.obj) : error LNK2005: "bool const std::_Is_integral<char16_t>" (??$_Is_integral@_S@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(cached-powers.obj) : error LNK2005: "bool const std::_Is_integral<char32_t>" (??$_Is_integral@_U@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(cached-powers.obj) : error LNK2005: "bool const std::_Is_integral<short>" (??$_Is_integral@F@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(cached-powers.obj) : error LNK2005: "bool const std::_Is_integral<unsigned short>" (??$_Is_integral@G@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(cached-powers.obj) : error LNK2005: "bool const std::_Is_integral<int>" (??$_Is_integral@H@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(cached-powers.obj) : error LNK2005: "bool const std::_Is_integral<unsigned int>" (??$_Is_integral@I@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(cached-powers.obj) : error LNK2005: "bool const std::_Is_integral<long>" (??$_Is_integral@J@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(cached-powers.obj) : error LNK2005: "bool const std::_Is_integral<unsigned long>" (??$_Is_integral@K@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(cached-powers.obj) : error LNK2005: "bool const std::_Is_integral<__int64>" (??$_Is_integral@_J@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(cached-powers.obj) : error LNK2005: "bool const std::_Is_integral<unsigned __int64>" (??$_Is_integral@_K@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(cached-powers.obj) : error LNK2005: "bool const std::_Is_floating_point<float>" (??$_Is_floating_point@M@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(cached-powers.obj) : error LNK2005: "bool const std::_Is_floating_point<double>" (??$_Is_floating_point@N@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(cached-powers.obj) : error LNK2005: "bool const std::_Is_floating_point<long double>" (??$_Is_floating_point@O@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::_Is_integral<bool>" (??$_Is_integral@_N@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::_Is_integral<char>" (??$_Is_integral@D@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::_Is_integral<signed char>" (??$_Is_integral@C@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::_Is_integral<unsigned char>" (??$_Is_integral@E@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::_Is_integral<wchar_t>" (??$_Is_integral@_W@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::_Is_integral<char16_t>" (??$_Is_integral@_S@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::_Is_integral<char32_t>" (??$_Is_integral@_U@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::_Is_integral<short>" (??$_Is_integral@F@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::_Is_integral<unsigned short>" (??$_Is_integral@G@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::_Is_integral<int>" (??$_Is_integral@H@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::_Is_integral<unsigned int>" (??$_Is_integral@I@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::_Is_integral<long>" (??$_Is_integral@J@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::_Is_integral<unsigned long>" (??$_Is_integral@K@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::_Is_integral<__int64>" (??$_Is_integral@_J@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::_Is_integral<unsigned __int64>" (??$_Is_integral@_K@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::_Is_floating_point<float>" (??$_Is_floating_point@M@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::_Is_floating_point<double>" (??$_Is_floating_point@N@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::_Is_floating_point<long double>" (??$_Is_floating_point@O@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::is_void_v<void>" (??$is_void_v@X@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::is_void_v<void const >" (??$is_void_v@$$CBX@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::is_void_v<void volatile >" (??$is_void_v@$$CCX@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(bignum.obj) : error LNK2005: "bool const std::is_void_v<void const volatile >" (??$is_void_v@$$CDX@std@@3_NB) already defined in cef_sandbox.lib(sandbox_win.obj)
2>cef_sandbox.lib(pe_image.obj) : error LNK2019: unresolved external symbol ___HrLoadAllImportsForDll@4 referenced in function "public: bool __thiscall base::win::PEImage::EnumDelayImportChunks(bool (__cdecl*)(class base::win::PEImage const &,struct ImgDelayDescr *,char const *,struct _IMAGE_THUNK_DATA32 *,struct _IMAGE_THUNK_DATA32 *,void *),void *,char const *)const " (?EnumDelayImportChunks@PEImage@win@base@@QBE_NP6A_NABV123@PAUImgDelayDescr@@PBDPAU_IMAGE_THUNK_DATA32@@3PAX@Z42@Z)

Any ideas?
Astaroth
Techie
 
Posts: 35
Joined: Tue Apr 23, 2019 6:23 pm

Re: HrLoadAllImportsForDll link error

Postby Astaroth » Thu Jan 02, 2020 7:45 pm

When I link delayimp.lib, the HrLoadAllImportsForDll link error goes away.
It looks like this is a new requirement with CEF.

I am still bothered by the _Is_integral and _Is_floating_point conflicts. Using the Visual Studio linker option /FORCE:MULTIPLE (https://docs.microsoft.com/en-us/cpp/bu ... ew=vs-2019) seems to work around the problem, but it's not a pleasant solution.
Astaroth
Techie
 
Posts: 35
Joined: Tue Apr 23, 2019 6:23 pm

Re: HrLoadAllImportsForDll link error

Postby magreenblatt » Fri Jan 03, 2020 3:59 am

magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

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