[webkit-help] no WebKit2.h
Yanke (Yon) Hu
huyanke at gmail.com
Wed Sep 21 11:24:40 PDT 2011
hi Guys,
I downloaded the nightly build windows and source from
http://nightly.webkit.org/
In nightly build source, there is a vs2005 sln file in
\Source\WebKit\win\WebKit.vcproj.
I opended it in VS2005, and I only want to build a single MiniBrowser
project, so I set MiniBrowser as Startup project. And I click Build
only MiniBrowser, it prompt out some errors like:
1>BrowserView.cpp
1>c:\users\yhu\desktop\webkit_night\webkit-r95607\webkit-r95607\tools\minibrowser\win\BrowserView.h(29)
: fatal error C1083: Cannot open include file: 'WebKit2/WebKit2.h': No such
file or directory
1>BrowserWindow.cpp
1>c:\users\yhu\desktop\webkit_night\webkit-r95607\webkit-r95607\tools\minibrowser\win\BrowserView.h(29)
: fatal error C1083: Cannot open include file: 'WebKit2/WebKit2.h': No such
file or directory
1>main.cpp
1>c:\users\yhu\desktop\webkit_night\webkit-r95607\webkit-r95607\tools\minibrowser\win\BrowserView.h(29)
: fatal error C1083: Cannot open include file: 'WebKit2/WebKit2.h': No such
file or directory
1>MiniBrowser.cpp
1>c:\users\yhu\desktop\webkit_night\webkit-r95607\webkit-r95607\tools\minibrowser\win\BrowserView.h(29)
: fatal error C1083: Cannot open include file: 'WebKit2/WebKit2.h': No such
file or directory
And I definitely cannot find any file named WebKit2.h ..... It's said
MiniBrowser is the only sample about how to use WebKit2 to implement a
simple browser.
There is only a WebKit2Prefix.h in the WebKit2 folder, if I change the
#include <WebKit2/WebKit2.h>
to
#include <WebKit2/WebKit2Prefix.h>
There will be more errors like this:
1>BrowserView.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(53) :
error C2544: expected ')' for operator '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(53) :
error C2143: syntax error : missing ';' before 'string'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(53) :
warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(53) :
error C2182: '()' : illegal use of type 'void'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(53) :
error C2059: syntax error : ')'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(63) :
error C2544: expected ')' for operator '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(63) :
error C2143: syntax error : missing ';' before 'string'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(63) :
warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(63) :
error C2182: '()' : illegal use of type 'void'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(63) :
error C2433: '()' : 'inline' not permitted on data declarations
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(63) :
error C2086: 'int ()' : redefinition
1> C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\new(53) : see declaration of '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(63) :
error C2059: syntax error : ')'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(64) :
error C2143: syntax error : missing ';' before '{'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(64) :
error C2447: '{' : missing function header (old-style formal list?)
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(75) :
error C2544: expected ')' for operator '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(75) :
error C2143: syntax error : missing ';' before 'string'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(75) :
warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(75) :
error C2182: '()' : illegal use of type 'void'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(75) :
error C2433: '()' : 'inline' not permitted on data declarations
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(75) :
error C2086: 'int ()' : redefinition
1> C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\new(53) : see declaration of '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(75) :
error C2059: syntax error : ')'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(76) :
error C2143: syntax error : missing ';' before '{'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(76) :
error C2447: '{' : missing function header (old-style formal list?)
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(80) :
error C2544: expected ')' for operator '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(80) :
error C2143: syntax error : missing ';' before 'string'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(80) :
warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(80) :
error C2182: '()' : illegal use of type 'void'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(80) :
error C2086: 'int ()' : redefinition
1> C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\new(53) : see declaration of '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(80) :
error C2059: syntax error : ')'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(93) :
error C2544: expected ')' for operator '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(93) :
error C2143: syntax error : missing ';' before 'string'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(93) :
warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(93) :
error C2182: '()' : illegal use of type 'void'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(93) :
error C2086: 'int ()' : redefinition
1> C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\new(53) : see declaration of '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(93) :
error C2059: syntax error : ')'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(96) :
error C2544: expected ')' for operator '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(96) :
error C2143: syntax error : missing ';' before 'string'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(96) :
warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(96) :
error C2182: '()' : illegal use of type 'void'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(96) :
error C2086: 'int ()' : redefinition
1> C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\new(53) : see declaration of '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\new(96) :
error C2059: syntax error : ')'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1118)
: error C2544: expected ')' for operator '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1118)
: error C2143: syntax error : missing ';' before 'string'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1118)
: warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1118)
: error C2040: '()' : 'void *' differs in levels of indirection from 'int'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1118)
: error C2059: syntax error : ')'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1120)
: error C2544: expected ')' for operator '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1120)
: error C2143: syntax error : missing ';' before 'string'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1120)
: warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1120)
: error C2040: '()' : 'void *' differs in levels of indirection from 'int'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1120)
: error C2059: syntax error : ')'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1127)
: error C2544: expected ')' for operator '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1127)
: error C2143: syntax error : missing ';' before 'string'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1127)
: warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1127)
: error C2040: '()' : 'void *' differs in levels of indirection from 'int'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1127)
: error C2059: syntax error : ')'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1135)
: error C2544: expected ')' for operator '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1135)
: error C2143: syntax error : missing ';' before 'string'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1135)
: warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1135)
: error C2182: '()' : illegal use of type 'void'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1135)
: error C2086: 'int ()' : redefinition
1> C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\new(53) : see declaration of '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1135)
: error C2059: syntax error : ')'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1137)
: error C2544: expected ')' for operator '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1137)
: error C2143: syntax error : missing ';' before 'string'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1137)
: warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1137)
: error C2182: '()' : illegal use of type 'void'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1137)
: error C2433: '()' : 'inline' not permitted on data declarations
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1137)
: error C2086: 'int ()' : redefinition
1> C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\new(53) : see declaration of '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1137)
: error C2059: syntax error : ')'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1138)
: error C2143: syntax error : missing ';' before '{'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1138)
: error C2447: '{' : missing function header (old-style formal list?)
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1140)
: error C2544: expected ')' for operator '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1140)
: error C2143: syntax error : missing ';' before 'string'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1140)
: warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1140)
: error C2182: '()' : illegal use of type 'void'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1140)
: error C2433: '()' : 'inline' not permitted on data declarations
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1140)
: error C2086: 'int ()' : redefinition
1> C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\new(53) : see declaration of '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1140)
: error C2059: syntax error : ')'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1141)
: error C2143: syntax error : missing ';' before '{'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdbg.h(1141)
: error C2447: '{' : missing function header (old-style formal list?)
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\xdebug(32) :
error C2544: expected ')' for operator '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\xdebug(32) :
error C2143: syntax error : missing ';' before 'string'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\xdebug(32) :
warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\xdebug(32) :
error C2040: '()' : 'void *' differs in levels of indirection from 'int'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\xdebug(32) :
error C2059: syntax error : ')'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\xdebug(36) :
error C2544: expected ')' for operator '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\xdebug(36) :
error C2143: syntax error : missing ';' before 'string'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\xdebug(36) :
warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\xdebug(36) :
error C2040: '()' : 'void *' differs in levels of indirection from 'int'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\xdebug(36) :
error C2059: syntax error : ')'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\xdebug(40) :
error C2544: expected ')' for operator '()'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\xdebug(40) :
error C2143: syntax error : missing ';' before 'string'
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\xdebug(40) :
warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\xdebug(40) :
error C2182: '()' : illegal use of type 'void'
Thanks for any help, and have a great day!!
--
Yanke Hu
phone: (469) 644-8799
email: huyanke at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20110921/23914e86/attachment-0001.html>
More information about the webkit-help
mailing list