Compile error under VC2005
Hi All, I've capture some message... It seems that it is missing something...anybody could point it out. These two script have executed, ./update-webkit ./build-webkit Thx ------ Build started: Project: JavaScriptCore, Configuration: Release Win32 ---- -- Constructing generated files... Copying ICU DLLS... 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 Compiling... pcre_compile.c ..\..\pcre\pcre_compile.c : error C2220: warning treated as error - no 'object' file generated ..\..\pcre\pcre_compile.c : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss Build log was saved at "file://C:\cygwin\home\mike\WebKit\WebKitBuild\obj\JavaScriptCore\Release\BuildLog.htm" JavaScriptCore - 1 error(s), 1 warning(s) -- View this message in context: http://www.nabble.com/Compile-error-under-VC2005-tf4211200.html#a11979236 Sent from the Webkit mailing list archive at Nabble.com.
On Aug 3, 2007, at 1:14 AM, OYO wrote:
------ Build started: Project: JavaScriptCore, Configuration: Release Win32 ---- -- Constructing generated files... Copying ICU DLLS... 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案
Compiling... pcre_compile.c ..\..\pcre\pcre_compile.c : error C2220: warning treated as error - no 'object' file generated ..\..\pcre\pcre_compile.c : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss
I've never seen this error before. However, I think most everyone who has built WebKit on Windows so far has done so on an English system. It's too bad MSVC doesn't tell us which character it's complaining about! Have you tried doing what it suggests and saving the file in "Unicode format"? -Adam
Adam Roben 提到:
On Aug 3, 2007, at 1:14 AM, OYO wrote:
------ Build started: Project: JavaScriptCore, Configuration: Release Win32 ---- -- Constructing generated files... Copying ICU DLLS... 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案
Compiling... pcre_compile.c ..\..\pcre\pcre_compile.c : error C2220: warning treated as error - no 'object' file generated ..\..\pcre\pcre_compile.c : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss
I've never seen this error before. However, I think most everyone who has built WebKit on Windows so far has done so on an English system. It's too bad MSVC doesn't tell us which character it's complaining about! Have you tried doing what it suggests and saving the file in "Unicode format"?
-Adam
Those are chinese word, which means that "Copy 0 file"...
On Aug 3, 2007, at 10:33 AM, oooyooo wrote:
Adam Roben 提到:
On Aug 3, 2007, at 1:14 AM, OYO wrote:
------ Build started: Project: JavaScriptCore, Configuration: Release Win32 ---- -- Constructing generated files... Copying ICU DLLS... 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案 複製 0 個檔案
Compiling... pcre_compile.c ..\..\pcre\pcre_compile.c : error C2220: warning treated as error - no 'object' file generated ..\..\pcre\pcre_compile.c : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss
I've never seen this error before. However, I think most everyone who has built WebKit on Windows so far has done so on an English system. It's too bad MSVC doesn't tell us which character it's complaining about! Have you tried doing what it suggests and saving the file in "Unicode format"?
-Adam
Those are chinese word, which means that "Copy 0 file"...
Those are expected. However, I was talking about the warning while compiling pcre\pcre_compile.c:
..\..\pcre\pcre_compile.c : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss
-Adam
On 04/08/2007, at 1:58 AM, Adam Roben wrote:
On Aug 3, 2007, at 1:14 AM, OYO wrote:
Compiling... pcre_compile.c ..\..\pcre\pcre_compile.c : error C2220: warning treated as error - no 'object' file generated ..\..\pcre\pcre_compile.c : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss
I've never seen this error before. However, I think most everyone who has built WebKit on Windows so far has done so on an English system. It's too bad MSVC doesn't tell us which character it's complaining about! Have you tried doing what it suggests and saving the file in "Unicode format"?
I tracked down and removed the character it was complaining about in <http://trac.webkit.org/projects/webkit/changeset/24849
. Please update to r24849 or newer and try building again.
- Mark
Hi, While linking WebKit, compiler complaints that JavaScriptCore.lib was created with an older compiler. But I found that JavaScriptCore.lib is just created ...~ Anybody know anything wrong in my compile option, thx? $ ./build-webkit Checking mod-date of WebKitSupportLibrary.zip... Current WebKitSupportLibrary is up to date Building results into: /home/mike/WebKit/WebKitBuild WEBKITOUTPUTDIR is set to: C:\cygwin\home\mike\WebKit\WebKitBuild WEBKITLIBRARIESDIR is set to: C:\cygwin\home\mike\WebKit\WebKitLibraries\win /cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/IDE/devenv.com win\W ebKit.vcproj\WebKit.sln /build Release Microsoft (R) Visual Studio Version 8.0.50727.762. Copyright (C) Microsoft Corp 1984-2005. All rights reserved. : : : : ------ Build started: Project: WebKit, Configuration: Release Win32 ------ Performing Pre-Build Event... cl : Command line warning D9040 : ignoring option '/analyze'; Code Analysis warn ings are not available in this edition of the compiler tmp.cpp 找不到檔案 - * 複製 0 個檔案 Linking... fatal error C1047: The object or library file 'C:\cygwin\home\mike\WebKit\WebKit Build\lib\JavaScriptCore.lib' was created with an older compiler than other obje cts; rebuild old objects and libraries LINK : fatal error LNK1257: code generation failed Project : warning PRJ0018 : The following environment variables were not found: $(BuildBot) Build log was saved at "file://C:\cygwin\home\mike\WebKit\WebKitBuild\obj\WebKit \Release\BuildLog.htm" WebKit - 1 error(s), 1 warning(s) Mark Rowe-4 wrote:
On 04/08/2007, at 1:58 AM, Adam Roben wrote:
On Aug 3, 2007, at 1:14 AM, OYO wrote:
Compiling... pcre_compile.c ..\..\pcre\pcre_compile.c : error C2220: warning treated as error - no 'object' file generated ..\..\pcre\pcre_compile.c : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss
I've never seen this error before. However, I think most everyone who has built WebKit on Windows so far has done so on an English system. It's too bad MSVC doesn't tell us which character it's complaining about! Have you tried doing what it suggests and saving the file in "Unicode format"?
I tracked down and removed the character it was complaining about in <http://trac.webkit.org/projects/webkit/changeset/24849
. Please update to r24849 or newer and try building again.
- Mark
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev
-- View this message in context: http://www.nabble.com/Compile-error-under-VC2005-tf4211200.html#a11994732 Sent from the Webkit mailing list archive at Nabble.com.
I deleted the directory[WebKitBuild], then rebuild successfully. Thank you OYO wrote:
Hi,
While linking WebKit, compiler complaints that JavaScriptCore.lib was created with an older compiler. But I found that JavaScriptCore.lib is just created ...~
Anybody know anything wrong in my compile option, thx?
$ ./build-webkit Checking mod-date of WebKitSupportLibrary.zip... Current WebKitSupportLibrary is up to date Building results into: /home/mike/WebKit/WebKitBuild WEBKITOUTPUTDIR is set to: C:\cygwin\home\mike\WebKit\WebKitBuild WEBKITLIBRARIESDIR is set to: C:\cygwin\home\mike\WebKit\WebKitLibraries\win /cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/IDE/devenv.com win\W ebKit.vcproj\WebKit.sln /build Release Microsoft (R) Visual Studio Version 8.0.50727.762. Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
: : : :
------ Build started: Project: WebKit, Configuration: Release Win32 ------ Performing Pre-Build Event... cl : Command line warning D9040 : ignoring option '/analyze'; Code Analysis warn ings are not available in this edition of the compiler tmp.cpp 找不到檔案 - * 複製 0 個檔案 Linking... fatal error C1047: The object or library file 'C:\cygwin\home\mike\WebKit\WebKit Build\lib\JavaScriptCore.lib' was created with an older compiler than other obje cts; rebuild old objects and libraries LINK : fatal error LNK1257: code generation failed Project : warning PRJ0018 : The following environment variables were not found: $(BuildBot) Build log was saved at "file://C:\cygwin\home\mike\WebKit\WebKitBuild\obj\WebKit \Release\BuildLog.htm" WebKit - 1 error(s), 1 warning(s)
Mark Rowe-4 wrote:
On 04/08/2007, at 1:58 AM, Adam Roben wrote:
On Aug 3, 2007, at 1:14 AM, OYO wrote:
Compiling... pcre_compile.c ..\..\pcre\pcre_compile.c : error C2220: warning treated as error - no 'object' file generated ..\..\pcre\pcre_compile.c : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss
I've never seen this error before. However, I think most everyone who has built WebKit on Windows so far has done so on an English system. It's too bad MSVC doesn't tell us which character it's complaining about! Have you tried doing what it suggests and saving the file in "Unicode format"?
I tracked down and removed the character it was complaining about in <http://trac.webkit.org/projects/webkit/changeset/24849
. Please update to r24849 or newer and try building again.
- Mark
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev
-- View this message in context: http://www.nabble.com/Compile-error-under-VC2005-tf4211200.html#a12053044 Sent from the Webkit mailing list archive at Nabble.com.
participants (4)
-
Adam Roben
-
Mark Rowe
-
oooyooo
-
OYO