Questions tagged [msys2]

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.

978 questions
0
votes
2 answers

How to build and debug a MSYS2 / MinGW64 / CMake project in Visual Studio 2017?

I have successfully built a C++ project using MSYS2 / MinGW64 / CMake tools. Now I would like to edit it and debug it in Visual Studio, as it is a nice IDE and the default development tool in Windows. Sadly, I am not able to build the project in…
jmgonet
  • 1,134
  • 18
  • 18
0
votes
1 answer

Compiling gtk+3.0 on windows: Can not find staticpixbufloader-gdiplus

I am trying to compile a sample hello-world app for gtk+3.0 on windows using msys2 and mingw64. I have in part been following this tutorial: http://www.tarnyko.net/repo/gtk3_build_system/tutorial/gtk3_tutorial.htm When I build I get: $ gcc -o…
Stuart Whelan
  • 385
  • 3
  • 9
0
votes
0 answers

How do I install s3cmd on MSYS2?

I'd like to install s3cmd in a "clean" way on MSYS2 running on Windows. But when I run pacman -S s3cmd nothing happens. On the other hand, I see that s3cmd has been packaged for ArchLinux, the Linux distribution on which MSYS2 is…
lindelof
  • 34,556
  • 31
  • 99
  • 140
0
votes
0 answers

Compiling GTK Application under windows using MSYS2

I'm trying to compile my GTK+ 3 (using gtkmm3) program under windows. After setting everything up, I now get the following error: Error: Aggregate »GStatBuf sbuf« has incomplete type and cannot be defined GStatBuf sbuf; The same code compiles fine…
tagelicht
  • 467
  • 3
  • 14
0
votes
1 answer

Set up Gtk development on windows

I want to compile my program that uses Gtk(mm) for windows. So I have set up MinGW and MSys2 and downloaded a bunch of stuff via pacman. Now when I try to compile my program using the following command: g++ Patte.cpp -o Patte -L/opt/lib `pkg-config…
tagelicht
  • 467
  • 3
  • 14
0
votes
1 answer

Stand Alone Qt app with lapack/blas on windows (and other missing dlls)

I developed a app on QT using armadillo with Lapack, Blas and Lapacke. It run on my QT (running on MSYS2 - MingW32), but when i try build a stand alone with windeployqt, apparently works. But when i tried run, it give missing .dll (liblapack.dll,…
0
votes
1 answer

objdump is missing from windows10 pro (msys2 installed)

I have installed msys2 using chocolatey. I have tried msys2-installer module from chocolatey too. But I can not find objdump on my system. Should I install something more ?
0
votes
1 answer

How can I use make command(MSYS) to build DCMTK?

I have used CMAKE to configure and generate DCMTK source code. Now I am trying to build libs using make command in msys. But as soon as I am passing make command, I am getting this: 212715008@G5CG7324856E /c/Ashish/dcmtkans $ make > Microsoft…
Ash
  • 41
  • 7
0
votes
0 answers

How do I supress the print of "msys\r\n" in msys bash.exe on windows 10

I installed msys on a windows 10 machine so I could get the bash shell. I want to excecute a command via bash -c "myCommand.sh" and get the value it prints but the bash.exe always prints "msysy\r\n" before any of the output from the command. This…
peterk
  • 5,136
  • 6
  • 33
  • 47
0
votes
0 answers

Openmpi configure: Could not determine the fortran compiler flag

I am using Msys2 from PortableApps under Win10. More precisely, $ uname -a MSYS_NT-10.0-WOW Galapagos 2.11.1(0.329/5/3) 2018-09-10 13:25 i686 Msys I mean to install openmpi. Since I found no pre-built package (I would love to have it!), I…
0
votes
0 answers

Building gtest on msys2 fails in install, similar problem on other packages

When trying to install google test on MSYS2, I use: cmake -G"MSYS Makefiles" .. make This works, the code is generated with no errors. Then, to install: make install This unfortunately, does not work. There seems to be a common problem, other…
Dov
  • 8,000
  • 8
  • 46
  • 75
0
votes
1 answer

MSYS2 path to Windows clipboard

Is there a way to copy a Unix path from the MSYS2 bash shell to the Windows clipboard? A work-around is to start a Windows explorer with the current directory: /c/windows/explorer .
weberjn
  • 1,840
  • 20
  • 24
0
votes
1 answer

Running configure file in MinGW64: default build_alias command and default prefix not found

I'm using MinGW64 via an MSYS2 download and am currently trying to install the Solar Geometry 2 library (http://www.oie.mines-paristech.fr/Valorisation/Outils/Solar-Geometry/) for use. I'm following their install README, which states to navigate to…
Ben
  • 59
  • 8
0
votes
0 answers

Cannot install GTK+3 on Windows

I'm trying to install GTK+3 on Windows 10 64-bit version 1803, and I'm following instructions on GTK+ Download: Windows, but I'm getting this error on Step 2: MSYS ~ $ pacman -S mingw-w64-x86_64-gtk3 error: GPGME error: Invalid crypto engine error:…
h.nodehi
  • 1,036
  • 1
  • 17
  • 32
0
votes
0 answers

Link -static GTK+-2.0 program in MSYS2 (with mingw64, NOT mingw32) for Windows 10

I have a program which compiles perfectly in Linux, and compiles in Windows if I don't try to link it with -static flag. (I have to say I didn't try -static in linux, as I don't find it useful). Also, although it links non-statically in windows…