In cs50 they just went straight into teaching us code on VS code and completely skipped telling us how to set it up. I was completely dumbfounded getting so many error messages just trying to type hello, world XD I can't believe this is the only tutorial online and this took me 2 hours to do lol. Thank you so much!
It is not only your problem, week one gave mi so big problems, now Im on week for, still dont use cs50 version of vs code and im trying to compile good mi program
Hey, I'm also coming from CS50 Harvard. How did you get yours to work? I'm using a Windows machine, and I've installed it and followed all the instructions, but I'm still having problems compiling the code with 'make.
It's the best tutorial, i've found. I have spend half a day without success trying to run make. And finally run in after this 6min video. Many-many thanks for that!!!!
When I finally call make, it says "This version of C:\MinGW\bin\make.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher". When I try to install mingw64-make, it says "mingw-get: *** ERROR *** mingw64-make: unknown package".
@@pawelbiniak I did. But it's been really long, I don't remember. Use visual studio installer, go to components and check make. I am not sure but worth a try.
I created the file 'bin/make' with the content 'mingw32-make.exe $*' but it didn't work. As you mentioned it, i tried to add the 'exe' extension ('make.exe') but it didn't work either.
Would you be able to just rename the file "mingw32-make.exe" to "make.exe"? I did that with my install of MinGW, and no problems so far. As long as none of the other paths in the PATH environment variable have a "make.exe" executable I would think it would be fine.
for those having trouble with windows 64bit incompatibility...here's the solution (copied from another comment hidden at the bottom.. "This fixed the 64 bit issue for me. Thanks! Here's the translation. Google translate did a good job though. " This is what worked for me: 0. Delete the "make" or "make.exe" if you have already created them 1. Open cmd [Make sure to run as admin] 2. "cd C:\MinGW\bin" (may differ if MinGW is in a different path) 3. "mklink make.exe mingw32-make.exe" I hope it works "
Thanks you very much man, everything finally works! on a side note, I didn't have anything installed to work with C beforehand, turns out I forgot to install GCC, did it through MinGW and now everything is fine
when you install: " MinGW - Minimalist GNU for Windows" and you uncheck the option: " ... also install support for the graphical user interface" and you with the mouse cursor pointing the software mentioned before; you try to open the Git SCM Git BASH; what is the keyboard shortcut to do that ?
I have this issue This version of C:\MinGW\bin\make.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher. Please help
@Christian Mains Thank you, that solved my problem- I also got a popup warning that the program is incompatible with 64 bit windows, but renaming mingw32-make.exe to make.exe fixed it.
Hey, I was following this tutorial but at the last step, creating make.exe in bin, my laptop says that it isn't compatible with the 64bit version of windows, can you help me?
Hat bei mir funktioniert: 0. Lösch die "make" oder "make.exe", falls du sie schon erstellt hast 1. Öffne cmd 2. "cd C:\MinGW\bin" (kann bei abweichen, wenn MinGW in einem anderen Pfad ist) 3. "mklink make.exe mingw32-make.exe" Ich hoffe es funktiniert
This fixed the 64 bit issue for me. Thanks! Here's the translation. Google translate did a good job though. " This is what worked for me: 0. Delete the "make" or "make.exe" if you have already created them 1. Open cmd [Make sure to run as admin] 2. "cd C:\MinGW\bin" (may differ if MinGW is in a different path) 3. "mklink make.exe mingw32-make.exe" I hope it works "
hey there, I'm using Windows 11 now and when I tried following your steps, most worked fine but in the end when we make a proxy executable and run that, my computer throws an error saying that 32 bit software architecture is not supported. Is there anything I can do for that?
Pascal vielen Dank!! Multiple StackOverflow Forums and Tutorials and none of them goes so straight to the point and actually helps like you did!! Thanks for this really explanatory video.
you can do everything from cmd line. Just go to bin folder. then copy exe file for a backup (copy mingw32-make.exe mingw32-make.exe.bak) then (ren mingw32-make.exe make.exe) then move to shell location, instead of adding path (copy make.exe C:\windows\system32\) and all relevant dll's (Copy *.dll c:\windows\system32\) or all files if you want (copy *.* C:\windows\system32) Cheers
Hello all, I am getting error... i tried make.exe make.bat but still getting error. Error is .... the term ‘make’ is not recognized as name of cmdlet, function, script file. Please check spelling of name, or if path was included. If anyone finds solution for this please post it here Thank you Note: I have included path in environment variable.
Wollt ihr mich alle verarschen? Wie heißt denn das Programm mit dem du die Befehle ausführst welches so aussieht wie bei Linux??? Wieso zeigt das keiner? :D
Thank you for the concise video! Also, what were you using for shell? I recognize that icon, but cannot remember the name of it. Is it part of mingw? Right now I'm working through cmd. :(
Can also use official windows make installing GnuWin32. You're video helped me successfully connect all the pieces though. I missed one \ on path variables, Good video
This really works but later you will have problems like " 'printf' is not recognised as internal or external command " if your makefile has a @printf in it. So it is better if you past this in your path variable "C:\MinGW\msys\1.0\bin\make.exe".
@@mrmoinn Honestly I have no idea, I tried to look it up. But for the moment it is beyond me. msys is a directory that is separately installed while you install mingw from mingw-installer, you have to select it while installing.
In cs50 they just went straight into teaching us code on VS code and completely skipped telling us how to set it up. I was completely dumbfounded getting so many error messages just trying to type hello, world XD
I can't believe this is the only tutorial online and this took me 2 hours to do lol. Thank you so much!
It is not only your problem, week one gave mi so big problems, now Im on week for, still dont use cs50 version of vs code and im trying to compile good mi program
Hey, I'm also coming from CS50 Harvard. How did you get yours to work? I'm using a Windows machine, and I've installed it and followed all the instructions, but I'm still having problems compiling the code with 'make.
that's your problem, cs50 says to use the cs50 codespace vscode, which has everything installed already......
@@ProgrammerPenguin so delete the vscode we have now and download the CS50 codespace? im assuming from the CS50Xharvard site?
It's the best tutorial, i've found. I have spend half a day without success trying to run make. And finally run in after this 6min video. Many-many thanks for that!!!!
Hello.. In my case, I still have the issue that make is not recognized ; exactly as we can observe by the end of the video.. any suggestion !!!
@@seifelfetni5677 me too got the same error? how to solve?
I've been searching the web for hours trying to find a solution. THANK YOU SO MUCH
If you had issues with the last part like I did, you need to save the make file as a batch and remove the $* part.
Thank you soooooo much!
thank you ❤
Thanks for the video. From Brazil my friend.
Never say you're sorry for being German, be proud!
When I finally call make, it says "This version of C:\MinGW\bin\make.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher". When I try to install mingw64-make, it says "mingw-get: *** ERROR *** mingw64-make: unknown package".
sis u solve that error??
did you solve it?
@@pawelbiniak I did. But it's been really long, I don't remember. Use visual studio installer, go to components and check make. I am not sure but worth a try.
I created the file 'bin/make' with the content 'mingw32-make.exe $*' but it didn't work. As you mentioned it, i tried to add the 'exe' extension ('make.exe') but it didn't work either.
For anyone coming here later: name the file make.bat, it does the same thing.
@@betterfly7398 thanks
@@betterfly7398 Thank you so much
@@betterfly7398 thanks dude
or just reaname mingw32-make to make
Would you be able to just rename the file "mingw32-make.exe" to "make.exe"? I did that with my install of MinGW, and no problems so far. As long as none of the other paths in the PATH environment variable have a "make.exe" executable I would think it would be fine.
Works for me. Thanks.
Obrigado pela contribuição, resolvida com sua dica, outubro de 2024
THIS worked, thank you for the comment, have a good Christmas!
for those having trouble with windows 64bit incompatibility...here's the solution (copied from another comment hidden at the bottom..
"This fixed the 64 bit issue for me. Thanks!
Here's the translation. Google translate did a good job though.
"
This is what worked for me:
0. Delete the "make" or "make.exe" if you have already created them
1. Open cmd [Make sure to run as admin]
2. "cd C:\MinGW\bin" (may differ if MinGW is in a different path)
3. "mklink make.exe mingw32-make.exe"
I hope it works
"
You are a life saver, man
Thank you!
Thank you very much!
love you
Big thanks to you !!
how did he open his shell in 4:01
I had issues with the last part as well. I made a copy of the mingw32-make.exe file and renamed it make.exe
Restarting the command prompt at the end worked out for me
I had same issue regarding text file. So I just saw your comment and did the same process and it worked. Thanks
Worked for me, thanks.
Thanks man, worked for me too
Thanks you very much man, everything finally works!
on a side note, I didn't have anything installed to work with C beforehand, turns out I forgot to install GCC, did it through MinGW and now everything is fine
when you install: " MinGW - Minimalist GNU for Windows" and you uncheck the option: " ... also install support for the graphical user interface" and you with the mouse cursor pointing the software mentioned before; you try to open the Git SCM Git BASH; what is the keyboard shortcut to do that ?
How did you open that min64gw cmd window? You never said that in the video.
why wouldnt you show us how to open the installation directory, now im lost
Danke Pascal, quick & easy. Hat mir so schnell geholfen, dass ich sogar noch Zeit habe, diesen Kommentar zu schreiben und den like button zu drücken.
At the end .make doesn't work.Right?
I have this issue
This version of C:\MinGW\bin\make.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.
Please help
How do you open the MINGW64 thing?
How do I get that color cmd with $, when I type cmd I only get the plain command line which does not seem to work like your cmd
Plz share the link to setup the environment in first step for Mingw
You can just rename the mingw32-make.exe to make.exe
Thinking smarter not harder ;)
XD
This really worked, thank you so much.
@Christian Mains Thank you, that solved my problem- I also got a popup warning that the program is incompatible with 64 bit windows, but renaming mingw32-make.exe to make.exe fixed it.
but what is he actually writing in that file? mingw32-make.exe and then? I cant see it.
Hey, I was following this tutorial but at the last step, creating make.exe in bin, my laptop says that it isn't compatible with the 64bit version of windows, can you help me?
same problem....
Hat bei mir funktioniert:
0. Lösch die "make" oder "make.exe", falls du sie schon erstellt hast
1. Öffne cmd
2. "cd C:\MinGW\bin" (kann bei abweichen, wenn MinGW in einem anderen Pfad ist)
3. "mklink make.exe mingw32-make.exe"
Ich hoffe es funktiniert
@@christopherwink7580 Thanks! / Danke
This fixed the 64 bit issue for me. Thanks!
Here's the translation. Google translate did a good job though.
"
This is what worked for me:
0. Delete the "make" or "make.exe" if you have already created them
1. Open cmd [Make sure to run as admin]
2. "cd C:\MinGW\bin" (may differ if MinGW is in a different path)
3. "mklink make.exe mingw32-make.exe"
I hope it works
"
@@austinhruska7473 Thank you sooooo muchhh ,it worked for me ,thanks a lot for the translation
hey there, I'm using Windows 11 now and when I tried following your steps, most worked fine but in the end when we make a proxy executable and run that, my computer throws an error saying that 32 bit software architecture is not supported. Is there anything I can do for that?
same here on windows 10
What have you done in 4:03
ctrl+r and cmd
can someone pls tell me how did he get that mingw shell window
Pascal vielen Dank!!
Multiple StackOverflow Forums and Tutorials and none of them goes so straight to the point and actually helps like you did!!
Thanks for this really explanatory video.
Hey thanks for the tutorial. I can compile single cpp files but how do i compile my main which links to a header file.h; Can someone help
@PascalLandau :
Thanks ! You saved me a ton of work !
The Blog the Video and the description was helpful
Maybe someone can help me... I did everything as it was shown, but my c++ programm still doesn't start
Im having a problem, is saying that my version of make isnt compatible with my windows version, do you know how to solve it?
I found the solucion yet, it's just change the name of file for, make.bat
you can do everything from cmd line. Just go to bin folder. then copy exe file for a backup (copy mingw32-make.exe mingw32-make.exe.bak) then (ren mingw32-make.exe make.exe) then move to shell location, instead of adding path (copy make.exe C:\windows\system32\) and all relevant dll's (Copy *.dll c:\windows\system32\) or all files if you want (copy *.* C:\windows\system32)
Cheers
"Sorry for being German…" - I was not prepared for such a political statement :D
i just want to open a .exe file from a github project, the instructions says type make then type ./project.exe idk what this is about, pls help
Great tutorial, Please try to zoom it on the important details, Sometimes they are not visible even in 1080p.
Hello all,
I am getting error... i tried make.exe make.bat but still getting error.
Error is .... the term ‘make’ is not recognized as name of cmdlet, function, script file. Please check spelling of name, or if path was included.
If anyone finds solution for this please post it here
Thank you
Note: I have included path in environment variable.
just reaname mingw32-make to make
5:08 "sorry for being german" 😂😂
I watched this video to solve my issues with make command but it doesn't helped me😐
make not working
Hi, I'm really new to this, if I follow these steps will I be able to use make in visual studio code?
Great it works. but it won't work in the vs code inbuilt bash terminal.
Wollt ihr mich alle verarschen? Wie heißt denn das Programm mit dem du die Befehle ausführst welches so aussieht wie bei Linux??? Wieso zeigt das keiner? :D
shell oder auch eingabeaufforderung
Thanks for the tutorial, it helped me a lot! but why not just rename mingw32-make to make?
thank you bro! GOD bless you! mine worked at a go, thanks alot!
it works! Thanks a lot.
Thank you for the concise video! Also, what were you using for shell? I recognize that icon, but cannot remember the name of it. Is it part of mingw? Right now I'm working through cmd. :(
@Ecc Choon I believe it was git.
Perfect it's all I needed, thanks
i would recommend you do not make a new file at the end but rename the exe file to make
Oh, it is still not really clear.
Thank you !! Its really helpful.
6:43 Its Makefile
Reposting comments here: If the vid doesnt help: name the file make.bat, it does the same thing, or just reaname mingw32-make to make
6:20 dude just rename "mingw32-make.exe" to "make.exe"
Thanks! Very helpful!
Please make a tutorial for Arduino make. How to compile and upload to arduino with make.
Lo que aparece en la pantalla está difuminado durante los primeros 60 s
Can also use official windows make installing GnuWin32. You're video helped me successfully connect all the pieces though. I missed one \ on path variables, Good video
this is blur I barely can see anything
so helpful ! thanks
thanks, good work
many thanks to you
Thank you you ended a days problem!
Vielen dank @Pascal. For the problem at the end, you just have to restart your command prompt:)
Prost🍻
I had to additionally run following commands.
mingw-get install gcc
mingw-get install g++
mingw-get install msys-base
Great video Thanks!!
thank you so much.
This really works but later you will have problems like " 'printf' is not recognised as internal or external command " if your makefile has a @printf in it. So it is better if you past this in your path variable "C:\MinGW\msys\1.0\bin\make.exe".
What's the difference
@@mrmoinn Honestly I have no idea, I tried to look it up. But for the moment it is beyond me.
msys is a directory that is separately installed while you install mingw from mingw-installer, you have to select it while installing.
thanks u so much, like for real, thank you
THANKS A LOT MAN!!!
Thank you!
спасибо за видео
aint no way bro said sorry for being german 💀
thanks