Re: [webkit-dev] Build Errors on windows
I believe that QtWebKit on win32 must be compiled via MinGW gcc, not Cygwin,... True for the Windows WebKitQt build target, but that build is also busted and has been since Friday PM, probably since the latest merge? I'm building on WXp with QT 4.3.2 installed. My build ends with this failure on the CSSFontFace.cpp compilation: cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DBUILDING_QT__=1-DUSE_SYSTEM_MALLOC -DBUILD_WEBKIT -DENABLE_ICONDATABASE=0 -DENABLE_XPATH=1 -DENABLE_SVG=1 -DWTF_CHANGES=1 -DBUILDING_QT__ -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DQT_DLL -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -Ic:\Qt\4.3.2\include\QtCore -Ic:\Qt\4.3.2\include\QtCore -Ic:\Qt\4.3.2\include\QtNetwork -Ic:\Qt\4.3.2\include\QtNetwork -Ic:\Qt\4.3.2\include\QtGui -Ic:\Qt\4.3.2\include\QtGui -Ic:\Qt\4.3.2\include\QtXml -Ic:\Qt\4.3.2\include\QtXml -Ic:\Qt\4.3.2\include -I..\..\..\WebKit\qt\Api -I..\..\..\JavaScriptCore -I..\..\..\JavaScriptCore\kjs -I..\..\..\JavaScriptCore\bindings -I..\..\..\JavaScriptCore\bindings\c -I..\..\..\JavaScriptCore\wtf -I..\..\..\JavaScriptCore\ForwardingHeaders -I..\..\..\WebCore -I..\..\..\WebCore\ForwardingHeaders -I..\..\..\WebCore\platform -I..\..\..\WebCore\platform\network -I..\..\..\WebCore\platform\graphics -I..\..\..\WebCore\loader -I..\..\..\WebCore\page -I..\..\..\WebCore\css -I..\..\..\WebCore\dom -I..\..\..\WebCore\bridge -I..\..\..\WebCore\editing -I..\..\..\WebCore\rendering -I..\..\..\WebCore\history -I..\..\..\WebCore\xml -I..\..\..\WebCore\html -Itmp -Itmp -Itmp -I..\..\..\JavaScriptCore -I..\..\..\JavaScriptCore\kjs -I..\..\..\JavaScriptCore\bindings-I..\..\..\JavaScriptCore\bindings\c -I..\..\..\JavaScriptCore\wtf -I..\..\..\JavaScriptCore\bindings\qt -I..\..\..\JavaScriptCore\os-win32 -I..\..\..\JavaScriptCore\pcre -I..\JavaScriptCore\kjs\tmp -I..\..\..\WebCore\platform\qt -I..\..\..\WebCore\platform\network\qt -I..\..\..\WebCore\platform\graphics\qt -I..\..\..\WebCore\platform\graphics\svg\qt -I..\..\..\WebCore\loader\qt -I..\..\..\WebCore\page\qt -I..\..\..\WebKit\qt\WebCoreSupport -I..\..\..\WebKit\qt\Api -I..\..\..\WebCore -I..\..\..\WebCore\ForwardingHeaders -I..\..\..\..\WebKit -I..\..\..\JavaScriptCore\kjs -I..\..\..\JavaScriptCore\bindings -I..\..\..\WebCore\platform -I..\..\..\WebCore\platform\network -I..\..\..\WebCore\platform\graphics -I..\..\..\WebCore\platform\graphics\svg -I..\..\..\WebCore\platform\graphics\svg\filters -I..\..\..\WebCore\loader -I..\..\..\WebCore\loader\icon -I..\..\..\WebCore\css -I..\..\..\WebCore\dom -I..\..\..\WebCore\page -I..\..\..\WebCore\bridge -I..\..\..\WebCore\editing -I..\..\..\WebCore\rendering -I..\..\..\WebCore\history -I..\..\..\WebCore\xml -I..\..\..\WebCore\html -I..\..\..\WebCore\bindings\js -I..\..\..\WebCore\ksvg2 -I..\..\..\WebCore\ksvg2\css -I..\..\..\WebCore\ksvg2\svg -I..\..\..\WebCore\ksvg2\misc -I..\..\..\WebCore\ksvg2\events -I..\..\..\WebCore\platform\image-decoders -Ic:\Qt\4.3.2\include\ActiveQt -Idebug -I..\..\..\WebCore -I. -Ic:\Qt\4.3.2\mkspecs\win32-msvc2005 -Fotmp\CSSFontFace.obj ..\..\..\WebCore\css\CSSFontFace.cpp CSSFontFace.cpp C:\users\kc\WebKit\WebCore\platform\FontData.h(26) : fatal error C1083: Cannot open include file: 'FontPlatformData.h': No such file or directory NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.EXE' : return code '0x2' Stop. NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. WEXITSTATUS is not a valid POSIX macro at WebKitTools\Scripts\build-webkit line 163 ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] WebKitQt build issue: pthread.h
Thanks for the info and links. I was hoping for more of a time-line, but it looks like that would be a bit premature for this project, eh? Seems to be in an early stage -- hence the home on trolltech's lab. The production build I was able to complete either crashed or rendered nothing at all. Unexpected, gmail.com was the only URL that did not crash for me in limited testing. And since I could not complete the debug build, I can't tell you much about the failure modes! I have had better results with earlier builds, so I'm guessing this is an anomaly. Common sense tells me WebKitQt will not be a viable option for us in the 6-9 month time-frame. But we are Qt-based and we really want a cross platform browser solution, so I may be able to offer some help -- provided there is some hope of hitting a stable release in our short horizon. Cheers, KC On 9/13/07, Adam Treat [EMAIL PROTECTED] wrote: On Thursday 13 September 2007, KC Jones wrote: The Windows Qt build is busted for me. Is this known, or have I muffed something? The compilation failure concerns pthread.h while compiling .\WebCore\dom\Document.cpp: [...]\WebKit\WebCore\platform\Threading.h(33) : fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory The file Threading.h was introduced in revision 25416 on Sep 7. I have heard no mention of this problem on this list. Is this a known bug? The windows version of QtWebKit is very new and hasn't received a lot of attention. I haven't event built it yet as I don't have a working windows machine. BTW, Simon/Lars, what is the plan for the buildbots now that Zack has left? Are you guys planning on providing a windows buildbot? Perhaps we can host host some buildbots at SCS... I tried reverting to revision 25415 (after parsing through the update-webkit script to do it by hand). The release target built successfully but was utterly unstable. The debug target, surprisingly, didn't build at all -- didn't even get to the compilation stage. Which makes me wonder... Is there a roadmap for the WebKitQt project that I have not seen on webkit.org? Are there branches or labeled versions that Here is the roadmap: http://trac.webkit.org/projects/webkit/wiki/QtWebKitTodo identify more stable source bases for various builds? Is this an No, there are no more stable branches. I have no idea whether the windows version of QtWebKit is 'utterly unstable', but I wouldn't describe the linux version that way at this point. appropriate forum for asking questions about the roadmap? I'm trying to Yes, this is the correct forum for these types of questions. And of course when it actually builds please report any bugs to the bugzilla or even better patches :) Cheers, Adam ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev
[webkit-dev] QtWebKit build issue: pathGetFilename
Newbie first post here. I really, really did not want to open with a I can't build it post, but c'est la vie. I am attempting to complete the QtWebKit build as described on the Wiki. It was humming along when it bombed out on a UDEF link error of PathFindFileName referenced by pathGetFilename in HTMLFormElement.cpp. The exact error message is below. When I look at /WebKit/WebCore/html/HTMLFormElement.cpp it looks fine. The problem code appears to have been introduce in Rev 25067 on 8/13. I don't yet know the build scripts well enough to suggest where the missing lib needs to be added, but the missing symbol comes from shlwapi.lib. Any suggestions on how to fix this? Cheers, KC Jones link /LIBPATH:c:\Qt\4.3.1\lib /NOLOGO /DEBUG /DLL /MANIFESTFILE:tmp\QtWebKit.intermediate.manifest /OUT:..\lib\QtWebKit.dll @C:\DOCUME~1\KJones\LOCALS~1\Temp\nm5B.tmp Creating library ..\lib\QtWebKit.lib and object ..\lib\QtWebKit.exp HTMLFormElement.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function class WebCore::String __cdecl WebCore::pathGetFilename(class WebCore::String) ([EMAIL PROTECTED]@@ [EMAIL PROTECTED]@V21@@Z) ..\lib\QtWebKit.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 8\VC\BIN\link.EXE' : return code '0x460' Stop. NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. WEXITSTATUS is not a valid POSIX macro at WebKitTools\Scripts\build-webkit line 141 ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev