[webkit-dev] Re: Spinneret build issue (on Windows)

Double-Dee Zee doubledeezee at gmail.com
Fri Jun 29 17:00:24 PDT 2007


Hi All,

I was able to get Spinneret to build:
I just needed to update the paths in the .sln file so that the defendant
project files were being found correctly.

(Previously, I was building WebKit in a separate solution.  I had assumed
this was OK.  But apparently, there were some dependencies that were being
resolved automatically by Visual Studio when all the projects are in the
same solution.)

Now (of course), I am having problems getting it to run.  I had to find a
handful off dll's and now it launches, but at this line:

HRESULT hr = CoCreateInstance(CLSID_WebView, 0, CLSCTX_ALL, IID_IWebView,
(void**)&gWebView);

I get the error:  Runtime Error!  An application has made an attempt to load
the C runtime library incorrectly.


Somebody out there must be using Spinneret, can you please help?

Is Spinneret now defunct?  If yes, then why was that Win32 build issue
resolved just 10 days ago?  Is someone successfully using Spinneret with the
new Win32 build?

Thanks,
Double-D

On 6/29/07, Jerry <jerry at chordia.co.uk> wrote:
>
>  DD.
>
> 1. Find the file(s) that contain your missing GUIDs (_IID_IWebViewPrivate
> for example). I'd put racing odds on these being located in a .H file.
> 2. See what flags are used to compile said file(s) when Safari is built.
> There is sometimes preprocessor hackery involved to avoid multiple-reference
> linker errors.
> 3. You can double-check 2) by getting the linker to create a .MAP file and
> finding the locations of the missing GUIDs there.
> 4. Ensure the results of 1 and 2 are included in the Spinneret project.
> 5. Report results to the panel.
>
> Clear?
>
> HtH and BoL.
>
> Jerry.
>
>
> ----- Original Message -----
> *From:* Double-Dee Zee <doubledeezee at gmail.com>
> *To:* Christopher Brichford <chrisb at adobe.com>
> *Cc:* webkit-dev at lists.webkit.org
> *Sent:* Friday, June 29, 2007 9:53 PM
> *Subject:* Re: [webkit-dev] Re: Spinneret build issue (on Windows)
>
> Hi Chris,
>
> Thanks for the reply!  It is good to see at least someone is reading my
> emails :).
>
> >>There are instructions on webkit.org for building WebKit on windows
> and running it with the windows version of Safari.
>
> Thanks for the pointer.  I do already have WebKit building and running
> with Safari.  However, I need a windows application that is not Safari for
> the demo I am working on.
>
> >>My understanding is that spinneret is not being worked on anymore.
>
> I would have suspected that, however this bug fix:
> http://trac.webkit.org/projects/webkit/changeset/23566
> for this bug:  http://bugs.webkit.org/show_bug.cgi?id=14154
>
> shows "Bug 14154: Spinneret doesn't build against the new Win32 port." is
> now resolved.  The change is from 06/18/07 which is only 11 days ago.
>
> So apparently, Spinneret is both being worked on and does build against
> the new Win32 port.
>
>
> So, can someone please help me with the linking error I see
> below....Pretty please.....At least tell me what library I need to link.
>
> Thanks,
> Double-D
>
> On 6/29/07, Christopher Brichford <chrisb at adobe.com> wrote:
> >
> > My understanding is that spinneret is not being worked on anymore.
> > There are instructions on webkit.org for building WebKit on windows
> > and running it with the windows version of Safari.
> >
> > If you have trouble getting your questions answered on the mailing
> > list, you can try the webkit irc channel.  There are instructions for
> > connecting to the IRC channel on webkit.org .
> >
> > Chris Brichford
> > Adobe Systems Inc.
> >
> > On Jun 29, 2007, at 9:31 AM, Double-Dee Zee wrote:
> >
> > > Dear Webkit Team,
> > >
> > > It's been almost 24 hours and no one has replied to my posting.
> > >
> > > I would really appreciate if someone could point me in the right
> > > direction toward solving this problem.
> > >
> > > I see that another posting ( http://lists.macosforge.org/pipermail/
> > > webkit-dev/2007-June/001940.html) asking for help with Spinneret
> > > also went unanswered.  Is there something with Spinneret that I
> > > should know about?
> > >
> > > Is it politically incorrect to use Spinneret?
> > >
> > > Is my question a stupid one that anyone should know the answer to?
> > >
> > > Even so, I'd really appreciate some help with this so that I can
> > > move my project forward.
> > >
> > > Thanks,
> > > Double-D
> > >
> > >
> > >
> > > On 6/28/07, Double-Dee Zee <doubledeezee at gmail.com> wrote: Dear
> > > Webkit Team,
> > >
> > > I would like to build Spinneret on windows.  (I need a windows test
> > > application for windows other than Safari.exe).
> > >
> > > I did see one post that said Spinneret was an outdated test
> > > application and implied you shouldn't waste your time on it.
> > > However, I also see there was a code fix recently on 2007-06-18 to
> > > fix the Spinneret build against the new Win32 port, so I assume
> > > Spinneret is still supported.  Anyway, this seems like a very
> > > useful tool.
> > >
> > > To build, I simply added the include path: $(WebKitOutputDir)
> > > \include\webkit
> > > but, then the build fails at the link step (see error message below)
> > >
> > > This looks to me like a very simple problem to fix, but my COM
> > > knowledge is not very deep (I think this is a COM issue) so I could
> > > use some help.
> > >
> > > Can someone please let me know how to resolve this?
> > >
> > > Thanks,
> > > Double-D
> > >
> > >
> > > ------ Build started: Project: Spinneret, Configuration: Debug
> > > Win32 ------
> > > Linking...
> > > Spinneret.obj : error LNK2001: unresolved external symbol
> > > _IID_IWebFrameLoadDelegate
> > > Spinneret.obj : error LNK2001: unresolved external symbol
> > > _IID_IWebViewPrivate
> > > Spinneret.obj : error LNK2001: unresolved external symbol
> > > _CLSID_WebView
> > > Spinneret.obj : error LNK2001: unresolved external symbol
> > > _IID_IWebView
> > > Spinneret.obj : error LNK2001: unresolved external symbol
> > > _CLSID_WebMutableURLRequest
> > > Spinneret.obj : error LNK2001: unresolved external symbol
> > > _IID_IWebMutableURLRequest
> > > c:\source\WebKit\WebKitBuild\Debug\Spinneret.exe : fatal error
> > > LNK1120: 6 unresolved externals
> > > Build log was saved at "file://c:\source\WebKit\WebKitBuild
> > > \DumpRenderTree.intermediate\Debug\DumpRenderTree.intermediate
> > > \BuildLog.htm"
> > > Spinneret - 7 error(s), 0 warning(s)
> > > ========== Build: 0 succeeded, 1 failed, 3 up-to-date, 0 skipped
> > > ==========
> > >
> > > _______________________________________________
> > > webkit-dev mailing list
> > > webkit-dev at lists.webkit.org
> > > http://lists.webkit.org/mailman/listinfo/webkit-dev
> >
> >
>  ------------------------------
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/webkit-dev/attachments/20070629/800c0fbf/attachment.html


More information about the webkit-dev mailing list