Hello,
on trunk there is currently a linking issue with MinGW, and this error
also seems to be related to that. The following bug has already a patch
uploaded, but it didn't land yet:
https://bugs.webkit.org/show_bug.cgi?id=56723
BR,
Andras
2011-03-27 11:22 keltezéssel, Joseph Tsai írta:
Hello,
I want to build QtWebKit with WebGL support under Windows XP, and use
the following command:
----------
perl Tools\Scripts\build-webkit --qt --3d-canvas --release
----------
When making QtWebKit4.dll, it tells that there exists a lot of
undefined references, and all of them are OpenGL functions. (i.e.
glDeleteTextures@8)
I've investigated the building process, and the strange thing is, the
command line making QtWebKit4.dll really contains an option:
-lopengl32, and libopengl32.a also contains the required symbols.
(i.e. glDeleteTextures@8)
Did I miss something?
----------
OS: Windows XP
Qt SDK version: 4.7.1
WebKit trunk revision: 81886
Bug 56723 has been patched: https://bugs.webkit.org/show_bug.cgi?id=56723
Use MinGW to build QtWebKit (MinGW is embedded in Qt SDK)
Command line to build QtWebKit: perl Tools\Scripts\build-webkit --qt
--3d-canvas --release
The command for building QtWebKit4.dll:
g++ -enable-stdcall-fixup -Wl,-enable-auto-import
-Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -shared
-Wl,--out-implib,e:\work\src.QtWebKit.Windows.r81886-WebGL\WebKitBuild\Release\lib\libQtWebKit4.a
-o ..\..\lib\QtWebKit4.dll object_script.QtWebKit.Release
-L"..\..\WebCore\release" -L"..\..\JavaScriptCore\release"
-L"e:\work\Qt\2010.05\qt\lib" -lglu32 -lopengl32 -lgdi32 -luser32
obj\release\QtWebKit_resource_res.o -lwebcore -ljscore -ladvapi32
-lgdi32 -lshell32 -lshlwapi -luser32 -lversion -lphonon4 -lgdi32
-lole32 -luser32 -lwinmm -lQtXmlPatterns4 -lQtOpenGL4 -lQtGui4
-lQtNetwork4 -lQtCore4
_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt