[Webkit-unassigned] [Bug 216771] New: [Win] AppleWin link error on MSVC
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 21 03:37:44 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=216771
Bug ID: 216771
Summary: [Win] AppleWin link error on MSVC
Product: WebKit
Version: WebKit Nightly Build
Hardware: PC
OS: Other
Status: NEW
Severity: Normal
Priority: P2
Component: CMake
Assignee: webkit-unassigned at lists.webkit.org
Reporter: 1998zhangyi at gmail.com
Created attachment 409266
--> https://bugs.webkit.org/attachment.cgi?id=409266&action=review
webkit.txt
Environment:
Windows Server 2016
VS2019 unreleased version
WebKitRequirements: https://github.com/WebKitForWindows/WebKitRequirements/releases/tag/v2020.05.08
Issue description:
We tried to build WebKit using VS2019 on Windows Server 2016. WebKit failed to build due to link error on windows with MSVC. It can be reproduced on master branch latest commit 577b3e6. Could you please help take a look at this? Thanks in advance!
Repro steps:
1. git clone https://github.com/WebKit/webkit F:\gitP\WebKit\webkit
2. open a VS 2019 x86 command prompt as admin and browse to F:\gitP\WebKit\webkit
3. extra WebKitAuxiliaryLibrary to F:\gitP\WebKit\webkit\WebKitLibraries\win
4. extra WebKitSupportLibrary to F:\gitP\WebKit\webkit\WebKitLibraries\win
5. mkdir build_x86 && pushd build_x86
6. cmake -G "Visual Studio 16 2019" -A Win32 -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -DCMAKE_BUILD_TYPE=Release -DRUBY_LIBRARY=C:\tools\ruby26\lib -DPORT="AppleWin" ..
7. msbuild /p:Platform=Win32 /p:Configuration=Release WebKit.sln /t:Rebuild
Actual result:
F:\gitP\WebKit\webkit\linkrepro>link @link.rsp
Creating library .\WebKit.lib and object .\WebKit.exp
WebCore.lib(FontCoreText.obj) : error LNK2019: unresolved external symbol _CTFontTransformGlyphs referenced in function "public: void __thiscall WebCore::Font::applyTransforms(class WebCore::GlyphBuffer &,unsigned int,unsigned int,bool,bool,class WTF::AtomString const &,class WTF::StringView,enum WebCore::TextDirection)const " (?applyTransforms at Font@WebCore@@QBEXAAVGlyphBuffer at 2@II_N1ABVAtomString at WTF@@VStringView at 5@W4TextDirection at 2@@Z)
WebCore.lib(FontCoreText.obj) : error LNK2019: unresolved external symbol _CTFontGetGlyphsForCharacterRange referenced in function "public: bool __thiscall WebCore::Font::isProbablyOnlyUsedToRenderIcons(void)const " (?isProbablyOnlyUsedToRenderIcons at Font@WebCore@@QBE_NXZ)
WebCore.lib(GlyphPageCoreText.obj) : error LNK2019: unresolved external symbol _CTFontGetVerticalGlyphsForCharacters referenced in function "public: bool __thiscall WebCore::GlyphPage::fill(char16_t *,unsigned int)" (?fill at GlyphPage@WebCore@@QAE_NPA_SI at Z)
WebCore.lib(FontCustomPlatformData.obj) : error LNK2019: unresolved external symbol _CTFontManagerCreateFontDescriptorFromData referenced in function "class std::unique_ptr<struct WebCore::FontCustomPlatformData,struct std::default_delete<struct WebCore::FontCustomPlatformData> > __cdecl WebCore::createFontCustomPlatformData(class WebCore::SharedBuffer &,class WTF::String const &)" (?createFontCustomPlatformData at WebCore@@YA?AV?$unique_ptr at UFontCustomPlatformData@WebCore@@U?$default_delete at UFontCustomPlatformData@WebCore@@@std@@@std@@AAVSharedBuffer at 1@ABVString at WTF@@@Z)
WebCore.lib(FontPlatformDataCoreText.obj) : error LNK2019: unresolved external symbol _CTFontDescriptorIsSystemUIFont referenced in function "public: __thiscall WebCore::FontPlatformData::FontPlatformData(struct __CTFont const *,float,bool,bool,enum WebCore::FontOrientation,enum WebCore::FontWidthVariant,enum WebCore::TextRenderingMode)" (??0FontPlatformData at WebCore@@QAE at PBU__CTFont@@M_N1W4FontOrientation at 1@W4FontWidthVariant at 1@W4TextRenderingMode at 1@@Z)
.\WebKit.dll : fatal error LNK1120: 5 unresolved externals
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200921/02aec7ea/attachment-0001.htm>
More information about the webkit-unassigned
mailing list