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
-1
votes
1 answer

Installing of solartherm

I am using this guideline to install solartherm: https://github.com/SolarTherm/SolarTherm/wiki/Running-SolarTherm-on-Windows-%28MSYS2%29 I reach the point where I need to install Dakota and I get this error: -bash: unzip: command not found cp:…
kshimnos
  • 1
  • 1
-1
votes
1 answer

What is the database format of MSYS2 Pacman package cache (msys.db, mingw32.db, etc.)?

MSYS2 uses pacman as its package manager, which caches available packages locally in files /var/lib/pacman/sync/.db (such as msys.db). What is the database format of those files?
PChemGuy
  • 1,582
  • 3
  • 6
  • 18
-1
votes
1 answer

Running software build in MSYS2 MINGW32 shell

I'm trying to run a piece of software I built in MSYS2 MINGW32 shell. The software is 32bits (don't have time to port it to 64bits) and there is one statically linked executable. Here is how I setup the build environment: Installed a fresh copy of…
-1
votes
2 answers

Code::Blocks not working with MSYS2 MinGW due to path problems

I installed the Code::Blocks on a Windows 10 PC using the downloaded binary codeblocks-20.03-setup.exe. I adjusted the settings to point to my Msys2 MinGW compiler C:\msys64\mingw64 and debugger C:\msys64\usr\bin\gdb.exe. I then created a project…
Gerhard
  • 6,850
  • 8
  • 51
  • 81
-1
votes
1 answer

Msys terminal run command permantly

I want to run this command: chcp.com 1253 permantly in msys2 terminal. I don't want to write this command every time a msys2 mingw 64 terminal is open. Χρήστος Παππάς@DESKTOP-8T1C1VF MINGW64 ~ $ cd /c/Users/Χρήστος\ Παππάς/Desktop/ Χρήστος…
Chris P
  • 2,059
  • 4
  • 34
  • 68
-1
votes
1 answer

Portable check for library

A project I am trying to compile has this command: cc -xc++ -o/dev/null -lc++ -shared However I am using PowerShell, which has no notion of /dev/null: PS C:\> cc -xc++ -o/dev/null -lc++…
Zombo
  • 1
  • 62
  • 391
  • 407
-1
votes
1 answer

git grep and OR'd multiple clauses with pipe?

I want to search for multiple clauses with grep - and I know that one can use a pipe | to OR the clauses; so here is a test I'm trying on MSYS2, Windows 10: $ uname -s MSYS_NT-10.0-18363 $ git --version git version 2.25.2 $ grep --version | head…
sdaau
  • 36,975
  • 46
  • 198
  • 278
-1
votes
1 answer

Cant use QWidgets

I install Qtcreator and Qt5 itself via Msys2 using this guide https://wiki.qt.io/MinGW-64-bit When i try import QWidgets via #include
Vasilij Altunin
  • 754
  • 1
  • 5
  • 18
-1
votes
1 answer

Changing Python Path in Windows

I have 2 distribution of Python3 in my PC. One is using Anaconda distribution and another is from MSYS2 distribution for Windows. I've always use the Anaconda one for all my works. But, somehow when I type python in command line yesterday, it…
Akhmad Zaki
  • 419
  • 7
  • 23
-1
votes
1 answer

gdb, how to step into c runtime? Where is crt_c.c?

When I'm stepping into debugged program, it says that it can't find crt/crt_c.c file. I have sources of gcc 6.3.0 downloaded, but where is crt_c.c in there? Also how can I find source code for printf and rand in there? I'd like to step through them…
-2
votes
1 answer

Segmentation fault - libstdc++-6.dll

I attempted to set up my environment for C++ development and follow the hands-on practice. However, when running a simple program that prints "Hello, world," I encountered the following output: "Segmentation fault." While debugging the code, it…
-2
votes
1 answer

Hey, I'm a beginner and I have a question. I can't retrieve the mingw bin thing from msys2 in order to run c on my terminal in vs code. What to do?

So basically I was writing this c code on vs code and tried to run it on the terminal by writing make file but it showed error and told me that make is not recognised. Turns out I had to download the C extension on my vs code, which I did and then I…
-2
votes
1 answer

Building Assimp with MSYS

Hello i tried to build Assimp. I'm using gcc (10.2.0) and MSYS2. It's possible to download Assimp package from MSYS package repository but i prefer to build Assimp from scratch. while building Assimp a error message…
-2
votes
1 answer

Can't link GTKmm 3 app with minGW64 ithin MSYS2: ustring constructor not found

I was trying to compile my GTKmm 3 app on Windows. Get an error during compilation that Glib::ustring doesn't have a constructor Glib:: ustring:: ustring(std::string*) although the code gets compiled successfully on Ubuntu. Sample…
-2
votes
1 answer

MSYS2 /pacman can't install any program

How to solve this error ? error: failed retrieving file ... from ....
1 2 3
65
66