Compiling and Packaging Crystal GTK4 apps for Windows

Hello everyone :waving_hand: I haven’t been very active in Crystal land recently, but since I got a few e-mails about MSYS2 and GTK4 + Crystal on Windows, I wrote a small blog post about it!

While it goes through the process of packaging Collision, it wasn’t successful functionality wise, so I won’t add it to UGCG yet. (Tbh the problem is probably fibers, I have to move to the new execution contexts and waitgroups from non-blocking-spawn when I get some free time)

9 Likes

Switched to execution contexts and it passes the calculation phase (but crashes when using the verifying function, something to debug later). Execution contexts are so game changing, I can’t believe they just work with no thread-safety issues (as far as I can tell) :eyes:

Here, you can give it a try https://nightly.link/GeopJr/Collision/actions/runs/15363347972/collision_windows_x86_64.zip

2 Likes