No subject
Mon Sep 28 12:00:37 PDT 2015
C:\work\WebKit\Tools\DumpRenderTree\cairo\PixelDumpSupportCairo.h(38):
fatal error C1083: Cannot open include file: 'cairo-win32.h': No such file
or directory (compiling source file
C:\work\WebKit\Tools\DumpRenderTree\PixelDumpSupport.cpp)
[C:\work\WebKit\WebKitBuild\Release\Tools\DumpRenderTree\DumpRenderTreeLib.=
vcxproj]
C:\work\WebKit\Tools\DumpRenderTree\cairo\PixelDumpSupportCairo.h(38):
fatal error C1083: Cannot open include file: 'cairo-win32.h': No such file
or directory (compiling source file
C:\work\WebKit\Tools\DumpRenderTree\win\PixelDumpSupportWin.cpp)
[C:\work\WebKit\WebKitBuild\Release\Tools\DumpRenderTree\DumpRenderTreeLib.=
vcxproj]
c:\work\webkit\tools\dumprendertree\cairo\PixelDumpSupportCairo.h(38):
fatal error C1083: Cannot open include file: 'cairo-win32.h': No such file
or directory (compiling source file
C:\work\WebKit\Tools\DumpRenderTree\cairo\PixelDumpSupportCairo.cpp)
[C:\work\WebKit\WebKitBuild\Release\Tools\DumpRenderTree\DumpRenderTreeLib.=
vcxproj]
C:\work\WebKit\Tools\DumpRenderTree\win\ImageDiffCairo.cpp(32): fatal error
C1083: Cannot open include file: 'cairo.h': No such file or directory
[C:\work\WebKit\WebKitBuild\Release\Tools\DumpRenderTree\ImageDiffLib.vcxpr=
oj]
I tried running build-webkit again, and it fails with the "missing
win-cairo.h" error still.
Another point is that the "build failed" message suggests looking into
WebKitBuild/obj/<project>/<config> but I don't have a WebKitBuild/obj
directory.
Is build-webkit still the correct build script to run? Or should I be using
cmake directly?
Thanks,
Isaac
On 7 November 2015 at 08:58, Alex Christensen <achristensen at apple.com>
wrote:
> Sorry about that. We really need to update webkit.org/building/tools.htm=
l
>
> http://trac.webkit.org/wiki/WindowsWithoutCygwin should be more up to
> date. You shouldn=E2=80=99t need the old version of the DirectX SDK any =
more, and
> you shouldn=E2=80=99t need iTunes installed for WinCairo to build and run=
. You
> will need CMake, though, which isn=E2=80=99t on that list yet.
> Source/WebKit/WebKit.vcxproj/WebKit.sln is out of date and will be remove=
d
> soon. You will need to use CMake to generate a Visual Studio solution.
> I=E2=80=99ve never used the cygwin64 installer, and I=E2=80=99m not sure =
what problems you
> may run into when using that. It might work fine, but you shouldn=E2=80=
=99t need
> cygwin installed at all to build and run if you have the non-cygwin versi=
on
> of all the tools installed.
> You shouldn=E2=80=99t need the WEBKIT_LIBRARIES or WEBKIT_OUTPUTDIR envir=
onment
> variables, either.
> I=E2=80=99m not sure what WinCairoRequirements.headers are, but
> WinCairoRequirements.zip is required. If you=E2=80=99re having trouble d=
ownloading
> it, piece together the url from Tools/Scripts/update-webkit-wincairo-libs
> and put the contents of the zip into WebKitLibraries/win. That will make
> it so it can find the unicode and other headers.
>
> Alex
>
> On Nov 5, 2015, at 9:32 PM, Isaac Devine <isaac at devinesystems.co.nz>
> wrote:
>
> Hi,
>
> I'm trying to build the wincairo webkit port with Visual Studio 2015
> (community edition) by following the instructions on:
>
> * http://www.webkit.org/building/tools.html
> * http://trac.webkit.org/wiki/BuildingOnWindows#WebKit_Libraries
> * http://trac.webkit.org/wiki/BuildingCairoOnWindows
>
> However I was unsuccessful in using the supplied cygwin installer and
> instead used the cygwin64 installer from cygwin.org
>
> After installing all of the dependencies, when I try to build with:
>
>
> However when I try to build (from the cygwin prompt) via:
> $ PROGRAMFILES=3D"C:\\Program Files (x86)" Tools/Scripts/build-webkit
> --wincairo --release
>
> It is unable to download the WinCairoRequirements.headers file (even
> though it can download the WinCairoRequirements.zip).
>
> If I manually change this so that it extracts the zip regardless I can
> continue the build.
>
> Also it seems to ignore the windows-style paths I have set in
> WEBKIT_OUTPUTDIR and WEBKIT_LIBRARIES and instead has them as
> "/WebkitBuild" and "/WebkitLibraries/win" in unix style; which correspond=
s
> to "C:\cygwin64\WebkitBuild" & "C:\cygwin64\WebkitLibraries" respectively=
.
>
> The build output seems to go to a mix of C:\cygwin64\WebkitBuild and
> C:\cygwin64\home\isaac\WebKit\WebkitBuild.
>
> The build eventually fails by WTL not finding unicode\uchar.h in the
> include directories, e.g.:
>
> C:\cygwin64\home\isaac\WebKit\Source\WTF\wtf/text/ASCIIFastPath.h(26):
> fatal error C1083: Cannot open include file: 'unicode/utypes.h': No such
> file or directory (compiling source file
> C:\cygwin64\home\isaac\WebKit\Source\WTF\wtf\Assertions.cpp)
> [C:\cygwin64\home\isaac\WebKit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcx=
proj]
>
> Looking into the generated project files the additional include
> directories are (if I have not defined WEBKIT_OUTPUTDIR or
> WEBKIT_LIBRARIES):
>
> <AdditionalIncludeDirectories>C:\cygwin64\WebKitBuild\Release\DerivedSour=
ces\ForwardingHeaders;C:\cygwin64\WebKitBuild\Release\DerivedSources;\WebKi=
tLibraries\win\include;C:\cygwin64\home\isaac\WebKit\Source\bmalloc;C:\cygw=
in64\home\isaac\WebKit\Source\WTF;C:\cygwin64\home\isaac\WebKit\Source\WTF\=
wtf;C:\cygwin64\home\isaac\WebKit\Source\WTF\wtf\dtoa;C:\cygwin64\home\isaa=
c\WebKit\Source\WTF\wtf\text;C:\cygwin64\home\isaac\WebKit\Source\WTF\wtf\t=
hreads;C:\cygwin64\home\isaac\WebKit\Source\WTF\wtf\unicode;C:\cygwin64\hom=
e\isaac\WebKit\Source\ThirdParty;C:\cygwin64\WebKitBuild\Release;%(Addition=
alIncludeDirectories)</AdditionalIncludeDirectories>
>
> If do have WEBKIT_OUTPUTDIR and WEBKIT_LIBRARIES defined:
>
> The directories aren't specified correctly, i.e:
> "\WebkitBuild\include" instead of "C:\cygwin64\WebkitBuild\include"
>
> What am I doing wrong here?
>
> Is there a more complete and up-to-date guide on building the wincairo
> port with visual studio 2015?
>
>
> Cheers,
> Isaac
>
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-help
>
>
>
--=20
Isaac Devine
Director
Devine Systems Limited
+64 21 1700 929
--001a113978f2a80754052411219a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hi Alex,<div><br></div><div><div>Thanks for your help and =
the link, I have made more progress with those instructions.</div><div><br>=
</div><div>The update-webkit-wincairo-libs calls update-webkit-dependency, =
which looks it requests</div><div>a file called WinCairoRequirements.header=
s so that it can check the last-modified time.</div><div>I'm not famili=
ar with perl, so I could be mistaken here.</div><div><br></div><div>If I do=
as you suggest and download and extract it manually (and comment out the c=
heck from update-webkit-wincairo-libs) the build proceeds, as I've docu=
mented below:</div><div><br></div><div>When I call perl build-webkit --winc=
airo --release from the windows command prompt, I get an error alert dialog=
appear with the following text:</div><div>---------------------------</div=
><div>cl.exe - System Error</div><div>---------------------------</div><div=
>The program can't start because mspdb140.dll is missing from your comp=
uter. Try reinstalling the program to fix this problem.=C2=A0</div><div>---=
------------------------</div><div>OK =C2=A0=C2=A0</div><div>--------------=
-------------</div><div><br></div><div><br></div><div>When I click ok the b=
uild continues.</div><div><br></div><div>After some time it then fails when=
building the dumprendertree project, complaining about a missing win-cairo=
.h, however it does exist under Webkit\WebkitLibraries\win\include\cairo.</=
div><div>From WebKitBuild\Release\webkit_errors.log:</div><div><br></div><d=
iv>C:\work\WebKit\Tools\DumpRenderTree\cairo\PixelDumpSupportCairo.h(38): f=
atal error C1083: Cannot open include file: 'cairo-win32.h': No suc=
h file or directory (compiling source file C:\work\WebKit\Tools\DumpRenderT=
ree\PixelDumpSupport.cpp) [C:\work\WebKit\WebKitBuild\Release\Tools\DumpRen=
derTree\DumpRenderTreeLib.vcxproj]</div><div>C:\work\WebKit\Tools\DumpRende=
rTree\cairo\PixelDumpSupportCairo.h(38): fatal error C1083: Cannot open inc=
lude file: 'cairo-win32.h': No such file or directory (compiling so=
urce file C:\work\WebKit\Tools\DumpRenderTree\win\PixelDumpSupportWin.cpp) =
[C:\work\WebKit\WebKitBuild\Release\Tools\DumpRenderTree\DumpRenderTreeLib.=
vcxproj]</div><div>c:\work\webkit\tools\dumprendertree\cairo\PixelDumpSuppo=
rtCairo.h(38): fatal error C1083: Cannot open include file: 'cairo-win3=
2.h': No such file or directory (compiling source file C:\work\WebKit\T=
ools\DumpRenderTree\cairo\PixelDumpSupportCairo.cpp) [C:\work\WebKit\WebKit=
Build\Release\Tools\DumpRenderTree\DumpRenderTreeLib.vcxproj]</div><div>C:\=
work\WebKit\Tools\DumpRenderTree\win\ImageDiffCairo.cpp(32): fatal error C1=
083: Cannot open include file: 'cairo.h': No such file or directory=
[C:\work\WebKit\WebKitBuild\Release\Tools\DumpRenderTree\ImageDiffLib.vcxp=
roj]</div><div><br></div><div>I tried running build-webkit again, and it fa=
ils with the "missing win-cairo.h" error still.</div><div><br></d=
iv><div>Another point is that the "build failed" message suggests=
looking into WebKitBuild/obj/<project>/<config> but I don'=
t have a WebKitBuild/obj directory.</div><div><br></div><div>Is build-webki=
t still the correct build script to run? Or should I be using cmake directl=
y?</div><div><br></div><div>Thanks,</div><div>Isaac</div></div><div><br></d=
iv></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On 7 Nov=
ember 2015 at 08:58, Alex Christensen <span dir=3D"ltr"><<a href=3D"mail=
to:achristensen at apple.com" target=3D"_blank">achristensen at apple.com</a>>=
</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex"><div style=3D"word-wrap:br=
eak-word">Sorry about that.=C2=A0 We really need to update <a href=3D"http:=
//webkit.org/building/tools.html" target=3D"_blank">webkit.org/building/too=
ls.html</a>=C2=A0<div><a href=3D"http://trac.webkit.org/wiki/WindowsWithout=
Cygwin" target=3D"_blank">http://trac.webkit.org/wiki/WindowsWithoutCygwin<=
/a>=C2=A0should be more up to date.=C2=A0 You shouldn=E2=80=99t need the ol=
d version of the DirectX SDK any more, and you shouldn=E2=80=99t need iTune=
s installed for WinCairo to build and run.=C2=A0 You will need CMake, thoug=
h, which isn=E2=80=99t on that list yet.=C2=A0 Source/WebKit/WebKit.vcxproj=
/WebKit.sln is out of date and will be removed soon.=C2=A0 You will need to=
use CMake to generate a Visual Studio solution.</div><div>I=E2=80=99ve nev=
er used the cygwin64 installer, and I=E2=80=99m not sure what problems you =
may run into when using that.=C2=A0 It might work fine, but you shouldn=E2=
=80=99t need cygwin installed at all to build and run if you have the non-c=
ygwin version of all the tools installed.</div><div>You shouldn=E2=80=99t n=
eed the WEBKIT_LIBRARIES or WEBKIT_OUTPUTDIR environment variables, either.=
</div><div>I=E2=80=99m not sure what WinCairoRequirements.headers are, but =
WinCairoRequirements.zip is required.=C2=A0 If you=E2=80=99re having troubl=
e downloading it, piece together the url from Tools/Scripts/update-webkit-w=
incairo-libs and put the contents of the zip into WebKitLibraries/win.=C2=
=A0 That will make it so it can find the unicode and other headers.</div><d=
iv><br></div><div>Alex</div><div><br><div><blockquote type=3D"cite"><div><d=
iv class=3D"h5"><div>On Nov 5, 2015, at 9:32 PM, Isaac Devine <<a href=
=3D"mailto:isaac at devinesystems.co.nz" target=3D"_blank">isaac at devinesystems=
.co.nz</a>> wrote:</div><br></div></div><div><div><div class=3D"h5"><div=
dir=3D"ltr">Hi,<div><br></div><div>I'm trying to build the wincairo we=
bkit port with Visual Studio 2015 (community edition) by following the inst=
ructions on:</div><div><br></div><div>=C2=A0* <a href=3D"http://www.webkit.=
org/building/tools.html" target=3D"_blank">http://www.webkit.org/building/t=
ools.html</a><br></div><div>=C2=A0*=C2=A0<a href=3D"http://trac.webkit.org/=
wiki/BuildingOnWindows#WebKit_Libraries" target=3D"_blank">http://trac.webk=
it.org/wiki/BuildingOnWindows#WebKit_Libraries</a><br></div><div>=C2=A0*=C2=
=A0<a href=3D"http://trac.webkit.org/wiki/BuildingCairoOnWindows" target=3D=
"_blank">http://trac.webkit.org/wiki/BuildingCairoOnWindows</a><br></div><d=
iv><div><br></div><div>However I was unsuccessful in using the supplied cyg=
win installer and instead used the cygwin64 installer from <a href=3D"http:=
//cygwin.org/" target=3D"_blank">cygwin.org</a></div><div><br></div><div>Af=
ter installing all of the dependencies, when I try to build with:</div><div=
><br></div><div><br></div><div>However when I try to build (from the cygwin=
prompt) via:</div><div>$ PROGRAMFILES=3D"C:<a>\\Program</a> Files (x8=
6)"=C2=A0Tools/Scripts/build-webkit --wincairo --release</div><div><br=
></div><div>It is unable to download the WinCairoRequirements.headers file =
(even though it can download the WinCairoRequirements.zip).</div><div><br><=
/div><div>If I manually change this so that it extracts the zip regardless =
I can continue the build.</div><div><br></div><div>Also it seems to ignore =
the windows-style paths I have set in WEBKIT_OUTPUTDIR and WEBKIT_LIBRARIES=
and instead has them as "/WebkitBuild" and "/WebkitLibrarie=
s/win" in unix style; which corresponds to "C:\cygwin64\WebkitBui=
ld" & "C:\cygwin64\WebkitLibraries" respectively.=C2=A0<=
/div><div><br></div><div>The build output seems to go to a mix of C:\cygwin=
64\WebkitBuild and C:\cygwin64\home\isaac\WebKit\WebkitBuild.</div><div><br=
></div><div>The build eventually fails by WTL not finding unicode\uchar.h i=
n the include directories, e.g.:</div><div><br></div><div>C:\cygwin64\home\=
isaac\WebKit\Source\WTF\wtf/text/ASCIIFastPath.h(26): fatal error C1083: Ca=
nnot open include file: 'unicode/utypes.h': No such file or directo=
ry (compiling source file C:\cygwin64\home\isaac\WebKit\Source\WTF\wtf\Asse=
rtions.cpp) [C:\cygwin64\home\isaac\WebKit\WebKitBuild\Release\Source\WTF\w=
tf\WTF.vcxproj]<br></div><div><br></div><div>Looking into the generated pro=
ject files the additional include directories are (if I have not defined WE=
BKIT_OUTPUTDIR or WEBKIT_LIBRARIES):=C2=A0</div><div><AdditionalIncludeD=
irectories>C:\cygwin64\WebKitBuild\Release\DerivedSources\ForwardingHead=
ers;C:\cygwin64\WebKitBuild\Release\DerivedSources;\WebKitLibraries\win\inc=
lude;C:\cygwin64\home\isaac\WebKit\Source\bmalloc;C:\cygwin64\home\isaac\We=
bKit\Source\WTF;C:\cygwin64\home\isaac\WebKit\Source\WTF\wtf;C:\cygwin64\ho=
me\isaac\WebKit\Source\WTF\wtf\dtoa;C:\cygwin64\home\isaac\WebKit\Source\WT=
F\wtf\text;C:\cygwin64\home\isaac\WebKit\Source\WTF\wtf\threads;C:\cygwin64=
\home\isaac\WebKit\Source\WTF\wtf\unicode;C:\cygwin64\home\isaac\WebKit\Sou=
rce\ThirdParty;C:\cygwin64\WebKitBuild\Release;%(AdditionalIncludeDirectori=
es)</AdditionalIncludeDirectories><br></div><div><br></div><div>If do=
have WEBKIT_OUTPUTDIR and WEBKIT_LIBRARIES defined:</div><div><br></div><d=
iv>The directories aren't specified correctly, i.e:</div><div>"\We=
bkitBuild\include" instead of "C:\cygwin64\WebkitBuild\include&qu=
ot;</div><div><br></div><div>What am I doing wrong here?</div><div><br></di=
v><div>Is there a more complete and up-to-date guide on building the wincai=
ro port with visual studio 2015?</div><div><br></div><div><br></div><div>Ch=
eers,</div><div>Isaac</div><div><br></div>
</div></div></div></div>
_______________________________________________<br>webkit-help mailing list=
<br><a href=3D"mailto:webkit-help at lists.webkit.org" target=3D"_blank">webki=
t-help at lists.webkit.org</a><br><a href=3D"https://lists.webkit.org/mailman/=
listinfo/webkit-help" target=3D"_blank">https://lists.webkit.org/mailman/li=
stinfo/webkit-help</a><br></div></blockquote></div><br></div></div></blockq=
uote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=3D"gmail_=
signature">Isaac Devine<div>Director</div><div>Devine Systems Limited</div>=
<div><br></div><div>+64 21 1700 929</div></div>
</div>
--001a113978f2a80754052411219a--
More information about the webkit-help
mailing list