Hi, When I built the webkit on WinXP with VS2005, I have an error C2220: warn ing treated as error - no 'object' file generated for C:\Program Files\QuickTime SDK\cincludes\ConditionalMacros.h of project QTMovieWin.
I donot know how to solve this issue. Any one has this error before? Thanks a lot. Bo I copied the output as following: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $ WebKit/WebKitTools/Scripts/build-webkit Subroutine main::tmpfile redefined at /usr/lib/perl5/5.8/Exporter.pm line 65. at /usr/lib/perl5/5.8/cygwin/POSIX.pm line 19 Subroutine main::tmpnam redefined at /usr/lib/perl5/5.8/Exporter.pm line 65. at /usr/lib/perl5/5.8/cygwin/POSIX.pm line 19 Checking mod-date of WebKitSupportLibrary.zip... Current WebKitSupportLibrary is up to date Use of uninitialized value in concatenation (.) or string at /cygdrive/c/Documen ts and Settings/bzhang/WebKit/WebKitTools/Scripts/webkitdirs.pm line 363. Building results into: /cygdrive/c/Documents and Settings/bzhang/WebKit/WebKitBu ild WEBKITOUTPUTDIR is set to: c:\Documents and Settings\bzhang\WebKit\WebKitBuild WEBKITLIBRARIESDIR is set to: c:\Documents and Settings\bzhang\WebKit\WebKitLibr aries\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: JavaScriptCoreGenerated, Configuration: Release W in32 ------ Performing Makefile project actions xcopy /y/d/e/i "..\..\..\WebKitLibraries\win\tools" "c:\Documents and Settings\ bzhang\WebKit\WebKitLibraries\win\tools" Cannot perform a cyclic copy 0 File(s) copied set PATH=%PATH%;%SystemDrive%\cygwin\bin touch "c:\Documents and Settings\bzhang\WebKit\WebKitBuild\buildfailed" bash build-generated-files.sh "c:\Documents and Settings\bzhang\WebKit\WebKitBu ild" "c:\Documents and Settings\bzhang\WebKit\WebKitLibraries\win" make: Nothing to be done for `all'. mkdir 2>NUL "c:\Documents and Settings\bzhang\WebKit\WebKitBuild\include\JavaSc riptCore\JavaScriptCore" xcopy /y /d "..\..\API\APICast.h" "c:\Documents and Settings\bzhang\WebKit\WebK itBuild\include\JavaScriptCore\JavaScriptCore" 0 File(s) copied xcopy /y /d "..\..\API\JavaScript.h" "c:\Documents and Settings\bzhang\WebKit\W ebKitBuild\include\JavaScriptCore\JavaScriptCore" 0 File(s) copied xcopy /y /d "..\..\API\JSBase.h" "c:\Documents and Settings\bzhang\WebKit\WebKi tBuild\include\JavaScriptCore\JavaScriptCore" 0 File(s) copied xcopy /y /d "..\..\API\JSContextRef.h" "c:\Documents and Settings\bzhang\WebKit \WebKitBuild\include\JavaScriptCore\JavaScriptCore" 0 File(s) copied xcopy /y /d "..\..\API\JSObjectRef.h" "c:\Documents and Settings\bzhang\WebKit\ WebKitBuild\include\JavaScriptCore\JavaScriptCore" 0 File(s) copied xcopy /y /d "..\..\API\JSStringRef.h" "c:\Documents and Settings\bzhang\WebKit\ WebKitBuild\include\JavaScriptCore\JavaScriptCore" 0 File(s) copied xcopy /y /d "..\..\API\JSStringRefCF.h" "c:\Documents and Settings\bzhang\WebKi t\WebKitBuild\include\JavaScriptCore\JavaScriptCore" 0 File(s) copied xcopy /y /d "..\..\API\JSStringRefBSTR.h" "c:\Documents and Settings\bzhang\Web Kit\WebKitBuild\include\JavaScriptCore\JavaScriptCore" 0 File(s) copied xcopy /y /d "..\..\API\JSValueRef.h" "c:\Documents and Settings\bzhang\WebKit\W ebKitBuild\include\JavaScriptCore\JavaScriptCore" 0 File(s) copied xcopy /y /d "..\..\API\JavaScriptCore.h" "c:\Documents and Settings\bzhang\WebK it\WebKitBuild\include\JavaScriptCore\JavaScriptCore" 0 File(s) copied xcopy /y /d "..\..\API\JSRetainPtr.h" "c:\Documents and Settings\bzhang\WebKit\ WebKitBuild\include\JavaScriptCore\JavaScriptCore" 0 File(s) copied del "c:\Documents and Settings\bzhang\WebKit\WebKitBuild\buildfailed" Build log was saved at "file://c:\Documents and Settings\bzhang\WebKit\WebKitBui ld\obj\JavaScriptCoreGenerated\Release\BuildLog.htm" JavaScriptCoreGenerated - 0 error(s), 0 warning(s) ------ Build started: Project: WebCoreGenerated, Configuration: Release Win32 -- ---- Performing Makefile project actions (rm JSRGBColor.cpp JSRGBColor.h 2> /dev/null && /cygdrive/c/DOCUME~1/bzhang/WebK it/WEBKIT~4/include/JavaScriptCore/create_hash_table /cygdrive/c/DOCUME~1/bzhang /WebKit/WebCore/bindings/js/JSRGBColor.cpp > JSRGBColor.lut.h) || echo -n make: Nothing to be done for `all'. Build log was saved at "file://c:\Documents and Settings\bzhang\WebKit\WebKitBui ld\obj\WebCoreGenerated\Release\BuildLog.htm" WebCoreGenerated - 0 error(s), 0 warning(s) ------ Build started: Project: QTMovieWin, Configuration: Release Win32 ------ Performing Pre-Build Event... Compiling... QTMovieWin.cpp C:\Program Files\QuickTime SDK\cincludes\ConditionalMacros.h : error C2220: warn ing treated as error - no 'object' file generated C:\Program Files\QuickTime SDK\cincludes\ConditionalMacros.h : warning C4819: Th e file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss C:\Program Files\QuickTime SDK\cincludes\Multiprocessing.h : warning C4819: The file contains a character that cannot be represented in the current code page (9 36). Save the file in Unicode format to prevent data loss C:\Program Files\QuickTime SDK\cincludes\AssertMacros.h : warning C4819: The fil e contains a character that cannot be represented in the current code page (936) . Save the file in Unicode format to prevent data loss C:\Program Files\QuickTime SDK\cincludes\TargetConditionals.h : warning C4819: T he file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss c:\program files\quicktime sdk\cincludes\ConditionalMacros.h : warning C4819: Th e file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss C:\Program Files\QuickTime SDK\cincludes\TargetConditionals.h : warning C4819: T he file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss C:\Program Files\QuickTime SDK\cincludes\TargetConditionals.h : warning C4819: T he file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss C:\Program Files\QuickTime SDK\cincludes\TargetConditionals.h : warning C4819: T he file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss C:\Program Files\QuickTime SDK\cincludes\TargetConditionals.h : warning C4819: T he file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss C:\Program Files\QuickTime SDK\cincludes\TargetConditionals.h : warning C4819: T he file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss C:\Program Files\QuickTime SDK\cincludes\TargetConditionals.h : warning C4819: T he file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss C:\Program Files\QuickTime SDK\cincludes\TargetConditionals.h : warning C4819: T he file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss C:\Program Files\QuickTime SDK\cincludes\TargetConditionals.h : warning C4819: T he file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss C:\Program Files\QuickTime SDK\cincludes\TargetConditionals.h : warning C4819: T he file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss C:\Program Files\QuickTime SDK\cincludes\TargetConditionals.h : warning C4819: T he file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss Project : warning PRJ0018 : The following environment variables were not found: $(PRODUCTION) Build log was saved at "file://c:\Documents and Settings\bzhang\WebKit\WebKitBui ld\obj\QTMovieWin\Release\BuildLog.htm" QTMovieWin - 1 error(s), 15 warning(s) ------ Build started: Project: InterfacesGenerated, Configuration: Release Win32 ------ Performing Makefile project actions make: Nothing to be done for `all'. Build log was saved at "file://c:\Documents and Settings\bzhang\WebKit\WebKitBui ld\obj\InterfacesGenerated\Release\BuildLog.htm" InterfacesGenerated - 0 error(s), 0 warning(s) ------ 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 File not found - * 0 File(s) copied Compiling... WebInspectorClient.cpp WebFrameLoaderClient.cpp WebEditorClient.cpp WebDragClient.cpp WebContextMenuClient.cpp WebChromeClient.cpp WebView.cpp WebScriptDebugServer.cpp WebInspector.cpp WebHTMLRepresentation.cpp WebFramePolicyListener.cpp WebFrame.cpp ..\WebFrame.cpp(246) : error C2259: 'WebFrame' : cannot instantiate abstract cla ss due to following members: 'void WebCore::FrameLoaderClient::clearUnarchivingState(WebCore::Documen tLoader *)' : is abstract c:\Documents and Settings\bzhang\WebKit\WebKitBuild\Include\WebCore/Fram eLoaderClient.h(133) : see declaration of 'WebCore::FrameLoaderClient::clearUnar chivingState' 'void WebCore::FrameLoaderClient::finalSetupForReplace(WebCore::Document Loader *)' : is abstract c:\Documents and Settings\bzhang\WebKit\WebKitBuild\Include\WebCore/Fram eLoaderClient.h(151) : see declaration of 'WebCore::FrameLoaderClient::finalSetu pForReplace' 'void WebCore::FrameLoaderClient::setDefersLoading(bool)' : is abstract c:\Documents and Settings\bzhang\WebKit\WebKitBuild\Include\WebCore/Fram eLoaderClient.h(166) : see declaration of 'WebCore::FrameLoaderClient::setDefers Loading' 'bool WebCore::FrameLoaderClient::willUseArchive(WebCore::ResourceLoader *,const WebCore::ResourceRequest &,const WebCore::KURL &) const' : is abstract c:\Documents and Settings\bzhang\WebKit\WebKitBuild\Include\WebCore/Fram eLoaderClient.h(168) : see declaration of 'WebCore::FrameLoaderClient::willUseAr chive' 'bool WebCore::FrameLoaderClient::isArchiveLoadPending(WebCore::Resource Loader *) const' : is abstract c:\Documents and Settings\bzhang\WebKit\WebKitBuild\Include\WebCore/Fram eLoaderClient.h(169) : see declaration of 'WebCore::FrameLoaderClient::isArchive LoadPending' 'void WebCore::FrameLoaderClient::cancelPendingArchiveLoad(WebCore::Reso urceLoader *)' : is abstract c:\Documents and Settings\bzhang\WebKit\WebKitBuild\Include\WebCore/Fram eLoaderClient.h(170) : see declaration of 'WebCore::FrameLoaderClient::cancelPen dingArchiveLoad' 'void WebCore::FrameLoaderClient::clearArchivedResources(void)' : is abs tract c:\Documents and Settings\bzhang\WebKit\WebKitBuild\Include\WebCore/Fram eLoaderClient.h(171) : see declaration of 'WebCore::FrameLoaderClient::clearArch ivedResources' WebElementPropertyBag.cpp WebDropSource.cpp WebDataSource.cpp WebBackForwardList.cpp WebNodeHighlight.cpp WebKitDLL.cpp WebKitClassFactory.cpp WebCoreLocalizedStrings.cpp ..\WebCoreLocalizedStrings.cpp : error C2220: warning treated as error - no 'obj ect' file generated ..\WebCoreLocalizedStrings.cpp : warning C4819: The file contains a character th at cannot be represented in the current code page (936). Save the file in Unicod e format to prevent data loss Project : warning PRJ0018 : The following environment variables were not found: $(PRODUCTION) Build log was saved at "file://c:\Documents and Settings\bzhang\WebKit\WebKitBui ld\obj\WebKit\Release\BuildLog.htm" WebKit - 2 error(s), 2 warning(s) ------ Build started: Project: testkjs, Configuration: Release Win32 ------ Performing Pre-Build Event... Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd. exe'. Project : warning PRJ0018 : The following environment variables were not found: $(PRODUCTION) Build log was saved at "file://c:\Documents and Settings\bzhang\WebKit\WebKitBui ld\obj\testkjs\Release\BuildLog.htm" testkjs - 1 error(s), 0 warning(s) ------ Build started: Project: TestNetscapePlugin, Configuration: Release Win32 ------ Performing Pre-Build Event... Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd. exe'. Project : warning PRJ0018 : The following environment variables were not found: $(PRODUCTION) Build log was saved at "file://c:\Documents and Settings\bzhang\WebKit\WebKitBui ld\obj\TestNetscapePlugin\Release\BuildLog.htm" TestNetscapePlugin - 1 error(s), 0 warning(s) ------ Build started: Project: DumpRenderTree, Configuration: Release Win32 ---- -- Performing Pre-Build Event... Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd. exe'. Project : warning PRJ0018 : The following environment variables were not found: $(PRODUCTION) Build log was saved at "file://c:\Documents and Settings\bzhang\WebKit\WebKitBui ld\obj\DumpRenderTree\Release\BuildLog.htm" DumpRenderTree - 1 error(s), 0 warning(s) ------ Build started: Project: Drosera, Configuration: Release Win32 ------ Performing Pre-Build Event... Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd. exe'. Project : warning PRJ0018 : The following environment variables were not found: $(PRODUCTION) Build log was saved at "file://c:\Documents and Settings\bzhang\WebKit\WebKitBui ld\obj\Drosera\Release\BuildLog.htm" Drosera - 1 error(s), 0 warning(s) ------ Build started: Project: WinLauncher, Configuration: Release Win32 ------ Performing Pre-Link Event... Linking... LINK : fatal error LNK1181: cannot open input file 'WebKit.lib' Project : warning PRJ0018 : The following environment variables were not found: $(PRODUCTION) Build log was saved at "file://c:\Documents and Settings\bzhang\WebKit\WebKitBui ld\obj\WinLauncher\Release\BuildLog.htm" WinLauncher - 1 error(s), 0 warning(s) ========== Build: 3 succeeded, 7 failed, 7 up-to-date, 0 skipped ========== ===== BUILD FAILED ====== Please ensure you have run WebKit/WebKitTools/Scripts/update-webkit to install d epenedencies. You can view build errors by checking the BuildLog.htm files located at: /cygdrive/c/Documents and Settings/bzhang/WebKit/WebKitBuild/obj/<project>/<conf ig>.
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev