Questions tagged [mingw]

MinGW, a contraction of "Minimalist GNU for Windows", is a minimalist development environment for native Microsoft Windows applications.

Filter by
Sorted by
Tagged with
0
votes
1answer
16 views

On mingw/pacman why does harfbuzz requires glib2, which requires python?

I was installing SFML from pacman, which requires freetype, and I got a nasty cyclic dependency between freetype and harfbuzz, which is another issue. My main question is about this chain of ...
1
vote
0answers
115 views

Shifting C++ Compiler from Windows to Windows Subsystem for Linux (WSL)

While learning how to code in C++, I installed minGW to allow me to compile C++ code through IDEs and the command prompt. However, recently I have been trying to use the WSL for most of my tasks. ...
0
votes
0answers
34 views

MinGW bash/sh freezes 1 minute before prompt when running them as Administrator

I'm facing a real strange issue that I can't explain. I've just installed the MinGW.org (not MinGW-w64) environment on Windows 10 and everything is working as expected, except one thing: when I run ...
0
votes
0answers
173 views

Vim text messed up over ssh on Windows remote host regardless of terminal, works fine on Linux remote host

vim works fine on the first invocation on a remote Windows host, but further use leads to my terminal getting messed up. :redraw! and reset do not help: Using the same local terminal, vim works fine ...
0
votes
2answers
480 views

How to install clang-format on MinGW (Windows)?

I tried searching with pacman -Ss for clang-format, git-clang-format, etc, but I'm not having any luck. However, I have seen some references to it on some other websites, implying it may exist (or ...
2
votes
1answer
545 views

How do I downgrade MinGW GCC to 4.8,4?

I'm starting a C++ course in college, and they asked for all assignments to be compilable on GCC 4.8.4. I decided to go with MinGW on Windows 10 via Eclipse, but on the "Versions" tab of any given ...
0
votes
0answers
699 views

Sublime Text 3 - g++ is not recognized as an internal or external command

I am trying to set up Sublime Text 3 so I am able to build and run c++ files. I have installed MinGW, and added C:\MinGW\bin\g++.exe to my system path, but I am still receiving this error after ...
0
votes
1answer
54 views

Added C:\mingw\bin to path variable, gcc still not recognized

Installed minGW on my windows10 machine, added ';C:\MinGW\bin' to environment variables path, yet when I type 'gcc' into cmd it is still not recognized. Picture for reference.
0
votes
0answers
223 views

Installing extra packages into a git-for-Windows MinGW installation

For most Windows computers I use, I install git for Windows (from https://git-scm.com/downloads) to get a basic set of useful command line tools that I am familiar with from the Linux world (apart ...
0
votes
0answers
145 views

git-bash wrap/unwrap text

I'm using the git-bash built-in in the SourceTree software as a default terimnal. Running in Windows10. Until some days ago the default behaviour regarding the text in the window was: When the text ...
0
votes
0answers
35 views

I can't include ifstream or ofstream in eclipse c++

I'm using eclipse with mingw and I can't include ifstream or ofstream. I looked in the mingw include folder with the standard libraries and I can't find either of them. I also can't find the source ...
0
votes
0answers
219 views

Compile in msys2 mingw64 with -m32 option

Inside a msys2 mingw64 shell, I would like to compile a software with the -m32 option in order to run in 32bit mode. I have installed mingw-w64-x86_64-toolchain But when I compile with -m32, I have ...
0
votes
0answers
27 views

Cannot figure out compiler path using MinGW and VSCode

I am trying to set up C++ in Visual Studio Code, and after some trial and error found that I needed to install MinGW. I did this but in this tutorial it said I need to set the compiler path in VSCode, ...
0
votes
0answers
101 views

Troubles with using MinGW Fortran compiler

I installed MinGW, and defined the path. I'm using windows 10. But I can't use it, I get this error for any gfortran code I try to compile. cd 'C:\Users\smmza\OneDrive\Documents\NetBeansProjects\...
0
votes
1answer
141 views

I just installed sublime text 3 on my laptop. I cant run C codes

I built some build systems by using various codes from google & youtube but cant make it. every time some error is showing. is there any way of solving this? Last time i used this code to build a ...
0
votes
1answer
70 views

Is it possible to tell from CMD whether i have Cygwin or MSYS?

Is there a way that I can check, from a CMD whether a PC has Cygwin or MSYS (MSYS2, MINGW, MINGW-64...) installed? Note that I need to be able to differentiate Cygwin from MSYS. Thanks!
0
votes
0answers
97 views

how should i install boost librariues for mingw?

i am using windows 10 and g++ (MinGW.org GCC-8.2.0-3) 8.2.0 i installed boost from boost.org i have been looking through forums and different websites for a few days... its rediculous when i try ...
1
vote
0answers
79 views

Compatible version of Allegro with my GCC compiler

I am using 32 bit version of code::blocks 17.12 with TDM-GCC version 5.1.0-3 on windows 7 ultimate 32 bit. I was using Allegro 5 (allegro-mingw-gcc6.2.0-x86-static-5.2.2). It worked completely fine. I ...
0
votes
1answer
317 views

Installing Darknet's base system on Windows 10

I'm trying to install darknet (following the instructions on https://pjreddie.com/darknet/install/) I ran: git clone https://github.com/pjreddie/darknet.git make And am getting the following error:...
0
votes
1answer
54 views

Can Alpine3D's code be compiled following their instructions?

I have been attempting to run Alpine3d for a personal project to model wind-drifted snow. This software uses 3 main libraries of code (each of which are open source projects of the SLF): MeteoIO, ...
0
votes
1answer
583 views

Windows 10 Git-bash: Which script sets ORIGINAL_PATH during git-bash start up

When I launch Windows git-bash ver. 2.21.0, /etc/profile assigns %PATH% to $ORIGINAL_PATH and adds a few mingw paths which eventually become the $PATH in the bash shell. However, inside /etc/profile,...
2
votes
1answer
1k views

Installing Mingw-w64 without admin rights

How can I install Mingw-w64 without admin rights? Note that I was able to install MinGW without admin rights. I am using Windows 7.
1
vote
0answers
44 views

Trying to install gcc+ in Git [duplicate]

For Installing gcc+ in Git for the Windows bash environment I can't seem to find anywhere the proper order of which should I download first? And how I would go about setting up the PATH environment. ...
0
votes
1answer
396 views

Execute CMD command with Shell

Trying to execute a .bat file from a shell script. This .bat file calls another .bat file. The first bat file contains: other_file.bat -c some_conf.xml This means I cannot do: start dir/my_file ...
0
votes
1answer
501 views

installing MinGW-x64 in code blocks windows 10 error: No such file or directory found

I am trying to change code blocks configuration to work with min gw x64'. i tried the method How to specify MinGW64 for codeblocks 17.02 on Windows 10?. but still i am getting following error ||=== ...
0
votes
0answers
2k views

pip error: no Fortran compiler found, but compiler already present

I'm trying to install an external library for PyAstronomy using pip: pip install PyAstronomy_ext I do this via Anaconda command prompt. The first time I ran the command the following errors appeared:...
1
vote
2answers
1k views

cmake environment error with clion

I downloaded MinGW/cygwin/mingw-w64 not one of them work. I can't find the issue, every time CMake - Bundled "!Does not work in this environment". I watched youtube for clion-setup more than one. I ...
0
votes
1answer
57 views

Trying to compile Asylia via its makefile, with MinGW… Wrong compiler? How to fix?

I'm trying to compile Asylia via its makefile, with MinGW... Am I using the wrong compiler? It's seems MinGW is getting stuck on the square brackets in "$(BUILD):"... And square brackets in MinGW are ...
0
votes
0answers
521 views

How to change permissions under Mingw or Cygwin?

My ~/.ssh/id_rsa is 644 when it should be, I believe, 600. The host is Windows 10 and I have both git-bash 2.17.0 and MobaXterm 10.5-3582. If I try to change group, git-bash will fail with $ chown :...
0
votes
1answer
122 views

MinGW compiler : unable to run program in command prompt

I downloaded MinGW compiler . I wrote a small c program and compiled it as follow : gcc -c firstc.c It generated an executable file as "firstc.o" . But when I tried to run the program in command ...
7
votes
2answers
3k views

MSYS2 and “At least one valid and enabled repository required for this action to succeed.”

I have separate MSYS2 32-bit and 64-bit installed on a Windows 8.1 test machine. MSYS2 was acquired from the MinGW-64 download page. Each installation has developer tools installed like GCC, Git, GDB, ...
1
vote
1answer
1k views

QEMU User mode emulation

I am a student and trying to compile QEMU on MINGW32 in user emulation mode. I read in certain document that, the following OS are supported in user space emulation: 1. Linux (referred as qemu-...
-1
votes
1answer
1k views

What to install with Qt Creator?

I'm trying to install Qt creator on Windows but it has so many options (and the whole installation requires many GB) that I really don't know which ones I need. I only want to be able to create and ...
0
votes
0answers
353 views

Avoid adding unnecessay Windows %PATH% to Git Bash

Unlike Windows & Git Bash: Bash PATH to read Windows %PATH% system variable, I am trying to avoid Git Bash from adding many entries from windows %PATH%. The reason is my Windows %PATH% has many ...
0
votes
1answer
3k views

How to specify MinGW64 for codeblocks 17.02 on Windows 10?

I have downloaded CodeBlocks 17.02 without mingw and installed it, then I downloaded MinGW64 from here(https://mingw-w64.org/doku.php/download) and only changed the architecture option from i686 to ...
2
votes
1answer
769 views

MinGW: Python enabled GDB on Windows

I use QtCreator 4.6.2, which apparently requires Python-enabled GDB if I want to use it as a debugger. I tried to install mingw32-gdb-python version 7.5-1 with MinGW installer (graphical interface), ...
0
votes
1answer
225 views

How to make MSYS2 pacman believe I installed a package?

I am using MinGW-w64 and MSYS2 on Windows 10. Suppose that there are two libraries A and B. B depends on A, but it also depends on a lot of other things. The official version of library A has a few ...
0
votes
0answers
109 views

C++ Program Compiling Error on Windows using MinGW32 bit compiler with Scons returns that a C++ Header file is Missing

I'm using Windows 7 SP-1 32 bit. I want to Compile Godot on my System from source. According to the instructions, I installed Python2.x on My system. Then I installed Scons in my system too. I used ...
0
votes
1answer
490 views

Visual Studio Code - printf, scanf, perror, etc - red squiggly underlines

Despite my code compiling and executing fine, the first occurrences of printf, scanf, perror, etc (i.e members of stdio.h) have red squiggly underlines, as does stdio.h itself. Why does my code ...
0
votes
0answers
319 views

Can't find grub-mkrescue

Im following the os tutorial on osdev but i can't find grub-mkrescue it was not included in mingw a quick search told me to get cygwin but it was not included in cygwin either Thats why im asking here ...
5
votes
3answers
17k views

Install GCC in Git for Windows bash environment

I have Git for Windows installed on a Windows 7 machine (no, sadly I can't switch to W10 on this particular machine). This comes with a bash environment that uses MinGW-64 but only includes some ...
0
votes
1answer
246 views

How do I use `ts` (timestamp) command in msys2/mingw

I have some problem with zsh, I need ts to log the execution time . zsh -xv 2>&1 | ts -i "%.s" > zsh_startup.log But zsh: command not found: ts pacman -Ss ts got a lot of unrelevernt ...
2
votes
1answer
331 views

How can I open a file with its default application from the MinGW Bash prompt?

In the default windows command prompt you can open a file from the command prompt by entering the name. See Open file with default application from command line. Is there an equivalent in the MinGW ...
0
votes
1answer
2k views

CMake error when creating project in CLion

I recently uninstalled Cygwin and switched to using MinGW as my toolchain. I installed the required packages; I triple checked to make sure that mingw32-make, mingw32-gcc and mingw32-gcc-g++ are all ...
0
votes
1answer
57 views

How to change make builtin rules

I would like to know if there is a way to change the rules applied automatically by make when there is no makefile. To give an example, if you write make foo in a directory containing a file called ...
2
votes
2answers
830 views

Install haskell in existing msys2

Is there any simple way to install haskell / cabal / stack in an existing msys2 installation? I can't find one. Note: Apparently it is possible to install both at the same time using MinGHC, see here....
0
votes
1answer
263 views

using ssh from Git for Windows in a stand-alone fashion

I am having Git for Windows (this comes with MinGw64 binaries and an msys-dll set) and have extracted (thanks to depends.exe) only the program SSH.exe with the needed DLL files for using those ...
4
votes
1answer
750 views

Device names in MSYS2 dd

Which is the equivalent of: dd if=/dev/sda ... dd if=/dev/sda1 ... for dd.exe in MSYS2 in coreutils Does Chrysocome syntax apply?
1
vote
1answer
1k views

How do you change versions of gcc on windows?

I've been using g++ 4.8.1, mingw. Now, I've just updated to 6.3.0, however when I use g++ in command prompt it still seems to use the older version. How do you change between versions on windows?
2
votes
1answer
359 views

cd Command in ConEmu and MinGW

I'm running MinGW bash in ConEmu and have set the HOME variable to my desired directory c/Users/<username> in the MinGW/msys/1.0/etc/profile file. The problem is that when I enter cd in ConEmu,...