fjvallarino / monomer

An easy to use, cross platform, GUI library for writing Haskell applications.
BSD 3-Clause "New" or "Revised" License
588 stars 44 forks source link

Totally dead on Windows? #303

Closed liamzee closed 1 year ago

liamzee commented 1 year ago

This could simply be that I upgraded recently to a newer version of Win10, or that I nuked my GHCup, but currently even monomer applications compiled before the upgrade / GHCup nuke won't run. Are any other Windows users on latest Win10 / Win11 having similar issues?

The current error message looks like this:

https://media.discordapp.net/attachments/968989726633779215/1140925986603540500/image.png?width=800&height=274

liamzee commented 1 year ago

the workaround I have right now is to have the Microsoft Visual C++ redistributable package installed on Windows, have the path point to ghcup/msys64/mingw64/bin, and dump the relevant libfreetype-6.dll from this site: https://github.com/ubawurinna/freetype-windows-binaries

It's official, so it's not that smelly.

Seems to be an issue with either msys64, or how I have msys configured with ghcup.

liamzee commented 1 year ago

It's apparently a Msys issue, with how libfreetype and harfbuzz work together, and has created issues on Linux as well.

Anyways, standard procedure is to flatpak the executable with necessary dependencies right now.