[WebKit] Build WebKit

1557阅读 0评论2011-12-27 web_surf
分类:C/C++

  1. Reference
    1. Installing the Developer Tools

    2. windows上webkit的编译过程

  2. Debug
    1. Installa Safari, and then copy all files under "C:\Program Files\Common Files\Apple\Apple Application Support" to binary directory of WebKit project, such as "D:\WebKit\WebKitBuild\Debug\bin"
    2. To verify the browser you built works, just to click "WinLauncher.exe" to see if a new browser is launched and a new url can be loaded (the url must contains schema, such as http://)
    3. Click D:\WebKit\Source\WebKit\win\WebKit.vcproj\WebKit.sln to open WebKit project, the project entry is "WinLauncher::_tWinMain", then you can debug WebKit step by step.
  3. Issue
    1. Issue:
      WebCore.lib(CSSParser.obj) : error LNK2019: unresolved external symbol "public: int __thiscall WebCore::CSSParser::lex(void)" (?lex@CSSParser@WebCore@@QAEHXZ) referenced in function "public: int __thiscall WebCore::CSSParser::lex(void *)" (?lex@CSSParser@WebCore@@QAEHPAX@Z)
      8>D:\WebKit\out\Debug\bin\WebKit.dll : fatal error LNK1120: 1 unresolved externals

      Solution:
      Install flex


上一篇:状态机:XML解析器 (ZT)
下一篇:[SE] 阅读代码的方法