Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Add support for MSYS2 #374

Closed
BrycensRanch opened this issue Dec 6, 2024 · 1 comment
Closed

[FEAT] Add support for MSYS2 #374

BrycensRanch opened this issue Dec 6, 2024 · 1 comment

Comments

@BrycensRanch
Copy link

BrycensRanch commented Dec 6, 2024

I'd like to thank you so much for your work. It's amazing. Currently, I am working on a project and it depends on the MSYS2 environment on Windows. I see your project supports Cygwin, but, I need MSYS2.

My error:

Brycen@VENATOR-PH315 CLANG64 ~/ShareX-Linux-Port/ShareX.GTK4
$ "C:\Program Files\dotnet\dotnet.exe" build
Restore complete (0.3s)
  ShareX.GTK4 failed with 1 error(s) (0.1s)
    C:\Users\Brycen\.nuget\packages\gitinfo\3.3.5\build\GitInfo.targets(342,5): error MSB6003:
      The specified task executable "cmd.exe" could not be run. System.IO.DirectoryNotFoundException: The working directo
      ry "C:\home\Brycen\ShareX-Linux-Port\" does not exist.
         at Microsoft.Build.Utilities.ToolTask.GetProcessStartInfo(String pathToTool, String commandLineCommands, String
      responseFileSwitch)
         at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String command
      LineCommands)
         at Microsoft.Build.Tasks.Exec.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineComm
      ands)
         at Microsoft.Build.Utilities.ToolTask.Execute()

Build failed with 1 error(s) in 0.8s

My environment:

Brycen@VENATOR-PH315
--------------------
OS: Windows 11 (Pro) x86_64
Host: Predator PH315-54 (V1.15)
Kernel: WIN32_NT 10.0.26100.2033 (24H2)
Uptime: 39 mins
Packages: 222 (pacman), 4 (scoop), 15 (choco)
Shell: bash 5.2.37
Display (LG ULTRAGEAR): 1920x1080 @ 165 Hz in 32″ [External] *
Display (BOE08B3): 1920x1080 @ 144 Hz in 16″ [Built-in] [HDR]
Display (E24): 1920x1080 @ 75 Hz in 24″ [External]
DE: Fluent
WM: Desktop Window Manager
WM Theme: Custom - Blue (System: Dark, Apps: Dark)
Font: Segoe UI (12pt) [Caption / Menu / Message / Status]
Cursor: Windows Default (32px)
Terminal: Windows Terminal
CPU: 11th Gen Intel(R) Core(TM) i7-11800H (16) @ 2.30 GHz
GPU 1: Intel(R) UHD Graphics (128.00 MiB) [Integrated]
GPU 2: NVIDIA GeForce RTX 3060 Laptop GPU (5.86 GiB) [Discrete]
Memory: 9.87 GiB / 15.78 GiB (63%)
Swap: 135.17 MiB / 13.00 GiB (1%)
Disk (C:\): 211.99 GiB / 231.37 GiB (92%) - NTFS
Disk (D:\): 384.02 GiB / 474.64 GiB (81%) - Btrfs
Disk (E:\): 856.24 GiB / 931.51 GiB (92%) - Btrfs
Battery: 80% [AC Connected]
Locale: en-US

The difference between Cygwin and MSYS2? https://www.msys2.org/wiki/How-does-MSYS2-differ-from-Cygwin/

Back this issue
Back this issue

@BrycensRanch
Copy link
Author

No longer needed thanks to #369

@devlooped devlooped locked and limited conversation to collaborators Jan 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant