the_game_database|| news | latest | gallery | upcoming | search: 
MSYS2
  PCUtilityPAL  
  opened by paleface at 21:56:48 02/19/24  
  last modified by paleface at 12:31:35 03/05/24  
  paleface [sys=PC; cat=Utility; reg=WLD]
           
Windows Cygwin-based Linux-like compiling environment; uses Cygwin's nice "Mintty" terminal, but all updating is done right through the terminal, very slick. Resulting compiled exes can be run on their own from shortcuts.
 
Currently, trying to uninstall the installer or self-extracting archive ( https://github.com/msys2/msys2-installer/releases ) leaves folders that can't be deleted as it says they're open in another program. This was a "conhost.exe"; getting sick of rebooting the computer each time to resolve the issue, I found and cleared it using the process described here: https://learn.microsoft.com/en-us/answers/questions/210462/the-action-cant-be-completed-because-the-folder-or
 
~~
 
Open resource monitor (Windows +R to open Run then type Resmon.exe)
Open the CPU tab in the monitor
Select all processes (not sure if this is needed, you can probably just search for the handle)
Expand "associated handles"
Search for the file you need
Close the process that has the handle
~~~
 
So, I typed "msys2" in the "Associated handles" field, since I'd named my install folder "msys2," and that came up with the conhost.exe and two explorer.exe processes. Right-clicking and choosing to close conhost.exe allowed me to delete the folders.
 
Primarily, I used to use MSYS2 to compile various roguelikes, such as Angband.
 
  paleface 21:59:21 02/19/24
           
MSYS2 and Cygwin and so forth let you install code "packages" when you need more functionality.
 
update installed packages: pacman -Syu --noconfirm
package search: pacman -Ss [string]
installed package search: pacman -Qs [string]
package remove: pacman -Rs [package name] (not sure about the s yet)
show dependencies tree: pactree [string]
list dependencies: pacman -Qi [string]
uninstall orphans: pacman -Qtdq | pacman -Rns -
further orphans: pacman -Qqd | pacman -Rsu -
clear downloads cache: paccache -r
package search online: https://packages.msys2.org/search
 
  paleface 14:51:56 02/20/24
           
(Current latest Angband now does dynamic linking since they got tired of maintaining SDL2's dependencies, so their built SDL2 front end is no longer portable, rather defeating a big benefit of MSYS2's MINGW64 environment. ; P)
 
  paleface 15:42:11 02/22/24
           
(Angband has backed out that change; its MSYS2-compiled SDL2 front end is once again portable. ^ _^)
    
references:
· Angband (PC)

 
© 2024 paleface.net. Game impressions are © the individual contributors. All rights reserved.