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
2 answers
Autocomplete development environment of pygobject in Windows10
I am looking for an environment where pygobject can autocomplete.
Is it possible with VSCode or one of the IDEs?
While constructing the environment with MSYS2 while looking at the…

moon
- 1
- 3
0
votes
2 answers
msys2: Installing a python package fails
I run msys2 via PyCharm on MS-Windows.
I try to run this command:
C:\msys32\usr\bin\python3.exe -m pip install -e git+https://source.example.com/repos/myapp#egg=myapp
I get this output:
15 [main] python3 5640 child_info_fork::abort: address…

guettli
- 25,042
- 81
- 346
- 663
0
votes
1 answer
Does the MSYS2 version of emacs support X server?
MSYS2 has three versions of emacs. Only the msys/emacs version supports term mode and other shell related features. The mingw32 and mingw64 versions only support the inconvenient shell and eshell mode.
However, the msys version does not seem to…

user2249675
- 464
- 3
- 13
0
votes
1 answer
Armadillo code cant compile in msys2 and netbeans
I'm tring to compile a simple armadillo program by netbeans and msys2:
#include
#include
using namespace std;
/*
*
*/
int main(int argc, char** argv) {
arma::Mat A = arma::randu(4,4);
return 0;
}
I'm…

amirre
- 21
- 5
0
votes
0 answers
How do I get .lib instead of .a as the output of OpenLDAP build?
Followed the links
How do you build OpenLDAP libraries on Windows using Msys2 and MinGW?
http://developer.covenanteyes.com/building-openssl-for-visual-studio/
Windows 2008 R2 x64
MSYS2 msys2-x86_64-20180531
OpenSSL 1.0.2
OpenLDAP 2.5
followed the…

sgdokku
- 11
- 2
0
votes
1 answer
msys2 (mingw) default library/include path configuration
Is there a way that I can configure MSYS2 so that I do not have to always pass in CPPFLAGS=-I/mingw64/include LDFLAGS=-L/mingw64/lib to my compiler?

user8908459
- 537
- 5
- 24
0
votes
1 answer
how to fix GNU assembler (gas) documentation failing to build using mingw64 / msys2?
I'm getting errors like this when building binutils-gdb (the gas doc is failing to build). Has anyone seen this before or know how to fix it?
/d/git/binutils-gdb/binutils-gdb-git/gas/doc/as.texi:635: table requires an argument: the formatter for…

Bill Morgan
- 538
- 2
- 14
0
votes
0 answers
Using MSYS2, QT and MinGW 64
I have installed MSYS2 / QT / MinGW64.
My question is about QT Source Code version. How can I distinguish which version is downloaded using MSYS2 CLI? I need the commercial version of code.
My problem is:
Q: How can I know if I'm on a commercial…

Eduardo
- 39
- 10
0
votes
1 answer
Applications from PATH are not available in mingw64 shell
Based on what I have read, people use things like npm or python within the mingw64 shell. It doesn't sound like they're installing it within its context though.
Take e.g. this here: https://stackoverflow.com/a/26319712/5040168
Or this here:…

AndyO
- 1,512
- 20
- 28
0
votes
0 answers
TypeError: constructor returned NULL
from gi.repository import GLib , GObject
from multiprocessing import Pipe
parent,child = Pipe(duplex=False)
some code....
parent,child = Pipe(duplex=False)
some code...
GObject.io_add_watch(parent.fileno() , GObject.IO_IN , myfonction )
Then I…
0
votes
1 answer
Debugging Windows service built with mingw/msys2
Having one heck of a time debugging a crash in a Windows Service that I've build with QT and Boost Logger on Windows using MSYS2 environment. The main issue really comes when I stop the program right before exit. The program just doesn't exist…

Mikey A. Leonetti
- 2,834
- 3
- 22
- 36
0
votes
2 answers
How to build GTK+ with Msys2
I am following this page to build GTK+ on Windows with MSYS2, following the GTK official page. I got stuck right here:
Create a PKGBUILD file as you would do for Arch Linux for the package you would like to build for windows. You can find the…

CaTx
- 1,421
- 4
- 21
- 42
0
votes
1 answer
configure cc1 include path
still facing some strange compilation error while using MSYS2 mingw64 to compile OpenLDAP
I think it boils down to some win socket thing, currently facing 2 major errors during make depend and make
during make depend
cannot locate nt_err.c in…

Jimmy Chi Kin Chau
- 153
- 1
- 13
0
votes
1 answer
How to resolve conflict after installing msys2 and running "pacman -Syuu"?
I have installed latest release of msys2 (msys2-x86_64-20161025). When I am running pacman -Syuu I am getting:
and if I answer y I get after:
What should I answer these questions?
About running pacman -Syuu after installation of msys2 I read here:…

vasili111
- 6,032
- 10
- 50
- 80
0
votes
1 answer
GTK+3 application won't run on Windows
When I try the example-0.c on https://developer.gnome.org/gtk3/stable/gtk-getting-started.html, I can build successfully in my cmd (I have configured the PATH environment variable), but run with the errors as the snapshot below.
Also note if I…

Donghua Liu
- 1,776
- 2
- 21
- 30