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
0 answers

Insight debugger Compiler error with MSYS2-Mingw64

I have got the source files from insight-weekly-CVS-7.0.50-20091130. I have got the following errors. Thanks for your help. config.status: executing bfd_stdint.h commands ./config.status: line 2602: cmp: command not found config.status: executing…
Allan
  • 11
  • 1
  • 4
0
votes
1 answer

CMake + Boost + MSYS2 = "Can't find boost library"

I've grovelled the internet for a solution and I'm stumped. Ultimately I need to build in multiple environments, and so far so good except for Windows. (I want to stick with gcc, so MSYS2/mingw64 seems like the way to go). For this question I've…
0
votes
1 answer

how to build apache httpd 2.* and beyond on msys2

httpd build on msys2 fails with the following error: xml/apr_xml.c:35:19: fatal error: expat.h: No such file or directory On real linux distros, installing the expat-devel package seems to solve the problem see here, more precisely, expat-devel…
user1767316
  • 3,276
  • 3
  • 37
  • 46
0
votes
2 answers

Python 3.7 ModuleNotFound

I'm using MSYS2 but without pip (SSL error), and when I try to run python vin.py It throws me this error: Traceback (most recent call last): File "vin.py", line 1, in import requests ModuleNotFoundError: No module named 'requests' …
shdw
  • 3
  • 2
0
votes
1 answer

Compiling dhex under MINGW64?

I've downloaded dhex_0.69.tar.gz from http://www.dettus.net/dhex/ and unpacked it. The Readme says simply to run make. When I try to build it in MSYS2 shell on Windows 10, compilation and linking proceed without any problems, I get an .exe, which…
sdbbs
  • 4,270
  • 5
  • 32
  • 87
0
votes
0 answers

CMake Error: Remove failed on file System Error: Device or resource busy

When trying to cmake a CGAL example, I get CMake Error: Remove failed on file: /cgal/example/CMakeFiles/CMakeTmp/cmTC_9e180.exe: System Error: Device or resource busy Working under Win10 + Msys2. CGAL was obtained via pacman…
0
votes
2 answers

How to run GTK3 Python3 script outside of MSYS2 in Windows

How can I make my GTK3+ Python script work outside of Msys2's own Python interpreter, into my own venv (virtual environment) Python3 interpreter? I want to prepare my Python 3 script for distribution to other computers, but without Msys2. I'm using…
garlic
  • 197
  • 1
  • 11
0
votes
1 answer

Unable to install PyMc3 on Msys2

I'm running Msys2 on Windows 10. I have Python 3.6 installed under with mingw-w64 as well as mingw-i686. I have the gcc tool chain for Msys, mingw-w64, and mingw-i686. I tried to install PyMc3 using pip3. The installation failed with the following…
sreedta
  • 123
  • 1
  • 9
0
votes
1 answer

Problems with deploying a GTK Application

I am currently testing the GTK Application that I built on windows using the MSYS2 64bit shell. For the program to be able to run outside of the shell, I packed all the required DLLs with it as well as the…
tagelicht
  • 467
  • 3
  • 14
0
votes
1 answer

How to build a static glib library on mingw-w64 win32 threads

I want to build a glib static library. I have installed MSYS2 and I have installed MinGW-W64 Win32 threads on to it. I didn't download the MSYS2 package. Instead, I've downloaded MinGW-W64 from SourceForge and installed it to the MSYS2 directory.…
Sean
  • 53
  • 1
  • 6
0
votes
1 answer

Using GTK+ without MSYS2

Dear programmers and developers, I really want to try out GTK+ 3 on windows. Therefore, I read the official GTK+ download explanations at https://www.gtk.org/download/windows.php and installed everything with MSYS2. Now I have a lot of files in my…
user10251509
0
votes
1 answer

Why does my MSYS2/MinGW64 setup link SDL2 without a -l directive, but not SDL2_ttf?

I have MSYS2 and MinGW64 installed. I also have Code::Blocks installed and have pointed it's toolchain configuration to the executables in MinGW64's bin. To keep things clean, I have only installed libraries using pacman from the MinGW64 shell. $…
Daniel Lee
  • 189
  • 10
0
votes
1 answer

MSYS2 Vala no console output

If I create a simple program consisting of one print then everything works fine and the output is there, but in this example code for some reason the output is empty. This is an example of optimization by vectorization: void ink(int[] arr,int a){ …
gavr
  • 807
  • 7
  • 16
0
votes
1 answer

Why am I getting: "undefined reference to `glfwInit'"?

Whenever I try to compile my OpenGL sample project via MSYS2, Autotools and then make (which uses statically compiled GLEW and GLFW) I am getting this kind of output: x86_64-w64-mingw32-g++ -DHAVE_CONFIG_H -I. -I./include -I./include/GL…
user9937314
0
votes
1 answer

What flags do I need to set to be able to statically link libwebp-1.0.0 with provided external libraries?

I have difficulties with successfully passing the --with-sdlincludedir, --with-sdllibdir, --with-pngincludedir and --with-pnglibdir flags to the configure script via MSYS2 with native mingw-w64. They are simply not detected. However, I have no…
user9937314