[webkit-dev] WebKit-Windows build with VS2008

Patrick Gansterer paroga at paroga.com
Tue Mar 27 12:49:21 PDT 2012


On Tue, 27 Mar 2012 17:14:55 +0530, M Rahaman wrote:
> When I build WebKit code for Windows using VS2008, there are several
> issues I am facing
> 1. We need to re-generate the webkit.sln file with VS2008
> 2. VS2008 has strict warning checking, because all the .vcproj has
> "Treat warning as errors", the compilation fails. So the work around
> is to modify the .vcproj file & to disable ""Treat warning as 
> errors",
> 3. We also need to change Tools/Scripts/parallelcl to provide correct
> path for cl.exe (while building from Cygwin)
> So, I just want to know if other people working on Windows port also
> facing the same issue. It becomes even more problematic when I am
> updating my code & I get svn conflict in my .vcproj files etc. 
> because
> of #2 above.
> If everyone is facing the same issue, may be it is a better idea to
> commit this patch with the constraint that we will no more support
> VS2005. Want to know other's opinion on this..

Since every Visual Studio version uses it's own CRT (MSVCRT80.DLL for 
VS2005) and the code depends on additonal libraries (look into 
C:\Program Files\Common Files\Apple\Apple Application Support) which 
need the CRT too. Mixing different CRTs can cause strange errors, so 
it's not a good idea.
IMHO it might be a better idea to get away from the vcproj files and 
move to a meta build system, so everybody can choose the VS version on 
it's own. I already did a big part of a CMake based system at [1] which 
also does not require the cygwin environment. It's possible to use the 
Win32 version of the different tools, like in the WinCE port [2].

[1] https://bugs.webkit.org/show_bug.cgi?id=72816
[2] http://trac.webkit.org/wiki/WinCE

-- Patrick

More information about the webkit-dev mailing list