On Jul 26, 2007, at 12:15 AM, Artem Ananiev wrote:

Hi, all,

I'm trying to build WebKit on Windows platform and getting some compilation errors like missing header files: pthread.h, unicode/ uchar.h and others - for example, when building JavaScriptCore sub- project.

When I manually open WebKit solution in VC++ 2005 Express and check JavaScriptCode properties, I see the following list of additional include directories:

"$(WebKitOutputDir)\obj\JavaScriptCore\$(ConfigurationName) \DerivedSources\"
../../
"../../os-win32/"
../../pcre/
../../kjs/
../../wtf/
"$(WebKitLibrariesDir)\include"
"$(WebKitLibrariesDir)\include\icu"
../../../icu/include
../../bindings
../../bindings/c
../../bindings/jni
"$(WebKitOutputDir)\include\JavaScriptCore"
"$(WebKitLibrariesDir)\include\pthreads"

In particular, pthreads.h, unicode/uchar.h, etc. are supposed to be in $(WebKitLibrariesDir) subdirs. This directory is generated by the perl script from the WebKitSupportLibrary.zip at the very beginning of the build process, before VCExpress.exe is launched. The problem is that WebKitSupportLibrary.zip archive *does not* contain the header files mentioned above.

Is it a known problem with WebKit? Should I download anything else to build WebKit on Windows?

The headers you mentioned are actually part of a separate zip file that update-webkit downloads and extracts for you. Did you run the update-webkit script like http://webkit.org/building/checkout.html says?

-Adam

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

Reply via email to