[webkit-help] no WebKit2.h
Yanke (Yon) Hu
huyanke at gmail.com
Thu Sep 22 14:05:50 PDT 2011
Thank you! Adam,
Your explanation is excellent!
Another question is, I see minibrowser.exe is also in nightly build. If I
solely want to run it, can I just put minibrowser.exe in the directory of
\Common Files\Apple\Apple Application Support ?
That directory is due to installing Safari, and it provide bunch of dlls
required by MiniBrowser.exe ?
Previously, I thought I can just put MiniBrowser.exe into that directory,
and it will run. But after I did that, it shows
"The application has failed to start because its side-by-side configuration
is incorrect. Please see the application event log or use the command-line
sxstrace.exe tool for more details".
So if I just want to run MiniBrowser.exe, is it necessary to build all
webkit stuff?
Thanks very much!!
Yanke
On Thu, Sep 22, 2011 at 12:17 PM, Adam Roben <aroben at apple.com> wrote:
> On Sep 22, 2011, at 3:14 PM, Yanke (Yon) Hu wrote:
>
> Previously, I followed the webkit build instruction, and build everything
> by using the project script under cygwin and VS2005. And also put some
> required dlls from Safari browser like CoreFoundation.dll ,etc in the same
> directory. I was able to run MiniBrowser in that way.
>
>
> Great!
>
> Now I am thinking can I isolate MiniBrowser from other projects? Cause I
> already download nightly build WebKit Windows from nightly.webkit.org, do
> you think I can utilize the dlls from there. Or that build doesn't
> contains WebKit2 interface , and I still need to build everything.
>
>
> The builds from nightly.webkit.org only contain binaries. They don't
> contain header files.
>
> I think at lease I WebKit source should have a WebKit2.h file, but I didn't
> see any.
>
>
> WebKit2.h is here: Source/WebKit2/UIProcess/API/C/WebKit2.h
>
> But header files in our source tree are not laid out the way MiniBrowser
> expects for building. One of the steps in the WebKit2 build involves copying
> the public API headers to a location where MiniBrowser.vcproj expects them.
> So you won't be able to build directly against the headers in the source
> tree without first building WebKit2.
>
> -Adam
>
>
--
Yanke Hu
phone: (469) 644-8799
email: huyanke at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20110922/a578da0a/attachment.html>
More information about the webkit-help
mailing list