https://bugs.winehq.org/show_bug.cgi?id=57621
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #5 from Bernhard Übelacker bernhardu@mailbox.org --- Hello, I was able to install msys2, install needed packages inside msys2, and clone glfw-example, built it and it showed not the crash from the comment when run from the build tree inside the msys2 shell.
When I tried to run it from outside msys2 I needed to copy/link the dynamic linked dlls to the directory where red_circle.exe is: libgcc_s_seh-1.dll, libstdc++-6.dll, libEGL.dll, glfw3.dll, libwinpthread-1.dll
Then I received a similar "failed to load library" followed by a similar crash trying to execute at address 0. But I got the message about a missing zlib1.dll.
When I also link this into the directory of red_circle.exe I got no longer a crash and the window shows up.
Can you retry when you copy zlib1.dll too? (And if they are missing also the *.glsl files.)
[1] https://gitlab.winehq.org/bernhardu/wine/-/commits/msys2-cygwin_2025-02-07