[webkit-dev] problem compiling Torchmobile code
David Kirkman
david.r.kirkman at gmail.com
Sun Mar 2 09:22:08 PST 2008
When I compile from MSVS, I get errors like this:
gcc: ..domAttr.idl: No such file or directory
gcc: warning: `-x c++' after last input file has no effect
gcc: no input files
Note that ..\dom\Attr.idl gets collapsed to ..domAttr.idl so the file is not
found.
Any thoughts on how to fix?
Perhaps it would help if you told me which tools, and which versions you are
using. Which Perl are you using? Which gcc? I am using Cygwin tools as
described on webkit.org for building on windows.
Thanks.
On Sun, Mar 2, 2008 at 5:35 PM, George Staikos <staikos at kde.org> wrote:
>
> That's just cmd syntax. Running that project through MSVS works just
> fine for us.
>
> One thing we haven't documented yet is that you need to set the
> environment variable WebKitOutputDir, and make sure perl and gnuwin32
> are in your path. I have also found that some other SDKs interfere
> with the build causing it to fail. Once I backed out all dev tools
> not related to building this code it worked fine. I'm not sure what
> was to blame, but my guess is something had installed alternative
> tools with the same names (such as another perl).
>
> Once our code moves into a public repository - hopefully Monday or
> Tuesday - we will be able to give better instructions for building
> the code.
>
> On 3-Mar-08, at 12:15 AM, David Kirkman wrote:
>
> > Don't know if this is the best way place to post, but the source
> > was announced here, so here goes:
> >
> > Has anyone got this code to build? I am having problems with
> > WebCore-ce pre-build event. (with this not working, I can't get
> > the rest of the of the project to build)
> >
> > Specifically, the line starting with:
> >
> > for %%f in (..\dom\Attr.idl ..\page\BarInfo.idl ..\htm\CanvasGradient
> >
> > This line is confusing since it seems to share syntax from a dos
> > cmd shell and a cygwin bash shell (sometimes uses / and sometimes
> > uses \).
> >
> > Can anyone tell me how do you get the pre-build event to work
> > successfully?
> >
> > Here is what I have tried so far:
> >
> > -note that you need to remove the tmp directory so that the
> > commands get executed at all
> >
> > -tried executing as normal from VS—didn't work
> >
> > -tried adding /cygwin/bin to dos path—didn't work (though error was
> > different)
> >
> > -tried executing from within bash shell using msdev… commandline –
> > still didn't work (error was similar to above)
> >
> > The problem seems to be the mixing of the dos/cygwin syntax.
> >
> > Can someone tell me (especially the authors of the source): How is
> > this intended to be run?
> >
> > Thanks.
> >
> > _______________________________________________
> > webkit-dev mailing list
> > webkit-dev at lists.webkit.org
> > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
> --
> George Staikos
> Torch Mobile Inc.
> http://www.torchmobile.com/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20080302/f1fe9744/attachment.html
More information about the webkit-dev
mailing list