Bug 60636
Summary: | missing stdint.h error in MimeSniffing.cpp | ||
---|---|---|---|
Product: | WebKit | Reporter: | abaldeva |
Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | jturcotte |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Windows XP |
abaldeva
As per Benjamin Poulain's recommendation, filing a bug here.
For QtWebKit, I downloaded the latest source code from the WebKit trunk and installed the required tools for building QtWebKit(except make). I did not install any Windows build tools as I don't believe they are required. I am using Qt-4.7.1 and VS 2008. I opened a VS2008 command prompt and ran the build-webkit --qt --release script command. After building for a long time, I am seeing the compile error mentioned in the subject line (Missing stdint.h while compiling MineSniffing.cpp). I know VS2008 does not ship with that header but JavaScriptCore does. Any ideas why I am seeing this error?
I modified the source file to include <os-win32/stdint.h> and that seems to have resolved the compile issue. Strange though that some other places in WebCore are including <stdint.h> directly. And I get a successful link resulting in QtWebKit4.dll in the WebKitBuild\Release\bin directory.
However, I am seeing following linker error after that. Any ideas?
link /LIBPATH:"c:\WebKit_trunk\WebKit-SVN-source\webkit\WebKitBuild\Release\lib" /LIBPATH:"c:\Qt\4.7.1\lib" /NOLOGO /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:"obj/release\tst_qdeclarativewebview.intermediate.manifest" /SUBSYSTEM:CONSOLE /OUT:release\tst_qdeclarativewebview.exe @C:\DOCUME~1\abaldeva\LOCALS~1\Temp\nm11D.tmp
tst_qdeclarativewebview.obj : error LNK2019: unresolved external symbol "public: static struct QMetaObject const QDeclarativeWebView::staticMetaObject" (?staticMetaObject@QDeclarativeWebView@@2UQMetaObject@@B) referenced in function "class QDeclarativeWebView * __cdecl qobject_cast<class QDeclarativeWebView *>(class QObject *)" (??$qobject_cast@PAVQDeclarativeWebView@@@@YAPAVQDeclarativeWebView@@PAVQObject@@@Z)
release\tst_qdeclarativewebview.exe : fatal error LNK1120: 1 unresolved externals
Your help is appreciated.
Thanks.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Jocelyn Turcotte
Thanks, the compile and link errors have been fixed in these commits:
Committed r86437: <http://trac.webkit.org/changeset/86437>
Committed r86438: <http://trac.webkit.org/changeset/86438>