I have Windows 7 and tried to use the \'make\' command but \'make\' is not recognized as an internal or external command.
I did Start -> cmd -> run ->
If you already have MinGW installed in Windows 7, just simply do the following:
C:\MinGW\bin\mingw32-make.exe file in the same folder.mingw32-make.exe to make.exe.Tested working in my laptop for above steps.
try download & run my bat code
======run 'cmd' as admin 2 use 'setx'===== setx scoop "C:\Users%username%\scoop" /M
echo %scoop%
setx scoopApps "%scoop%\apps" /M
echo %scoopApps%
scoop install make
=======Phase 3: Create the makePath environment variable===
setx makePath "%scoopApps%/make" /M
echo %makePath%
setx makeBin "%makePath%/Bin" /M
echo %makeBin%
setx Path "%Path%;%makeBin%" /M
echo %Path%
mingw32-make package installed.PATH in your command line and look for the folder. Or on windows 10 go to Control Panel\System and Security\System --> Advanced system settings --> Environment Variables --> System Variables find Path variable, select, Edit and check if it is there. If not just add it!mingwstartup.bat in the MinGW bin folder. write the line doskey make=mingw32-make.exe inside, save and close it.regedit. As explained here in HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER go to \Software\Microsoft\Command Processor right click on the right panel New --> Expandable String Value and name it AutoRun. double click and enter the path to your .bat file as the Value data (e.g. "C:\MinGW\bin\mingwstartup.bat") the result should look like this:now every time you open a new terminal make command will run the mingw32-make.exe. I hope it helps.
For window-10 resolved error- make' is not recognized as an internal or external command.
Download MinGW - Minimalist GNU for Windows from here https://sourceforge.net/projects/mingw/
install it
While installation mark all basic setup packages like shown in image
Apply changes
After completion of installation copy C:\MinGW\bin paste in system variable
Open MyComputer properties and follow as shown in image
You may also need to install this
In Windows10, I solved this issue by adding "C:\MinGW\bin" to Path then called it using MinGW32-make not make
use mingw32-make instead of cmake in windows