Below is the error message:
The error LNK2019: cannot resolve the external symbol of "__declspec (dllimport) bool __cdecl STD: : uncaught_exception (void)" (__imp_? Uncaught_exception @ STD @ @ YA_NXZ), the symbol in the function "public: __thiscall STD: : basic_ostream & lt; Char, struct STD: : char_traits & lt; char> : : sentry: : ~ sentry (void) "(?????? 1 sentry @? $basic_ostream @ DU? @ STD @ @ @ $char_traits @ D STD @ @ QAE @ XZ) referenced
1> E: \ cppfile \ CEFDemo \ Debug \ CEFDemo exe: fatal error LNK1120: one cannot resolve the external command
Can repay some warning:
Warning LNK4217: local symbols defined? Flush @? $basic_ostream @ DU? @ STD @ @ @ $char_traits @ D STD @ @ QAEAAV12 @ XZ (public: class STD: : basic_ostream & lt; Char, struct STD: : char_traits & lt; char> & __thiscall STD: : basic_ostream & lt; Char, struct STD: : char_traits & lt; char> : : flush (void)) in the function "public: __thiscall STD: : basic_ostream & lt; Char, struct STD: : char_traits & lt; char> : : sentry: : sentry (class STD: : basic_ostream & lt; Char, struct STD: : char_traits & lt; char> & amp;) "(?????? 0 sentry @? $basic_ostream @ DU? @ STD @ @ @ $char_traits @ D STD @ @ QAE @ AAV12 @ @ Z) import
1> CefBrowserEventHandler. Obj: warning LNK4217: local symbols defined? Tie @? $basic_ios @ DU? @ $char_traits @ D STD @ @ @ STD @ @ QBEPAV? $basic_ostream @ DU? @ $char_traits @ D STD @ @ @ @ 2 XZ (public: class STD: : basic_ostream & lt; Char, struct STD: : char_traits & lt; char> * __thiscall STD: : basic_ios & lt; Char, struct STD: : char_traits & lt; char> : : tie (void) const) in the function "public: __thiscall STD: : basic_ostream & lt; Char, struct STD: : char_traits & lt; char> : : sentry: : sentry (class STD: : basic_ostream & lt; Char, struct STD: : char_traits & lt; char> & amp;) "(?????? 0 sentry @? $basic_ostream @ DU? @ STD @ @ @ $char_traits @ D STD @ @ QAE @ AAV12 @ @ Z) import
1> CefBrowserEventHandler. Obj: warning LNK4217: local symbols defined? Good @ ios_base @ STD @ @ QBE_NXZ (public: bool __thiscall STD: : ios_base: : good (void) const) in the function "public: __thiscall STD: : basic_ostream & lt; Char, struct STD: : char_traits & lt; char> : : sentry: : sentry (class STD: : basic_ostream & lt; Char, struct STD: : char_traits & lt; char> & amp;) "(?????? 0 sentry @? $basic_ostream @ DU? @ STD @ @ @ $char_traits @ D STD @ @ QAE @ AAV12 @ @ Z) import
1> CefBrowserEventHandler. Obj: warning LNK4217: local symbols defined? _Osfx @? $basic_ostream @ DU? @ STD @ @ @ $char_traits @ D STD @ @ QAEXXZ (public: void __thiscall STD: : basic_ostream & lt; Char, struct STD: : char_traits & lt; char> : : _Osfx (void)) in the function "public: __thiscall STD: : basic_ostream & lt; Char, struct STD: : char_traits & lt; char> : : sentry: : ~ sentry (void) "(?????? 1 sentry @? $basic_ostream @ DU? @ STD @ @ @ $char_traits @ D STD @ @ QAE @ XZ) import
1> CefBrowserEventHandler. Obj: warning LNK4217: local symbols defined?? 0? $basic_streambuf @ DU? @ STD @ @ @ $char_traits @ D STD @ @ IAE @ XZ (protected: __thiscall STD: : basic_streambuf & lt; Char, struct STD: : char_traits & lt; char> : : basic_streambuf & lt; Char, struct STD: : char_traits & lt; char> (void)) in the function of "public: __thiscall STD: : basic_stringbuf & lt; Char, struct STD: : char_traits & lt; char> Class, STD: : allocator
CodePudding user response:
Cef is same version vs compilation, lib library have introduced project