[webkit-dev] Build webkit(Squirrelfish X) on windows

Adam Roben aroben at apple.com
Mon Dec 1 09:03:53 PST 2008


On Dec 1, 2008, at 12:02 PM, Katherine Xie wrote:

> Thanks for reply.
>
> I finally got it built successfully after I found the some missing  
> header files and libraries, they were not included in the webkit  
> source.
> Now I'm trying to build it using Visual Studio 2008, but got tons of  
> warnings, like:
>
> warning C4396: 'WTF::adoptRef' : the inline specifier cannot be used  
> when a friend declaration refers to a specialization of a function  
> template
> see reference to class template instantiation 'WTF::PassRefPtr<T>'  
> being compiled
>
> I know webkit site said currently it is not supported,  but just  
> want to know is it easy to resolve this compile error?

You could try changing the .vcproj to ignore warning 4396.

-Adam

> > Date: Mon, 1 Dec 2008 11:44:33 -0500
> > From: aroben at apple.com
> > Subject: Re: [webkit-dev] Build webkit(Squirrelfish X) on windows
> > To: kate_hx at hotmail.com
> > CC: webkit-dev at lists.webkit.org
> >
> >
> > On Nov 27, 2008, at 12:43 PM, KayX wrote:
> >
> > >
> > > Hi,
> > >
> > > I'm a newbee to the Webkit open source. Now I'm stucked at getting
> > > it built
> > > successfully on windows.
> > > I tried to follow the steps on webkit.org site, but failed. I  
> got a
> > > lot of
> > > compile errors complaining about missing hearder files, and then I
> > > found
> > > someone said it is because the newline endings are not UNIX(LF),
> > > should be
> > > fine if change those build.sh files to use UNIX(LF) newline  
> ending.
> > > I tried
> > > but build still failed. What am I missing?
> >
> > Have you followed the instructions on <http://webkit.org/building/tools.html
> > > for building WebKit on Windows (which includes JavaScriptCore)?
> >
> > >
> > > Here is what we want to try: we have integrated V8 script engine
> > > into our
> > > project( we created wrapper class to have our own functionalies  
> for
> > > javascript calls) , now we're trying to do the same with webkit
> > > squirrelfish
> > > script engine. We would really appreciate that someone can give us
> > > right
> > > direction or suggestions. I tried the nightly pre-build, it  
> seems the
> > > webkit.dll contains all the browser interfaces, but I want only  
> the
> > > javascriptcore part. Is it possible?
> >
> > JavaScriptCore currently builds as a static library, not as a DLL.  
> It
> > shouldn't be too hard to change JavaScriptCore.vcproj to create a  
> DLL,
> > though.
> >
> > -Adam
> >
>
>
> Visit messengerbuddies.ca to find out how you could win. Enter today.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20081201/4bc16877/attachment.html>


More information about the webkit-dev mailing list