urubu icon indicating copy to clipboard operation
urubu copied to clipboard

Any idea for how to run "make" commands in windows

Open rubenmedios opened this issue 9 years ago • 19 comments

I try the system, but haven't luck, the result is this

$ make
bash: make: command not found

I'm on Windows 10

rubenmedios avatar Jun 04 '16 04:06 rubenmedios

@rubenmedios you can try downloading the Make executable from http://www.mingw.org/. Though I remember that it's not very straight forward.

How did you get your bash environment?

leouieda avatar Jun 06 '16 13:06 leouieda

@rubenmedios make is an external task automation tool that has basically nothing to do with urubu. Of course, many people on Linux/Unix like to use it because that's were it comes from.

I have close to zero experience with Windows. However, on one occasion I had to install urubu for a customer and I got it to work, including the make utitlity. So it should be possible to set this up. Otherwise, just use the urubu commands natively, as described in the manual.

jandecaluwe avatar Jun 06 '16 17:06 jandecaluwe

@rubenmedios could you specify more details on the problem - if it is still active?

basic info would be: WHY do you want to use make (and not cmake or qmake) HOW does your environment look like do you use a integrated development environment (IDE) for your project ((if not look at PyCharm CE))

on windows you can use mingw32-make.exe - if you installed the compiler and add the path to your environment variable PATH

to check it:

  • open the execute dialog (win+R)
  • open a command prompt by entering cmd.exe (plus enter)
  • write "set PATH" without the apostrophe OR use rapid environment editor to look at the PATH variable.

Sorry if this is too low level - but from your question I assumed that you did not know it... Feel free to ask for more advice. Felix

42sol-eu avatar Sep 29 '16 19:09 42sol-eu

If it is only to generate binary files, I use:

cmake --build .

GabrielAdeyemi avatar Apr 09 '19 08:04 GabrielAdeyemi

Hi, make, cmake, mingw32-make....all of them give an error command not found... any suggestions ? thanks regards ludo

Patsjemoe avatar Aug 03 '19 07:08 Patsjemoe

Hi,

I'm running bash (Version 4.4.12(3)-release (x86_64-cygwin) on Windows 10. When i ran the 'make' command i received the bash: make: command not found

I searched in my mingw program files for the (make) executable. C:..\MinGW\bin\make.exe I then added the make executable directory location as one of my PATH environments Restart bash and make was able to work.

Jesse-Reyes avatar Feb 29 '20 20:02 Jesse-Reyes

Just add environment variable

C:\Program Files (x86)\GnuWin32\bin

Thats All.

Cheers, Ranjit

Rattanpal1 avatar Mar 01 '20 21:03 Rattanpal1

Follow the step:

Step 1 - Install Mingw, through the MinGW installer. Step 2 - Open Command Prompt, Try to type mingw-get, if this command is working then follow the next step otherwise go to step one and install it properly. Step 3 - In command prompt, type mingw-get install mingw32-make.exe, and hit enter. An appropriate make version will be installed in your computer. Step 4 - Go to C:/MingW/bin folder and find the mingw32-make.exe file and copy it and paste it in the same folder and then rename the copied file to make.exe, That's it. Now you are good to go. type command make in prompt to see it's working or not.

faizanurrahman avatar Aug 10 '20 17:08 faizanurrahman

Follow the step:

Step 1 - Install Mingw, through the MinGW installer. Step 2 - Open Command Prompt, Try to type mingw-get, if this command is working then follow the next step otherwise go to step one and install it properly. Step 3 - In command prompt, type mingw-get install mingw32-make.exe, and hit enter. An appropriate make version will be installed in your computer. Step 4 - Go to C:/MingW/bin folder and find the mingw32-make.exe file and copy it and paste it in the same folder and then rename the copied file to make.exe, That's it. Now you are good to go. type command make in prompt to see it's working or not.

-this has worked for me, thanks

WycliffDembe avatar Aug 18 '20 03:08 WycliffDembe

It's still not working for me 15987913959289139432950128596921

Komal7209 avatar Aug 30 '20 12:08 Komal7209

Follow the step:

Step 1 - Install Mingw, through the MinGW installer. Step 2 - Open Command Prompt, Try to type mingw-get, if this command is working then follow the next step otherwise go to step one and install it properly. Step 3 - In command prompt, type mingw-get install mingw32-make.exe, and hit enter. An appropriate make version will be installed in your computer. Step 4 - Go to C:/MingW/bin folder and find the mingw32-make.exe file and copy it and paste it in the same folder and then rename the copied file to make.exe, That's it. Now you are good to go. type command make in prompt to see it's working or not.

this didnot work for me. I am using make to start a postgres db for my go project.

newguy avatar Oct 15 '20 13:10 newguy

  1. Download ( https://sourceforge.net/projects/ezwinports/files/make-4.3-without-guile-w32-bin.zip/download ) without guile from (Parent websites : https://sourceforge.net/projects/ezwinports/files/).
  2. Extract it.
  3. Copy the contents inside <Git Installation Directory>\mingw64 folder (Do NOT overwrite or Replace any files).
  4. Restart GIT Bash. "make" command will start working for you now as it works on Linux systems.

Sameerpy avatar Jan 04 '21 13:01 Sameerpy

It's still not working for me 15987913959289139432950128596921

One suggestion to you, Instead of taking photo from phone you can take screenshot or use snipping tool.

babita-web avatar May 27 '21 10:05 babita-web

when i try to run make C:\particualr\folder\where\makefiles_present>make #its shows make: *** No targets specified and no makefile found. Stop.

#even though the files are name Makefile

sabapathim avatar Aug 15 '21 09:08 sabapathim

image it says make not found

1basilisk avatar Aug 20 '21 13:08 1basilisk

image it says make not found

you must be on a 64 bit version

kartheekDogga avatar Sep 20 '22 09:09 kartheekDogga