[webkit-qt] unresolved external symbol __imp_glClear error when building qtwebkit 5.6.1 on windows 10
Han Jiang
oglops at gmail.com
Mon Jun 12 08:09:46 PDT 2017
Hi I want to build qtwebkit for qt 5.6.1, do I have to use qtwebkit 5.6.1?
( or can I use latest 5.9.0 )?
I download qtwebkit 5.6.1 from
http://download.qt.io/community_releases/5.6/5.6.1/
Then setup env var with this .bat script <https://pastebin.com/aRMVSnd1>,
and then ran
perl Tools\Scripts\build-webkit --qt --release
The configuration output is https://pastebin.com/PCUfXKLj
but I got this error message <https://pastebin.com/rVZryKCa>. (entire log
files are too long to paste into pastebin), How to fix this? Thanks!
moc_util.cpp
link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:CONSOLE
"/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls'
version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*'
processorArchitecture='*'" /MANIFEST:embed /OUT:release\tst_qrawwebview.exe
@C:\Users\oglop\AppData\Local\Temp\nmB000.tmp
tst_qrawwebview.obj : error LNK2019: unresolved external symbol
__imp_glClear referenced in function "private: void __cdecl
tst_qrawwebview::run(void (__cdecl tst_qrawwebview::*)(class QSize const
&),class QString const &)" (?run at tst_qrawwebview@@AEAAXP81 at EAAXAEBVQSize
@@@ZAEBVQString@@@Z)
tst_qrawwebview.obj : error LNK2019: unresolved external symbol
__imp_glClearColor referenced in function "private: void __cdecl
tst_qrawwebview::run(void (__cdecl tst_qrawwebview::*)(class QSize const
&),class QString const &)" (?run at tst_qrawwebview@@AEAAXP81 at EAAXAEBVQSize
@@@ZAEBVQString@@@Z)
tst_qrawwebview.obj : error LNK2019: unresolved external symbol
__imp_glReadPixels referenced in function "private: void __cdecl
tst_qrawwebview::run(void (__cdecl tst_qrawwebview::*)(class QSize const
&),class QString const &)" (?run at tst_qrawwebview@@AEAAXP81 at EAAXAEBVQSize
@@@ZAEBVQString@@@Z)
tst_qrawwebview.obj : error LNK2019: unresolved external symbol
__imp_glViewport referenced in function "private: void __cdecl
tst_qrawwebview::run(void (__cdecl tst_qrawwebview::*)(class QSize const
&),class QString const &)" (?run at tst_qrawwebview@@AEAAXP81 at EAAXAEBVQSize
@@@ZAEBVQString@@@Z)
release\tst_qrawwebview.exe : fatal error LNK1120: 4 unresolved externals
NMAKE : fatal error
U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\BIN\amd64\link.EXE"' : return code '0x460'
Stop.
NMAKE : fatal error
U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error
U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error
U1077: '(' : return code '0x2'
Stop.
NMAKE : fatal error
U1077: 'cd' : return code '0x2'
Stop.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20170612/34a9fb4a/attachment.html>
More information about the webkit-qt
mailing list