[webkit-help] Need help linking webkit (javascriptcore)

M V minnie_vaidya at yahoo.com
Tue Jun 1 12:11:55 PDT 2010


I am trying to build webkit on vista 64 bit with Visual C++ 2005 express edition and Windows SDK for vista. I'm getting linking errors for 11 symbols which are part of various libraries oleaut32.lib, winmm.lib etc when building javacore. I have included the folder having the libraries in the Projects and Solutions -> VC++ directories-> Lib files. I have also modified corewin_express.vsprops file to include the additional dependencies and have these library files listed there, but am still unable to link. I even tried to add them under Project Properties->linker->input->additional dependencies but had no luck.
I'm attaching the build log from javascriptcore here. I get the same errors whether I build from cygwin or visual c++ 2005 express edition.
Any help is much appreciated.
ThanksM
Performing Pre-Build Event.../usr/bin/bash
Performing Pre-Link Event...
Linking...
   Creating library C:\cygwin\home\mins\Webkit\WebKitBuild\lib\JavaScriptCore.lib and object C:\cygwin\home\mins\Webkit\WebKitBuild\lib\JavaScriptCore.exp
JSStringRefBSTR.obj : error LNK2019: unresolved external symbol __imp__SysStringLen at 4 referenced in function _JSStringCreateWithBSTR
JSStringRefBSTR.obj : error LNK2019: unresolved external symbol __imp__SysAllocStringLen at 8 referenced in function _JSStringCopyBSTR
WTF_debug.lib(CurrentTime.obj) : error LNK2019: unresolved external symbol __imp__timeEndPeriod at 4 referenced in function "double __cdecl WTF::currentTime(void)" (?currentTime at WTF@@YANXZ)
WTF_debug.lib(CurrentTime.obj) : error LNK2019: unresolved external symbol __imp__timeBeginPeriod at 4 referenced in function "double __cdecl WTF::currentTime(void)" (?currentTime at WTF@@YANXZ)
WTF_debug.lib(MainThreadWin.obj) : error LNK2019: unresolved external symbol __imp__DefWindowProcW at 16 referenced in function "long __stdcall WTF::ThreadingWindowWndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?ThreadingWindowWndProc at WTF@@YGJPAUHWND__@@IIJ at Z)
WTF_debug.lib(MainThreadWin.obj) : error LNK2019: unresolved external symbol __imp__RegisterWindowMessageW at 4 referenced in function "void __cdecl WTF::initializeMainThreadPlatform(void)" (?initializeMainThreadPlatform at WTF@@YAXXZ)
WTF_debug.lib(MainThreadWin.obj) : error LNK2019: unresolved external symbol __imp__CreateWindowExW at 48 referenced in function "void __cdecl WTF::initializeMainThreadPlatform(void)" (?initializeMainThreadPlatform at WTF@@YAXXZ)
WTF_debug.lib(MainThreadWin.obj) : error LNK2019: unresolved external symbol __imp__RegisterClassExW at 4 referenced in function "void __cdecl WTF::initializeMainThreadPlatform(void)" (?initializeMainThreadPlatform at WTF@@YAXXZ)
WTF_debug.lib(MainThreadWin.obj) : error LNK2019: unresolved external symbol __imp__PostMessageW at 16 referenced in function "void __cdecl WTF::scheduleDispatchFunctionsOnMainThread(void)" (?scheduleDispatchFunctionsOnMainThread at WTF@@YAXXZ)
WTF_debug.lib(OwnPtrWin.obj) : error LNK2019: unresolved external symbol __imp__DeleteObject at 4 referenced in function "void __cdecl WTF::deleteOwnedPtr(struct HBITMAP__ *)" (?deleteOwnedPtr at WTF@@YAXPAUHBITMAP__@@@Z)
WTF_debug.lib(OwnPtrWin.obj) : error LNK2019: unresolved external symbol __imp__DeleteDC at 4 referenced in function "void __cdecl WTF::deleteOwnedPtr(struct HDC__ *)" (?deleteOwnedPtr at WTF@@YAXPAUHDC__@@@Z)
C:\cygwin\home\mins\Webkit\WebKitBuild\bin\JavaScriptCore.dll : fatal error LNK1120: 11 unresolved externals
Project : warning PRJ0018 : The following environment variables were not found:
$(PRODUCTION)



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


More information about the webkit-help mailing list