msys2 Questions

7

I recently installed MinGW from MSYS2, and tested the program below: #include<iostream> using namespace std; int main() { cout << "Hello World"; return 0 ; } But I get a...
Projectionist asked 17/6, 2023 at 8:30

1

Solved

When using MinGW, it's easy to run into a DLL hell, i.e. your program not running because it either doesn't find the required DLLs or finds incompatible versions of them. This can manifest itself a...
Alabaster asked 9/6 at 10:45

3

Solved

Is it possible to install MSYS2 on Windows 7 Home Edition?
Interlaken asked 7/3, 2023 at 9:29

5

I want to detect if the CMakeLists.txt is being summoned inside an MSYS2 environment/shell: $ uname MSYS_NT-10.0-18363 from here I have tried: cmake_minimum_required(VERSION 3.10) project(test...
Complexioned asked 21/3, 2020 at 23:49

7

Is there a way to change the root (/) directory of git bash on windows. By default it is set to the installation folder. Setting it to c:\ instead would save needing to type the drive letter e.g. ...
Artima asked 30/8, 2016 at 15:50

2

After compiling an application in the mingw-w64 64-bit Shell, it runs fine inside the shell, but gives an error the application was unable to start correctly (0xc00007b) when run normally, outside ...
Weepy asked 16/12, 2015 at 23:7

4

Issue Some main commands not found in MSYS2 after update-core. Environment Windows 8.1 64bit msys2-x86_64-20150916 Detail I introduced MSYS2 to my computer and performed update-core. However...
Babineaux asked 15/1, 2016 at 20:49

3

Using MSYS2 64-bit version 20161025 on Windows 10... I'm unable to get msys2 to recognize programs in the windows path. For example, after installing Go version 1.8.3 using the windows the install...
Selfrealization asked 30/7, 2017 at 20:56

13

Solved

I am not even sure I am asking the right question. Let me explain my situation: This is about Git on Windows 7. My company sets up the Windows user directory on a network drive, not on the l...
Generation asked 26/8, 2015 at 17:27

9

Solved

I have installed MinGW-w64 and MSYS2. But how do I change the HOME directory in MSYS2? So that when I type cd $home or cd ~ it goes to another directory that I defined. And how do I write a code s...
Knavish asked 26/11, 2015 at 16:8

1

Solved

This is a continuation of trying to compile a license-free GPL version of the Microchip XC32 microcontroller g++ XC32 v4.35 cross-compiler from source. See my Q&A here, and my repo here: https:...
Ramulose asked 7/11, 2023 at 3:12

1

Solved

I am unable to figure this out. I am trying to build the Microchip XC32 PIC32 microcontroller GCC cross-compiler. To try it yourself (this is how I got to my error I'm stuck on): On Windows 10 or ...
Postmistress asked 3/11, 2023 at 7:11

2

Solved

I'm learning Arabic and I'd like to use Vim for taking notes. I tried a few different setups on Windows 10 and so far the closest to a good setup seems to be vim in MSYS2. MSYS2 renders Arabic text...
Cayman asked 26/2, 2021 at 6:42

3

Solved

I've recently updated all msys2 packages and now I can't build my project. The error occurs at the moment of linking one of .dlls - target_library.dll. The error message isn't clear to me. What do...
Isahella asked 13/7, 2017 at 10:21

2

Solved

I'm new to tmux and have been trying to get a .tmux.conf that suits me and build a script to setup a session. At some point I started getting this error no server running on /tmp/tmux-1065767/def...
Epact asked 16/10, 2019 at 9:39

12

Solved

I tried to integrate MSYS2 shell into Visual studio Code integrated terminal. Here's my user settings: { "terminal.integrated.shell.windows": "C:\\msys64\\usr\\bin\\bash.exe", "terminal.integrat...
Aiglet asked 23/8, 2017 at 10:3

4

Ever since June 2020, I have been unable to update my packages with pacman -Syu. When I try, I get the following error: (It gets up to "Checking package integrity", then shows errors like...
Lashonda asked 5/8, 2021 at 15:58

2

This question is about the CMake Tools extension for VS Code. The operation system is Windows 10. The extension correctly found GCC, which I can verify by having a look at the %LocalAppData%/CMakeT...
Dev asked 5/2, 2022 at 17:39

3

Solved

I have been using Git for Windows on my Windows 10 box. I use bash and other command line tools that come with it. I need rsync, but found it doesn't come with this package. I googled and found a m...
Convoluted asked 16/3, 2023 at 4:49

3

Solved

I installed MSYS2-64bits on my Windows Server 2016 to support some Linux librairies, such as OpenSSL, which I need in my Ruby on Rails development. MSYS2 has been partially installed with Ruby 2.7,...
Jacintajacinth asked 27/9, 2021 at 15:4

0

I'm trying to compile R devel by this advice: Build R with OpenBLAS I use MSYS2 (Rtools 4.3), but now have strange error: -------- Building ../../../bin/x64/Rblas.dll -------- gcc -s -shared -o ../...
Vanbuskirk asked 26/6, 2023 at 6:50

1

Solved

MSYS2 is said to have different environments. What are they? How do I choose which one to use? What's the difference between MINGW64 and UCRT64? (This Q&A is intended as a canonical duplicate ...
Gujranwala asked 25/6, 2023 at 20:21

2

Solved

The error The exact error is the title of the question. It happens when I use vectorName.push_back() function. I recreated it with just this simple code: #include <iostream> #include <vec...
Tetrachloride asked 8/12, 2022 at 17:58

4

Solved

I am having troubles when trying to upgrade my Portable Msys2 under Win 10 with pacman -Syuu, as detailed below. I did this before with no problem. What could the problem and solution be? $ pacma...
Preamble asked 13/3, 2019 at 12:37

16

I have installed two Windows servers with the latest versions of Cygwin and Git, and I am trying to clone the git repository from S1 to S2. I can successfully ssh from S2 to S1 using RSA keys, but ...
Treachery asked 12/11, 2011 at 20:25

© 2022 - 2024 — McMap. All rights reserved.