MSYS2 is a modern rewrite of MSYS, both of which are Cygwin (POSIX compatibility layer) forks with the aim of better interoperability with native Windows software. It aims to provide support to facilitate using the bash shell, Autotools, revision control systems and the like for building native Windows applications using MinGW-w64 toolchains. It comes with a port of ArchLinux's Pacman package manager. Three repos are provided with over 1000 packages.
Questions tagged [msys2]
978 questions
0
votes
1 answer
poco netssl dll dependencies
I'm building a dll to use PocoNetSSL to get some data via an HTTPS endpoint. I need to call that dll via C# in Unity which runs an old version of Mono.
I am using mingw-w64 shell to build my dll. There is a package of the Poco libraries available…

Stephen Burke
- 882
- 3
- 10
- 25
0
votes
1 answer
Install xgboost under python with 64-bit msys failing
I want to install xgboost using anaconda python. In this process, I am trying to install xgboost. While trying to "make" the xgboost i am getting the below error:
C:\GitRepository\xgboost>
g++ -m64 -c -Wall -O3 -msse2 -Wno-unknown-pragmas…

Arun
- 625
- 3
- 10
- 20
0
votes
1 answer
Why would a command fail when Make runs it but succeed when I run it?
I'm trying to build a C++ codebase. (The code happens to be Cap'n Proto 0.5.3, but I'm seeing this with other projects too.) I'm building with GCC in MinGW-w64 and running the build in MSYS2. GCC is 5.2.0. Make is 4.1.
I run Make, it goes along…

mjwach
- 1,174
- 2
- 9
- 25
0
votes
1 answer
how to install VIM + Vuddle on msys2
Vim came as default on my msys2 version but I don't see the ~/.vimrc file nor ~/.vim/ directory
any thoughts

lgsanjos
- 39
- 8
0
votes
0 answers
Why does MSYS2 git try to create ORIG_HEAD.lock in a nonsensical directory?
I'm using SourceTree which delegates to MSYS2 git to do a pull. The full output shows the following:
git -c diff.mnemonicprefix=false -c core.quotepath=false fetch upstream
git -c diff.mnemonicprefix=false -c core.quotepath=false pull --rebase…

Adrian
- 741
- 4
- 14
0
votes
1 answer
configure freezes at "checking for ld used by GCC" - MSYS2
I have recently been experiencing problems with the configure step of two open source projects, GNU GetText and W3M.
The configure step fails at the same place for both projects.
checking for ld used by GCC...
System details:
Operating System:…

Benilda Key
- 2,836
- 1
- 22
- 34
0
votes
2 answers
distinguish between MSYS and MSYS2 and CYGWIN
How can you distinguish between MSYS and MSYS2 and CYGWIN, e.g via a command or a predefined environment variable?
This distinction would be needed by tools like Scons to adapt generated command lines, e.g. by issuing double backslashed…

Roland Puntaier
- 3,250
- 30
- 35
0
votes
2 answers
target_compile_features fails on MinGW-w64 in MSYS2
I recently installed MSYS2 on Windows, along with the MinGW-w64 toolchain and CMake. Specifically, I used the following packages:
mingw-w64-i686-gcc
mingw-w64-i686-cmake
make
Trouble is, whenever I invoke CMake from within the MSYS2 shell with…

Michael Bikovitsky
- 903
- 2
- 10
- 20
0
votes
1 answer
I get this undefined reference error when I try to install this Perl module
I am using msys2 for mingw and am trying to download this Params::Validate module. I get this error, but can't find online what the problem is. I would really appreciate it if you could tell me what's wrong and how to fix it.
Thanks!
cpan[1]>…

Kaden Badalian
- 47
- 4
0
votes
0 answers
cURL link error with MinGW-w64 GCC on MSYS2
I am using MSYS2, and MinGW-w64 originated libraries and toolchains (from pacman repository 'mingw32') via mingw32_shell.bat environment.
I use mingw32/mingw-w64-i686-gcc package; mingw32 packaged are path prefixed /mingw32, so the gcc binary is…

eonj
- 109
- 1
- 1
- 12
0
votes
1 answer
compiling vim on msys2 with python support
Just wasted 5 hours so might as well ask here.
I am able to compile vim without problem (64bit system) :
./configure --prefix=/usr --with-tlib=ncursesw --enable-luainterp \
--with-lua-prefix=/usr/local --disable-gui --disable-tclinterp…

Mikel
- 466
- 3
- 16
0
votes
1 answer
Cannot find libc headers in MSYS2
I'm trying to build GNU Make in MSYS2 using Mingw-W64 but Make fails because pwd.h is missing. What package provides this?

Brady Dean
- 3,378
- 5
- 24
- 50
0
votes
2 answers
Compiling a program under Windows gives a bunch of "error: template with C linkage" reports
I have made an OpenGL project compilable with GCC (version 4.7.3 and newer) and runable on Linux. When trying to compile the same code under Windows using MSYS2 with GCC 4.9.2 installed, I get tons of error reports:
g++ -g --std=c++11 src/*.cpp…

Kyselejsyreček
- 459
- 1
- 3
- 16
0
votes
1 answer
Building OpenBlas with msys2
I have a windows 7-64bit computer and I am trying to build OpenBlas library through Msys2.
There seems to be some problem with the gcc as after installing minGW and unziped OpenBlas folder, I open msys2 and I navigate to the folder where OpenBlas is…

Danai Tri
- 119
- 3
- 13
0
votes
1 answer
CERTIFICATE_VERIFY_FAILED on MSys2 in Sphinx
On MSys2 I was trying to build the HTML version of the Sphinx-based documentation with make html and got the following error:
loading intersphinx inventory from http://docs.python.org/objects.inv...
WARNING: intersphinx inventory…

Vladius
- 4,268
- 2
- 20
- 21