C++ – Cygwin: “-bash: make: command not found”

ccygwinmakefileterminal

I'm trying to use cygwin as my compiler and for some reason it's not working. I followed this video on how to install it

https://www.youtube.com/watch?v=zRbbDkDb5UM

then I followed this video on how to use it

https://www.youtube.com/watch?v=VKOcnRDGFLw

When I made my first program "Hello world" and tried the command "make hello," I'm getting the error "-bash: make: command not found." Any ideas what's wrong?

Here's my system path in case there's something wrong with that.

C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Trend Micro\AMSP;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\cygwin64\bin;C:\MinGW\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Sublime Text 2;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\

Best Answer

1.May be problem with PATH if you use windows. 2.Try mingw32-make instead of make