• Go to ezwinports, https://sourceforge.net/projects/ezwinports/files/

  • Download make-4.2.1-without-guile-w32-bin.zip (get the version without guile)

  • Extract zip
  • Copy the contents to C:\ProgramFiles\Git\mingw64\ merging the folders, but do NOT overwrite/replace any exisiting files.
Answer from Vallabha Vamaravelli on Stack Overflow
🌐
GitHub
github.com › dmlc › xgboost › issues › 1132
mingw32-make: command not found · Issue #1132 · dmlc/xgboost
April 21, 2016 - You switched accounts on another tab or window. Reload to refresh your session. ... There was an error while loading. Please reload this page. ... I received the following message. Could you help me out? Thanks! $ make -j4 sh.exe": mingw32-make: command not found
Author   dmlc
Discussions

Error installing CmdStan (Windows 10; Command 'mingw32-make.exe' not found @win/processx.c:983)
Error installing CmdStan (Windows 10; Command 'mingw32-make.exe' not found @win/processx.c:983) · Thanks @ahartikainen, I succesfully ran that line of code in the RTools bash shell. However, I then tried again to install CmdStan as above but failed with the same error. More on discourse.mc-stan.org
🌐 discourse.mc-stan.org
15
0
July 5, 2020
Can't compile using mingw.
Check if your PATH is set correctly. More on reddit.com
🌐 r/AskProgramming
10
2
September 19, 2018
[R]Command 'mingw32-make.exe' not found @win/processx.c:994
Summary: Please provide a short couple sentence summary. Description: Describe the issue as clearly as possible. Reproducible Steps: Please report steps to reproduce the issue. If it's not poss... More on github.com
🌐 github.com
2
November 9, 2020
Complete newbie: Getting 'make' is not recognized as an internal or external command, operable program or batch file. | Qt Forum
Hi, I'm following the beginner tutorial. Have created cpp file and run qmake to create project but make or nmake are not recognised. I have downloaded the 1.... More on forum.qt.io
🌐 forum.qt.io
February 1, 2021
🌐
Stack Overflow
stackoverflow.com › questions › 77493774 › mingw-make-command-not-found
c - MinGW make command not found - Stack Overflow
November 16, 2023 - when i run the command make main.c it says "make" not found it should compile the code im using the vs code terminal and im using Windows 11 with the latest update and installed mingw from
🌐
Reddit
reddit.com › r/askprogramming › can't compile using mingw.
r/AskProgramming on Reddit: Can't compile using mingw.
September 19, 2018 -

Hi,

I've recently started programming in university and we're using vscode with the mingw compiler for Windows (I'm using Linux in class so I didn't run into this problem until now) but I've ran into an issue with the compiling.
https://i.imgur.com/2I4M2Ul.png

mingw32−make : The term 'mingw32−make' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
 correct and try again.
At line:1 char:1
+ mingw32−make
+ ~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (mingw32−make:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException    

Can anyone help me fix this?
I've changed the path in the windows environmental thing and mingw is installed where it is supposed to be as far as I know.

🌐
QT Centre
qtcentre.org › threads › 21835-Could-not-find-make-command-mingw32-make-exe-in-the-build-environment
Could not find make command: mingw32-make.exe in the build environment
Just a shot in the dark, but maybe the *.pro.user file is hiding the path containing mingw32-make.exe? Try renaming it or deleting it so QtCreator creates a new default .user file, then run qmake again.
🌐
Google Groups
groups.google.com › g › wx-users › c › -D6zjhdROqg › m › oorqD1xGBAAJ
Missing mingw32-make
... Either email addresses are ... the install.txt file, after typing > cd %WXWIN%\build\msw > mingw32-make -f makefile.gcc Make sure you have a clean path to the compiler and tools....
Find elsewhere
🌐
GitHub
github.com › stan-dev › cmdstan › issues › 946
[R]Command 'mingw32-make.exe' not found @win/processx.c:994 · Issue #946 · stan-dev/cmdstan
November 9, 2020 - You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert · {{ message }} stan-dev / cmdstan Public · There was an error while loading. Please reload this page. Notifications · You must be signed in to change notification settings · Fork 99 · Star 234 · New issueCopy link · New issueCopy link · Closed · Closed · [R]Command 'mingw32-make.exe' not found @win/processx.c:994#946 ·
Author   stan-dev
🌐
Qt Forum
forum.qt.io › home › qt development › general and desktop › complete newbie: getting 'make' is not recognized as an internal or external command, operable program or batch file.
Complete newbie: Getting 'make' is not recognized as an internal or external command, operable program or batch file. | Qt Forum
February 1, 2021 - It seems that -QT- Qt used to have a make.bat file to call mingw32-make but now no longer includes this for some reason. A number of places on the web - forums and stackoverflow etc - have a discussion of this and the answer is to create your own batch file and put it in the mingw\bin folder, with the following command;
🌐
Reddit
reddit.com › r/learnprogramming › mingw compiler not running?
r/learnprogramming on Reddit: MinGW compiler not running?
August 18, 2021 -

I'm stuck on the installation process of CodeLite (IDE) and MinGW (GCC). Fairly new to learning C++ and the code won't execute.

The code won't build & execute on CodeLite and I get the following errors -

  1. 'make' is not recognized as an internal or external command, operable program or batch file (CodeLite)

  2. No targets specified and no makefile found (when I search for the 'make' on Command prompt)

And when I try to build and execute on CodeLite -

3. This app can't run on your PC (MinGW error)

What should I do? I'm no computer whiz, I don't know why I keep getting these errors, I spent my whole day trying to solve this by searching on google but I couldn't-

Top answer
1 of 12
53

In Windows10, I solved this issue by adding C:\MinGW\bin to Path and then called it using MinGW32-make not make.

2 of 12
43

This is an old question, but none of the answers here provide enough context for a beginner to choose which one to pick.

What is make?

make is a traditional Unix utility which reads a Makefile to decide what programs to run to reach a particular goal. Typically, that goal is to build a piece of software from a set of source files and libraries; but make is general enough to be used for various other tasks, too, like assembling a PDF from a collection of TeX source files, or retrieving the newest versions of each of a list of web pages.

Besides encapsulating the steps to reach an individual target, make reduces processing time by avoiding to re-execute steps which are already complete. It does this by comparing time stamps between dependencies; if A depends on B but A already exists and is newer than B, there is no need to make A. Of course, in order for this to work properly, the Makefile needs to document all such dependencies.

A: B
    commands to produce A from B

Notice that the indentation needs to consist of a literal tab character. This is a common beginner mistake.

Common Versions of make

The original make was rather pedestrian. Its lineage continues to this day into BSD make, from which nmake is derived. Roughly speaking, this version provides the make functionality defined by POSIX, with a few minor enhancements and variations.

GNU make, by contrast, significantly extends the formalism, to the point where a GNU Makefile is unlikely to work with other versions (or occasionally even older versions of GNU make). There is a convention to call such files GNUmakefile instead of Makefile, but this convention is widely ignored, especially on platforms like Linux where GNU make is the de facto standard make.

Telltale signs that a Makefile uses GNU make conventions are the use of := instead of = for variable assignments (though this is not exclusively a GNU feature) and a plethora of functions like $(shell ...), $(foreach ...), $(patsubst ...) etc.

So Which Do I Need?

Well, it really depends on what you are hoping to accomplish.

If the software you are hoping to build has a vcproj file or similar, you probably want to use that instead, and not try to use make at all.

In the general case, MinGW make is a Windows port of GNU make for Windows, It should generally cope with any Makefile you throw at it.

If you know the software was written to use nmake and you already have it installed, or it is easy for you to obtain, maybe go with that.

You should understand that if the software was not written for, or explicitly ported to, Windows, it is unlikely to compile without significant modifications. In this scenario, getting make to run is the least of your problems, and you will need a good understanding of the differences between the original platform and Windows to have a chance of pulling it off yourself.

In some more detail, if the Makefile contains Unix commands like grep or curl or yacc then your system needs to have those commands installed, too. But quite apart from that, C or C++ (or more generally, source code in any language) which was written for a different platform might simply not work - at all, or as expected (which is often worse) - on Windows.

🌐
NerdyElectronics
nerdyelectronics.com › home › embedded systems › install mingw on windows for make
MinGW Install: Download, PATH Setup & mingw32-make Rename
April 3, 2026 - Getting 'make' is not recognized on Windows? Download MinGW, rename mingw32-make to make, add C:MinGWbin to PATH, and test with make --version.
🌐
Stan Forums
discourse.mc-stan.org › interfaces
Mingw32-make build "Could not find files for the given pattern(s)." - Interfaces - The Stan Forums
October 18, 2022 - R version 4.2.1 (2022-06-23 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19044) I’m trying to install stan following the instructions here. I downloaded the RTools42 installer and ran it. (At some point I also tried RTools40, but it didn’t work for ...
🌐
Tech News Today
technewstoday.com › home › linux › how to fix “make: command not found” error
How to Fix “Make: Command Not Found” Error - Tech News Today
September 20, 2022 - If you used another method like MinGW, you should press New and add the appropriate path (e.g., C:\MinGW\bin). Additionally, try calling make differently (e.g., MinGW32-make).
🌐
Kodeco Forums
forums.kodeco.com › 📚 official books › real-world flutter by tutorials
Make command fails - Real-World Flutter by Tutorials - Kodeco Forums
October 11, 2022 - Working in Windows 11 - there is no native make command. I tried mingw32-make (which I do have installed) and that runs but an error is thrown in the very first starter project: Running “flutter pub get” in starter…
🌐
Coderanch
coderanch.com › t › 612230 › languages › mingw-gcc-Command
make: mingw32-gcc-4.7.2: Command not found (C / C++ forum at Coderanch)
CLEAN SUCCESSFUL (total time: 64ms) mkdir -p build/Debug/MinGW-Windows/_ext/198714583 rm -f build/Debug/MinGW-Windows/_ext/198714583/HelloWorld.o.d mingw32-gcc-4.7.2 -c -g -MMD -MP -MF build/Debug/MinGW-Windows/_ext/198714583/HelloWorld.o.d -o build/Debug/MinGW-Windows/_ext/198714583/HelloWorld.o ../Interview\ Preparation/HelloWorld.c make: mingw32-gcc-4.7.2: Command not found make: *** [build/Debug/MinGW-Windows/_ext/198714583/HelloWorld.o] Error 127 BUILD FAILED (exit value 2, total time: 462ms) Also can someone explain me about executing multiple C programs in the same project.