Hi,

I'm trying to get openjfx build on Windows, but I've run into an issue
I haven't been able to resolve.

Any tips I can try?

--John


> Task :graphics:linkWinFont FAILED
Creating library P:\Dev\git\openjdk-jfx\modules\javafx.graphics\build\libs\font\win\javafx_font.lib and object P:\Dev\git\openjdk-jfx\modules\javafx.graphics\build\libs\font\win\javafx_font.exp fontpath.obj : error LNK2019: unresolved external symbol __imp_EnumFontFamiliesExW referenced in function DifferentFamily fontpath.obj : error LNK2019: unresolved external symbol __imp_GetDeviceCaps referenced in function Java_com_sun_javafx_font_PrismFontFactory_getSystemFontSizeNative C:/Program Files (x86)/Windows Kits/10/lib/10.0.16299.0/um/x86\gdi32.lib : warning LNK4272: library machine type 'X86' conflicts with target machine type 'x64' P:\Dev\git\openjdk-jfx\modules\javafx.graphics\build\libs\font\win\javafx_font.dll : fatal error LNK1120: 2 unresolved externals

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':graphics:linkWinFont'.
> Process 'command 'C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.10.25017/bin/HostX64/x64/link.exe'' finished with non-zero exit value 1120

Reply via email to