[webkit-help] Errors building unmodified trunk on Windows
rmolden at microsoft.com
Tue Jan 20 10:35:09 PST 2015
Hello, I am trying to get Webkit trunk to build on Windows (using Visual Studio 2013) and running into a few problems.
1: I used Git to grab the sources tree, but some parts of the build process, specifically autoversion.pl, seem to assume I used svn, as it does things like svn info (which fails with svn: E155007: '/home/rmolden/WebKit' is not a working copy) to initialize SVN_VERSION and then ends up with
Use of uninitialized value $SVN_REVISION in scalar chomp at c:\cygwin\home\rmolden\WebKit\WebKitLibraries\win\tools\scripts\auto-version.pl line 86.
Use of uninitialized value $SVN_REVISION in concatenation (.) or string at c:\cygwin\home\rmolden\WebKit\WebKitLibraries\win\tools\scripts\auto-version.pl line90.
The build then seems to fail because the cmd shell exits with code 1 (which msbuild seems to interpret as failure). Is there any way to get the build working if I used Git to enlist instead of SVN? Or should I just re-enlist using SVN? Or is it failing due to other (unclear) reasons and this is just an innocuous warning?
2: I am getting
Error 1 error C3646: '__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_7' : unknown override specifier (..\platform\sql\SQLiteAuthorizer.cpp) c:\cygwin\home\rmolden\WebKit\WebKitLibraries\win\include\sqlite3.h 4675 1 WebCore
Hard to tell what its upset about since it appears it has something to do with the macro expansion resulting in an unknown override specifier, but of course it shows the original macro not the expansion in the error message so I am not sure what is ending up tacked on that it is unhappy about :( It appears to define these macros in WebKitAvailability, which uses __attribute__, which MSVC certainly doesn't support.
3: I am building the WinCairo project, though I can't really find a good explanation anywhere of what that is. I tried building the normal (debug/release) projects but it gives a ton of errors about missing CoreFoundation stuff, so I presume WinCairo is what I want for Webkit on Windows, but a pointer to something explaining what it is would be appreciated.
Thanks in advance for any help you can offer!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-help