[webkit-dev] Issues with WebCore when building QTWebKit on Windows

Nicholas Elliott webkit at propheticsky.com
Mon Jan 28 10:03:18 PST 2008


Devs,

I've tried to follow the instructions for building QtWebKit on Windows 
on the wiki, but I'm consistently running into problems.  After 
stripping my PATH bare, upgrading to the latest ActivePerl, and editing 
some of the webkit build perl modules, I can coerce qmake into running 
and the build to start.  However, it doesn't get very far.

Initially, the perl script choked on making the Release build directory 
-- a simple fix of pre-creating the output directory solved that.   Then 
come a bunch of errors I can't figure out how to work around -- it seems 
like I don't have my directories or environment set up correctly?

(`perl WebKitTools\Script\build-webkit --qt`)
...
    Reading C:/src/WebKit/WebKit/WebCore/WebCore.pro 
[C:/src/WebKit/WebKit/WebKitBuild/Release//WebCore]
    c:\Qt\4.3.3\bin\rcc.exe: File does not exist 
'..\..\..\WebCore\page\inspector\WebKit.qrc'
    c:\Qt\4.3.3\bin\rcc.exe: File does not exist 
'..\..\..\WebCore\page\inspector\WebKit.qrc'

    And shortly...

    cl (...includes and stuff...) pcre_tables.cpp
    ..\..\..\JavaScriptCore\pcre\pcre_tables.cpp(71) : fatal error 
C1083: Cannot open include file: 'chartables.c': No such file or directory
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual 
Studio 8\VC\BIN\cl.EXE"' : return code '0x2'
    Stop.

Does anyone know what's going on, or a more concise set of steps I 
should be following?  All the 'missing' files are located in the source 
tree somewhere, it just seems that the various components are looking in 
the wrong place.

As a checklist, I checked the source out of SVN a couple days ago, I 
have the latest bison, gperf, flex, libiconv from GnuWin32, and qt 
4.3.3.  I'm building using msvc 2005.  Cygwin and Msys are both 
installed, but neither are on my PATH for this setup. ActivePerl 5.10 is 
installed.

Some of my relevant environment is included below if it helps.  Anyone 
have any ideas?

Thanks,

Nick Elliott

QTDIR=C:\Qt\4.3.3

PATH=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;C:\Program 
Files\Microsoft Visual Studio 8\VC\BIN;C:\Program Files\Microsoft Visual 
Studio 8\Common7
\Tools;C:\Program Files\Microsoft Visual Studio 
8\Common7\Tools\bin;C:\Program Files\Microsoft Visual Studio 
8\VC\PlatformSDK\bin;C:\Program Files\Microsoft Vis
ual Studio 
8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program 
Files\Microsoft Visual Studio 
8\VC\VCPackages;%PATH%;c:\sky\Tools\bin\GnuWin3
2;c:\sky\Tools\bin\GnuWin32;c:\sky\tools\perl\perl\bin;c:\windows;c:\windows\system32;;c:\sky\Tools\bin\GnuWin32;c:\sky\tools\perl\perl\bin;c:\qt\4.3.3\bin;c:\s
ky\Tools\bin\GnuWin32\bin

INCLUDE=C:\Program Files\Microsoft Visual Studio 
8\VC\ATLMFC\INCLUDE;C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE;C:\Program Files\Microsoft Visual Stu
dio 8\VC\PlatformSDK\include;C:\Program Files\Microsoft Visual Studio 
8\SDK\v2.0\include







More information about the webkit-dev mailing list