[webkit-dev] Set up Webkit under XCode in MacOS
ying lcs
yinglcs at gmail.com
Thu Feb 19 23:49:50 PST 2009
Hi,
I was able to get the Webkit code from svn and compile using command
line in MacOS 10.5
But when I was following http://webkit.org/building/debug.html to
setup Webkit project under MacOS, I get compile errors.
Here is what i did:
1. open Webkit's XCode project
2. Add a 'new custom executable' and select 'Applications/Safari.app'
and use this as my 'active executable'
But when I click 'Build and Go',
I get these error. Can anyone please help?
/bin/sh -c /Volumes/android/WebKit/WebKit/build/WebKit.build/Debug/WebKit.build/Script-1C6CB0510AA63EB000D23BFD.sh
make: *** No rule to make target
`/Volumes/android/WebKit/WebKit/build/Debug/WebKit.framework/Versions/A/Headers/DOM.h',
needed by `all'. Stop.
make: *** No rule to make target
`/Volumes/android/WebKit/WebKit/build/Debug/WebKit.framework/Versions/A/Headers/DOM.h',
needed by `all'. Stop.
make: *** No rule to make target
`/Volumes/android/WebKit/WebKit/build/Debug/WebKit.framework/Versions/A/Headers/DOM.h',
needed by `all'. Stop.
cd /Volumes/android/WebKit/WebKit
/Developer/usr/bin/gcc-4.2 -x objective-c-header -arch i386
-fmessage-length=0 -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings
-fasm-blocks -O0 -Werror -Wmissing-prototypes -Wnewline-eof
-DDISABLE_THREAD_CHECK -DENABLE_WEBKIT_UNSET_DYLD_FRAMEWORK_PATH
-DENABLE_DATABASE -DENABLE_DOM_STORAGE -DENABLE_ICONDATABASE
-DENABLE_OFFLINE_WEB_APPLICATIONS -DENABLE_SVG -DENABLE_SVG_ANIMATION
-DENABLE_SVG_AS_IMAGE -DENABLE_SVG_FONTS -DENABLE_SVG_FOREIGN_OBJECT
-DENABLE_SVG_USE -DENABLE_VIDEO -DENABLE_WORKERS -DENABLE_XPATH
-DENABLE_XSLT -DFRAMEWORK_NAME=WebKit
-DWEBKIT_VERSION_MIN_REQUIRED=WEBKIT_VERSION_LATEST -fobjc-gc
-mmacosx-version-min=10.5 -gdwarf-2
-I/Volumes/android/WebKit/WebKit/build/WebKit.build/Debug/WebKit.build/WebKit.hmap
-Wall -Wextra -Wcast-align -Wchar-subscripts -Wextra-tokens
-Wformat-security -Winit-self -Wmissing-format-attribute
-Wmissing-noreturn -Wno-unused-parameter -Wpacked -Wpointer-arith
-Wredundant-decls -Wundef -Wwrite-strings
-F/Volumes/android/WebKit/WebKit/build/Debug
-F/Volumes/android/WebKit/WebKit/build/Debug
-F/System/Library/Frameworks/ApplicationServices.framework/Frameworks
-F/System/Library/Frameworks/Carbon.framework/Frameworks
-F/System/Library/Frameworks/Quartz.framework/Frameworks
-F/System/Library/PrivateFrameworks
-I/Volumes/android/WebKit/WebKit/build/Debug/include
-I/Volumes/android/WebKit/WebKit/build/Debug/WebCore.framework/PrivateHeaders/ForwardingHeaders
-I/Volumes/android/WebKit/WebKit/build/Debug/WebCore.framework/PrivateHeaders/icu
-I/Volumes/android/WebKit/WebKit/build/Debug/usr/local/include
-I/Volumes/android/WebKit/WebKit/build/Debug/DerivedSources/WebKit
-I/Volumes/android/WebKit/WebKit/build/WebKit.build/Debug/WebKit.build/DerivedSources
-c /Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h -o
/var/folders/1X/1XIBkakQFzee3soi62jNiU+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/WebKitPrefix-gwdfxfxyuytejvdtahlanmxyseeu/WebKitPrefix.h.gch
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:84:26: error:
wtf/Platform.h: No such file or directory
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:95:31: error:
wtf/DisallowCType.h: No such file or directory
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:84:26: error:
wtf/Platform.h: No such file or directory
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:95:31: error:
wtf/DisallowCType.h: No such file or directory
cd /Volumes/android/WebKit/WebKit
/Developer/usr/bin/gcc-4.2 -x objective-c++-header -arch i386
-fmessage-length=0 -pipe -Wno-trigraphs -fno-exceptions -fno-rtti
-fpascal-strings -fasm-blocks -O0 -Werror -Wnon-virtual-dtor
-Wnewline-eof -DDISABLE_THREAD_CHECK
-DENABLE_WEBKIT_UNSET_DYLD_FRAMEWORK_PATH -DENABLE_DATABASE
-DENABLE_DOM_STORAGE -DENABLE_ICONDATABASE
-DENABLE_OFFLINE_WEB_APPLICATIONS -DENABLE_SVG -DENABLE_SVG_ANIMATION
-DENABLE_SVG_AS_IMAGE -DENABLE_SVG_FONTS -DENABLE_SVG_FOREIGN_OBJECT
-DENABLE_SVG_USE -DENABLE_VIDEO -DENABLE_WORKERS -DENABLE_XPATH
-DENABLE_XSLT -DFRAMEWORK_NAME=WebKit
-DWEBKIT_VERSION_MIN_REQUIRED=WEBKIT_VERSION_LATEST -fobjc-gc
-fvisibility-inlines-hidden -fobjc-call-cxx-cdtors
-fno-threadsafe-statics -mmacosx-version-min=10.5 -gdwarf-2
-I/Volumes/android/WebKit/WebKit/build/WebKit.build/Debug/WebKit.build/WebKit.hmap
-Wall -Wextra -Wcast-align -Wchar-subscripts -Wextra-tokens
-Wformat-security -Winit-self -Wmissing-format-attribute
-Wmissing-noreturn -Wno-unused-parameter -Wpacked -Wpointer-arith
-Wredundant-decls -Wundef -Wwrite-strings
-F/Volumes/android/WebKit/WebKit/build/Debug
-F/Volumes/android/WebKit/WebKit/build/Debug
-F/System/Library/Frameworks/ApplicationServices.framework/Frameworks
-F/System/Library/Frameworks/Carbon.framework/Frameworks
-F/System/Library/Frameworks/Quartz.framework/Frameworks
-F/System/Library/PrivateFrameworks
-I/Volumes/android/WebKit/WebKit/build/Debug/include
-I/Volumes/android/WebKit/WebKit/build/Debug/WebCore.framework/PrivateHeaders/ForwardingHeaders
-I/Volumes/android/WebKit/WebKit/build/Debug/WebCore.framework/PrivateHeaders/icu
-I/Volumes/android/WebKit/WebKit/build/Debug/usr/local/include
-I/Volumes/android/WebKit/WebKit/build/Debug/DerivedSources/WebKit
-I/Volumes/android/WebKit/WebKit/build/WebKit.build/Debug/WebKit.build/DerivedSources
-c /Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h -o
/var/folders/1X/1XIBkakQFzee3soi62jNiU+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/WebKitPrefix-datrohtbcrfcbmccceujqjoysxjb/WebKitPrefix.h.gch
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:84:26: error:
wtf/Platform.h: No such file or directory
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:92:28: error:
wtf/FastMalloc.h: No such file or directory
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:95:31: error:
wtf/DisallowCType.h: No such file or directory
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:84:26: error:
wtf/Platform.h: No such file or directory
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:92:28: error:
wtf/FastMalloc.h: No such file or directory
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:95:31: error:
wtf/DisallowCType.h: No such file or directory
cd /Volumes/android/WebKit/WebKit
/Developer/usr/bin/gcc-4.2 -x c-header -arch i386
-fmessage-length=0 -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings
-fasm-blocks -O0 -Werror -Wmissing-prototypes -Wnewline-eof
-DDISABLE_THREAD_CHECK -DENABLE_WEBKIT_UNSET_DYLD_FRAMEWORK_PATH
-DENABLE_DATABASE -DENABLE_DOM_STORAGE -DENABLE_ICONDATABASE
-DENABLE_OFFLINE_WEB_APPLICATIONS -DENABLE_SVG -DENABLE_SVG_ANIMATION
-DENABLE_SVG_AS_IMAGE -DENABLE_SVG_FONTS -DENABLE_SVG_FOREIGN_OBJECT
-DENABLE_SVG_USE -DENABLE_VIDEO -DENABLE_WORKERS -DENABLE_XPATH
-DENABLE_XSLT -DFRAMEWORK_NAME=WebKit
-DWEBKIT_VERSION_MIN_REQUIRED=WEBKIT_VERSION_LATEST
-mmacosx-version-min=10.5 -gdwarf-2
-I/Volumes/android/WebKit/WebKit/build/WebKit.build/Debug/WebKit.build/WebKit.hmap
-Wall -Wextra -Wcast-align -Wchar-subscripts -Wextra-tokens
-Wformat-security -Winit-self -Wmissing-format-attribute
-Wmissing-noreturn -Wno-unused-parameter -Wpacked -Wpointer-arith
-Wredundant-decls -Wundef -Wwrite-strings
-F/Volumes/android/WebKit/WebKit/build/Debug
-F/Volumes/android/WebKit/WebKit/build/Debug
-F/System/Library/Frameworks/ApplicationServices.framework/Frameworks
-F/System/Library/Frameworks/Carbon.framework/Frameworks
-F/System/Library/Frameworks/Quartz.framework/Frameworks
-F/System/Library/PrivateFrameworks
-I/Volumes/android/WebKit/WebKit/build/Debug/include
-I/Volumes/android/WebKit/WebKit/build/Debug/WebCore.framework/PrivateHeaders/ForwardingHeaders
-I/Volumes/android/WebKit/WebKit/build/Debug/WebCore.framework/PrivateHeaders/icu
-I/Volumes/android/WebKit/WebKit/build/Debug/usr/local/include
-I/Volumes/android/WebKit/WebKit/build/Debug/DerivedSources/WebKit
-I/Volumes/android/WebKit/WebKit/build/WebKit.build/Debug/WebKit.build/DerivedSources
-c /Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h -o
/var/folders/1X/1XIBkakQFzee3soi62jNiU+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/WebKitPrefix-bvrobiqnfoczpzdukirxuiukswol/WebKitPrefix.h.gch
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:84:26: error:
wtf/Platform.h: No such file or directory
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:95:31: error:
wtf/DisallowCType.h: No such file or directory
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:84:26: error:
wtf/Platform.h: No such file or directory
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:95:31: error:
wtf/DisallowCType.h: No such file or directory
cd /Volumes/android/WebKit/WebKit
/Developer/usr/bin/gcc-4.2 -x c++-header -arch i386
-fmessage-length=0 -pipe -Wno-trigraphs -fno-exceptions -fno-rtti
-fpascal-strings -fasm-blocks -O0 -Werror -Wnon-virtual-dtor
-Wnewline-eof -DDISABLE_THREAD_CHECK
-DENABLE_WEBKIT_UNSET_DYLD_FRAMEWORK_PATH -DENABLE_DATABASE
-DENABLE_DOM_STORAGE -DENABLE_ICONDATABASE
-DENABLE_OFFLINE_WEB_APPLICATIONS -DENABLE_SVG -DENABLE_SVG_ANIMATION
-DENABLE_SVG_AS_IMAGE -DENABLE_SVG_FONTS -DENABLE_SVG_FOREIGN_OBJECT
-DENABLE_SVG_USE -DENABLE_VIDEO -DENABLE_WORKERS -DENABLE_XPATH
-DENABLE_XSLT -DFRAMEWORK_NAME=WebKit
-DWEBKIT_VERSION_MIN_REQUIRED=WEBKIT_VERSION_LATEST
-fvisibility-inlines-hidden -fno-threadsafe-statics
-mmacosx-version-min=10.5 -gdwarf-2
-I/Volumes/android/WebKit/WebKit/build/WebKit.build/Debug/WebKit.build/WebKit.hmap
-Wall -Wextra -Wcast-align -Wchar-subscripts -Wextra-tokens
-Wformat-security -Winit-self -Wmissing-format-attribute
-Wmissing-noreturn -Wno-unused-parameter -Wpacked -Wpointer-arith
-Wredundant-decls -Wundef -Wwrite-strings
-F/Volumes/android/WebKit/WebKit/build/Debug
-F/Volumes/android/WebKit/WebKit/build/Debug
-F/System/Library/Frameworks/ApplicationServices.framework/Frameworks
-F/System/Library/Frameworks/Carbon.framework/Frameworks
-F/System/Library/Frameworks/Quartz.framework/Frameworks
-F/System/Library/PrivateFrameworks
-I/Volumes/android/WebKit/WebKit/build/Debug/include
-I/Volumes/android/WebKit/WebKit/build/Debug/WebCore.framework/PrivateHeaders/ForwardingHeaders
-I/Volumes/android/WebKit/WebKit/build/Debug/WebCore.framework/PrivateHeaders/icu
-I/Volumes/android/WebKit/WebKit/build/Debug/usr/local/include
-I/Volumes/android/WebKit/WebKit/build/Debug/DerivedSources/WebKit
-I/Volumes/android/WebKit/WebKit/build/WebKit.build/Debug/WebKit.build/DerivedSources
-c /Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h -o
/var/folders/1X/1XIBkakQFzee3soi62jNiU+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/WebKitPrefix-fudvxagmcigvhpggqurmbjzwbjvl/WebKitPrefix.h.gch
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:84:26: error:
wtf/Platform.h: No such file or directory
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:92:28: error:
wtf/FastMalloc.h: No such file or directory
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:95:31: error:
wtf/DisallowCType.h: No such file or directory
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:84:26: error:
wtf/Platform.h: No such file or directory
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:92:28: error:
wtf/FastMalloc.h: No such file or directory
/Volumes/android/WebKit/WebKit/mac/WebKitPrefix.h:95:31: error:
wtf/DisallowCType.h: No such file or directory
Build failed (11 errors)
More information about the webkit-dev
mailing list