Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rubenmedios opened this issue Jun 4, 2016 · 19 comments
Open

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

rubenmedios opened this issue Jun 4, 2016 · 19 comments

Comments

@rubenmedios
Copy link

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

$ make
bash: make: command not found

I'm on Windows 10

@rubenmedios rubenmedios changed the title Any idea for haot to run "make" commands in windows Any idea for how to run "make" commands in windows Jun 4, 2016
@leouieda
Copy link
Contributor

leouieda commented Jun 6, 2016

@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?

@jandecaluwe
Copy link
Owner

jandecaluwe commented Jun 6, 2016

@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.

@42sol-eu
Copy link

@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

@GabrielAdeyemi
Copy link

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

cmake --build .

@Patsjemoe
Copy link

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

@Jesse-Reyes
Copy link

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.

@Rattanpal1
Copy link

Just add environment variable

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

Thats All.

Cheers,
Ranjit

@faizanurrahman
Copy link

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.

@WycliffDembe
Copy link

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

@Komal7209
Copy link

It's still not working for me
15987913959289139432950128596921

@newguy
Copy link

newguy commented Oct 15, 2020

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.

@Sameerpy
Copy link

Sameerpy commented Jan 4, 2021

  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 \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.

@babita-web
Copy link

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.

@sabapathim
Copy link

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

@1basilisk
Copy link

image
it says make not found

@kartheekDogga
Copy link

image it says make not found

you must be on a 64 bit version

@mohdhaider07
Copy link

image

Can you please tell me how I can resolve this error

@mohdhaider07
Copy link

I am using 64bit windows

@josyb
Copy link
Collaborator

josyb commented Mar 14, 2023

Try mingw-get install mingw32-make (without the .exe)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests