[webkit-help] LNK1106 error when building WebKit+Cairo+Release with XP+VS2005
Brent Fulgham
bfulgham at gmail.com
Thu May 20 17:08:57 PDT 2010
Hi Again, Rick:
On Thu, May 20, 2010 at 2:38 PM, Rick Xu <rick.zhi.xu at gmail.com> wrote:
> Hello,
>
> I am trying to build WebKit with "--Cairo-win32 --release" on win XP
> with cygwin+MS Visual Studio 2005. I followed the procedure on
> WebKit's website.
>
> The WebKit version I downloaded is r59633. And the build fails because
> of "LNK1106 error".
You are most likely building in a 32-bit environment. The work
arounds for this problem are as follows (choose one of the following):
1. Build in 64-bit Vista or Windows 7.
2. I have heard that KB949009
(https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=18623)
may correct the problem.
3. Or, you can turn off Whole Program Optimization on the WebCore
project (see "Configuration Properties|C/C++|Optimization"), and turn
off Link Time Code Generation on the WebKit project (see
"Configuration Properties|Linker|Optimization").
The last option will definitely work (I do this for my test box, which
is only 32 bits), though the best long-term choice is to run a 64-bit
OS.
-Brent
More information about the webkit-help
mailing list