Build cefclient with vc 2005 express edition

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.

Build cefclient with vc 2005 express edition

Postby googol4u » Fri Dec 25, 2009 8:34 am

Thanks for developing CEF

I have remove plugin_test and clientplugin files and successfully compile
the cefclient in vc 2005 express edition. However, when linking, I got this error:

1>libcef_dll_wrapper.lib(read_handler_cpptoc.obj) : error LNK2001:
unresolved external symbol "void __cdecl std::_Throw(class
stdext::exception const &)" (?_Throw@std@@YAXABVexception@stdext@@@Z)
1>libcef_dll_wrapper.lib(handler_cpptoc.obj) : error LNK2001: unresolved
external symbol "void __cdecl std::_Throw(class stdext::exception const &)"
(?_Throw@std@@YAXABVexception@stdext@@@Z)
1>libcef_dll_wrapper.lib(transfer_util.obj) : error LNK2001: unresolved
external symbol "void __cdecl std::_Throw(class stdext::exception const &)"
(?_Throw@std@@YAXABVexception@stdext@@@Z)
1>libcef_dll_wrapper.lib(frame_ctocpp.obj) : error LNK2001: unresolved
external symbol "void __cdecl std::_Throw(class stdext::exception const &)"
(?_Throw@std@@YAXABVexception@stdext@@@Z)
1>libcef_dll_wrapper.lib(stream_writer_ctocpp.obj) : error LNK2001:
unresolved external symbol "void __cdecl std::_Throw(class
stdext::exception const &)" (?_Throw@std@@YAXABVexception@stdext@@@Z)
1>libcef_dll_wrapper.lib(write_handler_cpptoc.obj) : error LNK2001:
unresolved external symbol "void __cdecl std::_Throw(class
stdext::exception const &)" (?_Throw@std@@YAXABVexception@stdext@@@Z)
1>libcef_dll_wrapper.lib(scheme_handler_factory_cpptoc.obj) : error
LNK2001: unresolved external symbol "void __cdecl std::_Throw(class
stdext::exception const &)" (?_Throw@std@@YAXABVexception@stdext@@@Z)
1>libcef_dll_wrapper.lib(scheme_handler_cpptoc.obj) : error LNK2019:
unresolved external symbol "void __cdecl std::_Throw(class
stdext::exception const &)" (?_Throw@std@@YAXABVexception@stdext@@@Z)
referenced in function "int __stdcall scheme_handler_process_request(struct
_cef_scheme_handler_t *,struct _cef_request_t *,wchar_t * *,int *)" (?
scheme_handler_process_request@@YGHPAU_cef_scheme_handler_t@@PAU_cef_reques
t_t@@PAPA_WPAH@Z)
1>libcef_dll_wrapper.lib(request_ctocpp.obj) : error LNK2001: unresolved
external symbol "void __cdecl std::_Throw(class stdext::exception const &)"
(?_Throw@std@@YAXABVexception@stdext@@@Z)
1>libcef_dll_wrapper.lib(browser_ctocpp.obj) : error LNK2001: unresolved
external symbol "void __cdecl std::_Throw(class stdext::exception const &)"
(?_Throw@std@@YAXABVexception@stdext@@@Z)
1>libcef_dll_wrapper.lib(stream_reader_ctocpp.obj) : error LNK2001:
unresolved external symbol "void __cdecl std::_Throw(class
stdext::exception const &)" (?_Throw@std@@YAXABVexception@stdext@@@Z)
1>libcef_dll_wrapper.lib(v8handler_cpptoc.obj) : error LNK2001: unresolved
external symbol "void __cdecl std::_Throw(class stdext::exception const &)"
(?_Throw@std@@YAXABVexception@stdext@@@Z)
1>libcef_dll_wrapper.lib(v8value_ctocpp.obj) : error LNK2001: unresolved
external symbol "void __cdecl std::_Throw(class stdext::exception const &)"
(?_Throw@std@@YAXABVexception@stdext@@@Z)
1>libcef_dll_wrapper.lib(libcef_dll_wrapper.obj) : error LNK2001:
unresolved external symbol "void __cdecl std::_Throw(class
stdext::exception const &)" (?_Throw@std@@YAXABVexception@stdext@@@Z)
1>libcef_dll_wrapper.lib(post_data_ctocpp.obj) : error LNK2001: unresolved
external symbol "void __cdecl std::_Throw(class stdext::exception const &)"
(?_Throw@std@@YAXABVexception@stdext@@@Z)
1>libcef_dll_wrapper.lib(post_data_element_ctocpp.obj) : error LNK2001:
unresolved external symbol "void __cdecl std::_Throw(class
stdext::exception const &)" (?_Throw@std@@YAXABVexception@stdext@@@Z)
1>libcef_dll_wrapper.lib(read_handler_cpptoc.obj) : error LNK2001:
unresolved external symbol "void (__cdecl* std::_Raise_handler)(class
stdext::exception const &)" (?
_Raise_handler@std@@3P6AXABVexception@stdext@@@ZA)
1>libcef_dll_wrapper.lib(handler_cpptoc.obj) : error LNK2001: unresolved
external symbol "void (__cdecl* std::_Raise_handler)(class
stdext::exception const &)" (?
_Raise_handler@std@@3P6AXABVexception@stdext@@@ZA)
1>libcef_dll_wrapper.lib(transfer_util.obj) : error LNK2001: unresolved
external symbol "void (__cdecl* std::_Raise_handler)(class
stdext::exception const &)" (?
_Raise_handler@std@@3P6AXABVexception@stdext@@@ZA)
1>libcef_dll_wrapper.lib(frame_ctocpp.obj) : error LNK2001: unresolved
external symbol "void (__cdecl* std::_Raise_handler)(class
stdext::exception const &)" (?
_Raise_handler@std@@3P6AXABVexception@stdext@@@ZA)
1>libcef_dll_wrapper.lib(stream_writer_ctocpp.obj) : error LNK2001:
unresolved external symbol "void (__cdecl* std::_Raise_handler)(class
stdext::exception const &)" (?
_Raise_handler@std@@3P6AXABVexception@stdext@@@ZA)
1>libcef_dll_wrapper.lib(write_handler_cpptoc.obj) : error LNK2001:
unresolved external symbol "void (__cdecl* std::_Raise_handler)(class
stdext::exception const &)" (?
_Raise_handler@std@@3P6AXABVexception@stdext@@@ZA)
1>libcef_dll_wrapper.lib(scheme_handler_factory_cpptoc.obj) : error
LNK2001: unresolved external symbol "void (__cdecl*
std::_Raise_handler)(class stdext::exception const &)" (?
_Raise_handler@std@@3P6AXABVexception@stdext@@@ZA)
1>libcef_dll_wrapper.lib(scheme_handler_cpptoc.obj) : error LNK2001:
unresolved external symbol "void (__cdecl* std::_Raise_handler)(class
stdext::exception const &)" (?
_Raise_handler@std@@3P6AXABVexception@stdext@@@ZA)
1>libcef_dll_wrapper.lib(request_ctocpp.obj) : error LNK2019: unresolved
external symbol "void (__cdecl* std::_Raise_handler)(class
stdext::exception const &)" (?
_Raise_handler@std@@3P6AXABVexception@stdext@@@ZA) referenced in function
"public: virtual __thiscall CefThreadSafeBase<class
CefRequest>::~CefThreadSafeBase<class CefRequest>(void)" (??1?
$CefThreadSafeBase@VCefRequest@@@@UAE@XZ)
1>libcef_dll_wrapper.lib(browser_ctocpp.obj) : error LNK2001: unresolved
external symbol "void (__cdecl* std::_Raise_handler)(class
stdext::exception const &)" (?
_Raise_handler@std@@3P6AXABVexception@stdext@@@ZA)
1>libcef_dll_wrapper.lib(stream_reader_ctocpp.obj) : error LNK2001:
unresolved external symbol "void (__cdecl* std::_Raise_handler)(class
stdext::exception const &)" (?
_Raise_handler@std@@3P6AXABVexception@stdext@@@ZA)
1>libcef_dll_wrapper.lib(v8handler_cpptoc.obj) : error LNK2001: unresolved
external symbol "void (__cdecl* std::_Raise_handler)(class
stdext::exception const &)" (?
_Raise_handler@std@@3P6AXABVexception@stdext@@@ZA)
1>libcef_dll_wrapper.lib(v8value_ctocpp.obj) : error LNK2001: unresolved
external symbol "void (__cdecl* std::_Raise_handler)(class
stdext::exception const &)" (?
_Raise_handler@std@@3P6AXABVexception@stdext@@@ZA)
1>libcef_dll_wrapper.lib(libcef_dll_wrapper.obj) : error LNK2001:
unresolved external symbol "void (__cdecl* std::_Raise_handler)(class
stdext::exception const &)" (?
_Raise_handler@std@@3P6AXABVexception@stdext@@@ZA)
1>libcef_dll_wrapper.lib(post_data_ctocpp.obj) : error LNK2001: unresolved
external symbol "void (__cdecl* std::_Raise_handler)(class
stdext::exception const &)" (?
_Raise_handler@std@@3P6AXABVexception@stdext@@@ZA)
1>libcef_dll_wrapper.lib(post_data_element_ctocpp.obj) : error LNK2001:
unresolved external symbol "void (__cdecl* std::_Raise_handler)(class
stdext::exception const &)" (?
_Raise_handler@std@@3P6AXABVexception@stdext@@@ZA)

Is that I miss some library files?
googol4u
Newbie
 
Posts: 4
Joined: Fri Dec 25, 2009 8:33 am

Re: Build cefclient with vc 2005 express edition

Postby magreenblatt » Fri Dec 25, 2009 11:03 am

You probably need to build the libcef_dll_wrapper project using VC2005 express as well.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Build cefclient with vc 2005 express edition

Postby googol4u » Mon Dec 28, 2009 9:22 am

magreenblatt wrote:You probably need to build the libcef_dll_wrapper project using VC2005 express as well.


I use vc2005 (not express) and still get the same issue? is that I miss linking some c++ libraries?
googol4u
Newbie
 
Posts: 4
Joined: Fri Dec 25, 2009 8:33 am

Re: Build cefclient with vc 2005 express edition

Postby googol4u » Wed Mar 10, 2010 6:13 am

problem solved by update VS 2005 to SP1. Microsoft has move some STL class from std
namespace to stdext namespace. One of them is std::exception. This causes the above
issue.
googol4u
Newbie
 
Posts: 4
Joined: Fri Dec 25, 2009 8:33 am


Return to Support Forum

Who is online

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