| Summary: | [Win] 32bit AppleWin link error: unresolved external symbol _CTFontTransformGlyphs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | QuellaZhang <1998zhangyi> | ||||
| Component: | CMake | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED WONTFIX | ||||||
| Severity: | Normal | CC: | bfulgham, darin, Hironori.Fujii, mmaxfield, pvollan, shanjun, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | PC | ||||||
| OS: | Other | ||||||
| Attachments: |
|
||||||
|
Description
QuellaZhang
2020-09-21 03:37:44 PDT
Those functions should be in CoreText.lib of the latest WebKitSupportLibrary.zip. Are you using old WebKitSupportLibrary.zip? You can get the latest version of the WebKit support library here: https://developer.apple.com/opensource/internet/webkit_sptlib_agree.html Thanks, I tried latest WebKitAuxiliaryLibrary(https://webkit.org/webkit-on-windows/#build-webkit) and WebKitSupportLibrary(https://developer.apple.com/opensource/internet/webkit_sptlib_agree.html), same error. Umm, weird. AFAICT, the latest AppleWin can compile on my PC. > perl .\Tools\Scripts\build-webkit --release --no-ninja You should check your CoreText.lib really has CTFontTransformGlyphs. Here is my result. > PS C:\home\webkit\gc> dumpbin.exe /exports .\WebKitLibraries\win\lib64\CoreText.lib | findstr CTFontTransformGlyphs > CTFontTransformGlyphs Ah, you are building 32bit version of AppleWin. lib32/CoreText.lib is not updated. Try 64bit AppleWin. I'd like to recommend you to use build-webkit script. Ha, thanks, 64bit AppleWin compiles, I will add x64 build arch. BTW, do you have a plan to update lib32? :) And thanks for your suggestions, I will try to use build-webkit script Here's the way to get a 32-bit CoreText.lib 1. Download 32-bit Apple Application Support(comes from iTunes or QuickTime) 2. Find CoreText.dll from the install directory of AAS 3. run these commands to get CoreText.lib from dll dumpbin /exports CoreText.dll > CoreText.def lib /def:CoreText.def /machine:i386 /out:CoreText.lib 4. replace CoreText.lib in WebKitLibraries\win\lib32 5. build your project I've tried build 32-bit AppleWin by VS2017, It works! AppleWin port was removed. |