You are missing references to Windows DLL files. I'd guess the gdiXX, userXX, and win_mmXX libs. Explicitly set them in the IDE.

See here: http://msdn.microsoft.com/en-us/library/ms633587%28VS.85%29.aspx

The WTF stuff comes from the ... WTF stuff in the Webkit source tree.

J.

On 01/06/2010 20:11, M V wrote:
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.

Thanks
M

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__sysstring...@4 referenced in function _JSStringCreateWithBSTR
JSStringRefBSTR.obj : error LNK2019: unresolved external symbol 
__imp__sysallocstring...@8 referenced in function _JSStringCopyBSTR
WTF_debug.lib(CurrentTime.obj) : error LNK2019: unresolved external symbol 
__imp__timeendper...@4 referenced in function "double __cdecl 
WTF::currentTime(void)" (?currentt...@wtf@@YANXZ)
WTF_debug.lib(CurrentTime.obj) : error LNK2019: unresolved external symbol 
__imp__timebeginper...@4 referenced in function "double __cdecl 
WTF::currentTime(void)" (?currentt...@wtf@@YANXZ)
WTF_debug.lib(MainThreadWin.obj) : error LNK2019: unresolved external symbol 
__imp__defwindowpr...@16 referenced in function "long __stdcall 
WTF::ThreadingWindowWndProc(struct HWND__ *,unsigned int,unsigned int,long)" 
(?threadingwindowwndp...@wtf@@YGJPAUHWND__@@i...@z)
WTF_debug.lib(MainThreadWin.obj) : error LNK2019: unresolved external symbol 
__imp__registerwindowmessa...@4 referenced in function "void __cdecl 
WTF::initializeMainThreadPlatform(void)" (?initializemainthreadplatf...@wtf@@YAXXZ)
WTF_debug.lib(MainThreadWin.obj) : error LNK2019: unresolved external symbol 
__imp__createwindow...@48 referenced in function "void __cdecl 
WTF::initializeMainThreadPlatform(void)" (?initializemainthreadplatf...@wtf@@YAXXZ)
WTF_debug.lib(MainThreadWin.obj) : error LNK2019: unresolved external symbol 
__imp__registerclass...@4 referenced in function "void __cdecl 
WTF::initializeMainThreadPlatform(void)" (?initializemainthreadplatf...@wtf@@YAXXZ)
WTF_debug.lib(MainThreadWin.obj) : error LNK2019: unresolved external symbol 
__imp__postmessa...@16 referenced in function "void __cdecl 
WTF::scheduleDispatchFunctionsOnMainThread(void)" 
(?scheduledispatchfunctionsonmainthr...@wtf@@YAXXZ)
WTF_debug.lib(OwnPtrWin.obj) : error LNK2019: unresolved external symbol 
__imp__deleteobj...@4 referenced in function "void __cdecl 
WTF::deleteOwnedPtr(struct HBITMAP__ *)" (?deleteowned...@wtf@@YAXPAUHBITMAP__@@@Z)
WTF_debug.lib(OwnPtrWin.obj) : error LNK2019: unresolved external symbol 
__imp__delet...@4 referenced in function "void __cdecl WTF::deleteOwnedPtr(struct 
HDC__ *)" (?deleteowned...@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)



_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Reply via email to