[Webkit-unassigned] [Bug 40038] Build fixes for VS Express 2005

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 2 13:42:41 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=40038





--- Comment #7 from Tony Gentilcore <tonyg at chromium.org>  2010-06-02 13:42:41 PST ---
(In reply to comment #3)
> (From update of attachment 57616 [details])
> Do you know why are these changes needed for VS Express 2005 (when other versions of VS compile the files fine)?

I don't know how it could link without these DLLs unless other versions of VS somehow have an additional mechanism by which the dependencies are inherited.

Here is how I came about this patch...

$ build-webkit
WinLauncher/Release/BuildLog.htm:
PrintWebUIDelegate.obj : error LNK2001: unresolved external symbol __imp__GetDeviceCaps at 8
PrintWebUIDelegate.obj : error LNK2001: unresolved external symbol __imp__GetTextMetricsW at 8
PrintWebUIDelegate.obj : error LNK2001: unresolved external symbol __imp__GetStockObject at 4
PrintWebUIDelegate.obj : error LNK2001: unresolved external symbol __imp__SelectObject at 8
PrintWebUIDelegate.obj : error LNK2001: unresolved external symbol __imp__MoveToEx at 16
PrintWebUIDelegate.obj : error LNK2001: unresolved external symbol __imp__LineTo at 12
WinLauncher.obj : error LNK2001: unresolved external symbol __imp__PrintDlgW at 4
WinLauncher.obj : error LNK2001: unresolved external symbol __imp__SetAbortProc at 8
WinLauncher.obj : error LNK2001: unresolved external symbol __imp__StartDocW at 8
WinLauncher.obj : error LNK2001: unresolved external symbol __imp__StartPage at 4
WinLauncher.obj : error LNK2001: unresolved external symbol __imp__EndPage at 4
WinLauncher.obj : error LNK2001: unresolved external symbol __imp__EndDoc at 4
WinLauncher.obj : error LNK2001: unresolved external symbol __imp__DeleteDC at 4


*Add gdi32.lib*
$ build-webkit
WinLauncher/Release/BuildLog.htm:
WinLauncher.obj : error LNK2001: unresolved external symbol __imp__PrintDlgW at 4


*Add comdlg32.lib*
$ build-webkit
WebKitAPITest/Debug/BuildLog.htm:
HostWindow.obj : error LNK2019: unresolved external symbol __imp__CreateWindowExW at 48 referenced in function "public: bool __thiscall WebKitAPITest::HostWindow::initialize(void)" (?initialize at HostWindow@WebKitAPITest@@QAE_NXZ)
TestsController.obj : error LNK2001: unresolved external symbol __imp__CreateWindowExW at 48
HostWindow.obj : error LNK2019: unresolved external symbol __imp__DestroyWindow at 4 referenced in function "public: __thiscall WebKitAPITest::HostWindow::~HostWindow(void)" (??1HostWindow at WebKitAPITest@@QAE at XZ)
WebViewDestruction.obj : error LNK2001: unresolved external symbol __imp__DestroyWindow at 4
HostWindow.obj : error LNK2019: unresolved external symbol __imp__IsWindow at 4 referenced in function "public: __thiscall WebKitAPITest::HostWindow::~HostWindow(void)" (??1HostWindow at WebKitAPITest@@QAE at XZ)
WebViewDestruction.obj : error LNK2001: unresolved external symbol __imp__IsWindow at 4
HostWindow.obj : error LNK2019: unresolved external symbol __imp__GetClientRect at 8 referenced in function "public: struct tagRECT __thiscall WebKitAPITest::HostWindow::clientRect(void)const " (?clientRect at HostWindow@WebKitAPITest@@QBE?AUtagRECT@@XZ)
HostWindow.obj : error LNK2019: unresolved external symbol __imp__RegisterClassExW at 4 referenced in function "private: static void __cdecl WebKitAPITest::HostWindow::registerWindowClass(void)" (?registerWindowClass at HostWindow@WebKitAPITest@@CAXXZ)
TestsController.obj : error LNK2001: unresolved external symbol __imp__RegisterClassExW at 4
HostWindow.obj : error LNK2019: unresolved external symbol __imp__LoadCursorW at 8 referenced in function "private: static void __cdecl WebKitAPITest::HostWindow::registerWindowClass(void)" (?registerWindowClass at HostWindow@WebKitAPITest@@CAXXZ)
TestsController.obj : error LNK2001: unresolved external symbol __imp__LoadCursorW at 8
HostWindow.obj : error LNK2019: unresolved external symbol __imp__DefWindowProcW at 16 referenced in function "private: static long __stdcall WebKitAPITest::HostWindow::wndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?wndProc at HostWindow@WebKitAPITest@@CGJPAUHWND__@@IIJ at Z)
TestsController.obj : error LNK2001: unresolved external symbol __imp__DefWindowProcW at 16
main.obj : error LNK2019: unresolved external symbol __imp__OleInitialize at 4 referenced in function _main
TestsController.obj : error LNK2019: unresolved external symbol __imp__DispatchMessageW at 4 referenced in function "public: bool __thiscall WebKitAPITest::TestsController::runAllTests(void)" (?runAllTests at TestsController@WebKitAPITest@@QAE_NXZ)
WebViewDestruction.obj : error LNK2001: unresolved external symbol __imp__DispatchMessageW at 4
TestsController.obj : error LNK2019: unresolved external symbol __imp__TranslateMessage at 4 referenced in function "public: bool __thiscall WebKitAPITest::TestsController::runAllTests(void)" (?runAllTests at TestsController@WebKitAPITest@@QAE_NXZ)
WebViewDestruction.obj : error LNK2001: unresolved external symbol __imp__TranslateMessage at 4
TestsController.obj : error LNK2019: unresolved external symbol __imp__GetMessageW at 16 referenced in function "public: bool __thiscall WebKitAPITest::TestsController::runAllTests(void)" (?runAllTests at TestsController@WebKitAPITest@@QAE_NXZ)
TestsController.obj : error LNK2019: unresolved external symbol __imp__PostQuitMessage at 4 referenced in function "private: void __thiscall WebKitAPITest::TestsController::runNextTest(void)" (?runNextTest at TestsController@WebKitAPITest@@AAEXXZ)
TestsController.obj : error LNK2019: unresolved external symbol __imp__SetTimer at 16 referenced in function "private: void __thiscall WebKitAPITest::TestsController::runNextTestSoon(void)" (?runNextTestSoon at TestsController@WebKitAPITest@@AAEXXZ)
TestsController.obj : error LNK2019: unresolved external symbol __imp__KillTimer at 8 referenced in function "private: static long __stdcall WebKitAPITest::TestsController::wndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?wndProc at TestsController@WebKitAPITest@@CGJPAUHWND__@@IIJ at Z)
WebViewDestruction.obj : error LNK2019: unresolved external symbol __imp__PeekMessageW at 20 referenced in function "void __cdecl WebKitAPITest::runMessagePump(unsigned long)" (?runMessagePump at WebKitAPITest@@YAXK at Z)


*Add user32.lib*
$ build-webkit
WebKitAPITest/Debug/BuildLog.htm:
main.obj : error LNK2019: unresolved external symbol __imp__OleInitialize at 4 referenced in function _main


*Add ole32.lib*
$ build-webkit
*WebKit is now built*

> 
> Ideally the ChangeLog would tell me.

I updated the ChangeLog to include the linker errors. Please let me know if it is too verbose or if you'd like to see any other tweaks.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list