You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm packaging a GTK based application using Styrene. This has worked in the past, but with latest MSYS2 I'm seeing an issue with the resulting Styrene installer. It seems the included bash.exe has an msys-2.dll dependency. This results in a popup dialog error with the message:
The code execution cannot proceed because msys-2.0.dll was not found. Reinstalling the program may fix this problem.
If I run the final executable in mingw64/bin it runs fine. So the issue is with the bash.exe included for executing the postinst.cmd script.
Any ideas on how to resolve this issue would be appreciated. I found some mentions that building executables using the MSYS2 shell vs the MINGW shell can lead to this dependency. In particular these two different environments use different gcc compilers. Maybe Styrene is building with the wrong one when building these support executables? I'm also not really sure why this post install script is really even needed to be honest, but I still lack understanding of what it does.
The text was updated successfully, but these errors were encountered:
I'm packaging a GTK based application using Styrene. This has worked in the past, but with latest MSYS2 I'm seeing an issue with the resulting Styrene installer. It seems the included bash.exe has an msys-2.dll dependency. This results in a popup dialog error with the message:
The code execution cannot proceed because msys-2.0.dll was not found. Reinstalling the program may fix this problem.
If I run the final executable in mingw64/bin it runs fine. So the issue is with the bash.exe included for executing the postinst.cmd script.
Any ideas on how to resolve this issue would be appreciated. I found some mentions that building executables using the MSYS2 shell vs the MINGW shell can lead to this dependency. In particular these two different environments use different gcc compilers. Maybe Styrene is building with the wrong one when building these support executables? I'm also not really sure why this post install script is really even needed to be honest, but I still lack understanding of what it does.
The text was updated successfully, but these errors were encountered: