[webkit-help] Build error on windows7

Adam Roben aroben at apple.com
Mon Jun 21 07:53:11 PDT 2010


In Jun 20, 2010, at 11:55 AM, sagar masuti wrote:

> I am bit confused as to what should I use in solution configuration I got these errors while i was using Debug_cairo but when i changed the solution configuration to Debug these errors vanished

"Debug" is what you want if you're following the instructions on webkit.org.

> i am getting following errors now : 
> 
> 3>LINK : warning LNK4044: unrecognized option '/dynamicbase'; ignored
> 3>   Creating library C:\cygwin\home\sagar\WebKit\WebKitBuild\lib\WebKit.lib and object C:\cygwin\home\sagar\WebKit\WebKitBuild\lib\WebKit.exp
> 3>WebCore_debug.lib(RenderLayer.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::exception::_Raise(void)const " (__imp_?_Raise at exception@std@@QBEXXZ) referenced in function "struct std::pair<class WebCore::RenderLayer * *,int> __cdecl std::get_temporary_buffer<class WebCore::RenderLayer *>(int)" (??$get_temporary_buffer at PAVRenderLayer@WebCore@@@std@@YA?AU?$pair at PAPAVRenderLayer@WebCore@@H at 0@H at Z)
> 3>WebCore_debug.lib(Gradient.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::exception::_Raise(void)const " (__imp_?_Raise at exception@std@@QBEXXZ)
> 3>WebCore_debug.lib(CSSFontSelector.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::exception::_Raise(void)const " (__imp_?_Raise at exception@std@@QBEXXZ)
> 3>WebCore_debug.lib(CSSGradientValue.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::exception::_Raise(void)const " (__imp_?_Raise at exception@std@@QBEXXZ)
> 3>WebCore_debug.lib(RenderLayer.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const *,int)" (__imp_??0exception at std@@QAE at PBDH@Z) referenced in function "public: __thiscall std::bad_alloc::bad_alloc(char const *)" (??0bad_alloc at std@@QAE at PBD@Z)
> 3>WebCore_debug.lib(Gradient.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const *,int)" (__imp_??0exception at std@@QAE at PBDH@Z)
> 3>WebCore_debug.lib(CSSFontSelector.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const *,int)" (__imp_??0exception at std@@QAE at PBDH@Z)
> 3>WebCore_debug.lib(CSSGradientValue.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const *,int)" (__imp_??0exception at std@@QAE at PBDH@Z)
> 3>WebCore_debug.lib(RenderLayer.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Throw(class std::exception const &)" (__imp_?_Throw at std@@YAXABVexception at 1@@Z) referenced in function "protected: virtual void __thiscall std::bad_alloc::_Doraise(void)const " (?_Doraise at bad_alloc@std@@MBEXXZ)
> 3>WebCore_debug.lib(Gradient.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Throw(class std::exception const &)" (__imp_?_Throw at std@@YAXABVexception at 1@@Z)
> 3>WebCore_debug.lib(CSSFontSelector.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Throw(class std::exception const &)" (__imp_?_Throw at std@@YAXABVexception at 1@@Z)
> 3>WebCore_debug.lib(CSSGradientValue.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Throw(class std::exception const &)" (__imp_?_Throw at std@@YAXABVexception at 1@@Z)
> 3>C:\cygwin\home\sagar\WebKit\WebKitBuild\bin\WebKit.dll : fatal error LNK1120: 3 unresolved externals

A little Googling shows that others have run into this problem. It may be due to conflicts between VS2005 and VS2008: <http://thread.gmane.org/gmane.os.opendarwin.webkit.devel/3474/focus=3511>.

> Also could u please suggest me what should be the start up project???

"WebKit" is normally what we choose. See <http://webkit.org/building/debug.html>.

-Adam

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20100621/8c22beec/attachment.html>


More information about the webkit-help mailing list