How to Setup Atom For C / C++ Development on Windows 10

  Рет қаралды 230,500

ProgrammingKnowledge

ProgrammingKnowledge

Күн бұрын

Пікірлер: 251
@willarddavis7938
@willarddavis7938 4 жыл бұрын
For people getting errors still, you probably need a gcc compiler too. I just installed gcc-make-run as well and it went from the fabled 'g++ could not be spawned" error to just working fine.
@saprativasarkar173
@saprativasarkar173 3 жыл бұрын
thanks
@Yolky4k
@Yolky4k 2 жыл бұрын
how
@haardshahh
@haardshahh 4 жыл бұрын
Thank you so much! I was on the verge of giving up and you saved me!
@cse_antonysun_1523
@cse_antonysun_1523 4 жыл бұрын
Me too
@vinayvinayprakash4621
@vinayvinayprakash4621 4 жыл бұрын
Thank you! I have been bashing my head through video after video about how to get the mingw compiler issues and things to work and it was getting crazy. Like I didn't expect to get lost just trying to get a setup that could actually run my code. Your video saved my life.
@kretoskim8555
@kretoskim8555 4 жыл бұрын
dude thank you soo much wasted so much time and energy trying to do this yesterday, finally it worked be blessed and keep up the good work
@redw0lfstonegaming187
@redw0lfstonegaming187 6 жыл бұрын
i get a error of: "'g++' could not be spawned. Is it installed and on your path? If so please open an issue on the package spawning the process."
@devsebastian4194
@devsebastian4194 6 жыл бұрын
For those who are still getting this error in windows, make sure you are running atom as an administrator otherwise it will show the same error and would not be able to compile!
@raviteja-op1nk
@raviteja-op1nk 6 жыл бұрын
I'm getting the same error please help me out....
@rashonmyeed
@rashonmyeed 6 жыл бұрын
i get this error too! help
@ahmetgencer6335
@ahmetgencer6335 6 жыл бұрын
Thanks man!
@daniildanzig2842
@daniildanzig2842 6 жыл бұрын
Perfect, thanks!
@milescuizon743
@milescuizon743 2 жыл бұрын
Thank you I am one of new beginners that start in programming era and this video really helps me in easy way😁😁
@nakomputer3716
@nakomputer3716 4 жыл бұрын
'g++' is not recognized as an internal or external command, operable program or batch file. evironment variable is add.
@isabellavoci7706
@isabellavoci7706 4 жыл бұрын
Also for me, but I don't know how to fix it
@vaibhavpandey6640
@vaibhavpandey6640 4 жыл бұрын
@@isabellavoci7706 hi,just check whether gcc.cpp file is in th ebin and is also added in th environment variables
@chekerrigan175
@chekerrigan175 3 жыл бұрын
Finally a video that actually worked for me. Thanks dude
@jozsiolah1435
@jozsiolah1435 Жыл бұрын
For all laptops, including older Intel and AMD, such as 2.1 Ghz X2: you can turn on the atom energy saving feature, the instruction set at Balanced mode. You have to choose the inbuilt text editor, such as Word Pad, and write some sensible text, the laptop can understand. Few sentences are enough. Do it on battery. After a while the cpu load will reach 0%, the fan will remain silent. My laptop reached 0% on energy saving mode, and 3% currently on Balanced mode. Keeping on with text editing, the laptop may reach 0% load on all modes. On older laptops the battery is calibrated to 1 h 9 min max time, regardless of the power usage.
@uuu12343
@uuu12343 5 жыл бұрын
Question, how did you manage to get that autocomplete working? mine doenst have autocomplete for C/C++ in Atom
@user-cv2op9ni8y
@user-cv2op9ni8y 4 жыл бұрын
how to fix c++ not recognized as internal or edxternal command.. please idk how to fix it?
@tahakarakas3983
@tahakarakas3983 3 жыл бұрын
you got mingw and gpp complier and if you still getting problems just watch this guy i dont know what i did mistake but its never complier atom gives me message all time like error and this guy fixed thank you soo much
@tahakarakas3983
@tahakarakas3983 3 жыл бұрын
i already got gpp and mingw before and i was getting error over and over thank god this guy did handle it
@TheGutsygames
@TheGutsygames 4 жыл бұрын
Really clear explanation bro👍
@himanshugautam6350
@himanshugautam6350 5 жыл бұрын
Thanks for your prodigious Instruction
@ТарасТерещенко-ы4б
@ТарасТерещенко-ы4б 6 жыл бұрын
Thank you very much, greetings from Belarus!
@semichargedclock4005
@semichargedclock4005 6 жыл бұрын
dude you rock, it took me a bit to get it right but i got it.
@professorjack2099
@professorjack2099 4 жыл бұрын
Why is it so clusterfuck complicated to just code something in C and make it run?
@murpeet5001
@murpeet5001 6 жыл бұрын
Thanks a lot dude! I really needed this!
@479210251
@479210251 4 жыл бұрын
The websites and install tool looks straight out of the 2000's, everything about this just looks archaic
@gamerweed6949
@gamerweed6949 3 жыл бұрын
What did u expect? Do you think cpp is made in 2020
@nonamo828
@nonamo828 6 жыл бұрын
Thank's very much! It works just perfect!! Greetings from Argentina!!
@noahw7235
@noahw7235 6 жыл бұрын
Help I get error == could not be spawned and it also open HTML. PLZ HELP FIX THIS ty :P.
@aakifmohamed8924
@aakifmohamed8924 6 жыл бұрын
superb bro. Nice explanation for beginners. Thanks
@fifiyeee3410
@fifiyeee3410 3 жыл бұрын
Thank youuuu, this tutorial very help for my troubleshoot
@stupidmind9395
@stupidmind9395 6 жыл бұрын
If I'm not mistaken, with Atom-IDE plugin you'll have console in Atom's window, under the code, like in VS.. Or may be you'll need one more plugin for it, except Atom-IDE... Read about it, it should be article like "GitHub and Facebook made IDE from Atom" (it had same name in few Russian sites, i think original article should have the same name)
@hometwig2397
@hometwig2397 5 жыл бұрын
Thanks. Worked like a charm
@bunnyerugurala8778
@bunnyerugurala8778 3 жыл бұрын
"Uncaught TypeError: Callback must be a function. Received undefined " This error is showing up while trying to run a program please help anybody?!
@itspikapei7012
@itspikapei7012 3 жыл бұрын
same bro
@itspikapei7012
@itspikapei7012 3 жыл бұрын
u got it fixed ?
@nakon7niket
@nakon7niket 5 жыл бұрын
I also use VS2019 for some stuff related to C++, will changing the path in env. variables affect it in someway? I want to use ATOM just for practicing C as it is very fast and lite.
@funnyzumbija643
@funnyzumbija643 6 жыл бұрын
Thank you so much it worked after a few errors of course
@LucasLima-pg5it
@LucasLima-pg5it 3 жыл бұрын
Perfect tutorial, thank you so much!
@chromefirefox8896
@chromefirefox8896 5 жыл бұрын
my atom ah-dee-tah works like a charm for c++ thank you
@saimugilramasubbu9441
@saimugilramasubbu9441 3 жыл бұрын
Thank you so much sir, it really worked I was so fed up. Thank you so much
@mallikarjunbb6622
@mallikarjunbb6622 4 жыл бұрын
Thanks for this Video I was breaking my head to fix this problem Thank you sir..
@VIVEKSINGH-dm2ib
@VIVEKSINGH-dm2ib 4 жыл бұрын
THANKS IT HELPED ME A LOT.
@yassirOub
@yassirOub 4 жыл бұрын
thx bro, good job, its work. great ProgrammingKnowledge good Indian programmer.
@LAXMI_SAHU
@LAXMI_SAHU 2 жыл бұрын
tq so much sir...........🤗🤗🤗🤗🤗🤗🤗🤗🤗🤗🤗🤗❤❤
@fahimp3
@fahimp3 5 жыл бұрын
This only does 32 bit code generation. You should use mingw-w64, since most computers are now 64 bit.
@Brave.fateme
@Brave.fateme 4 жыл бұрын
hi; when i run my programmer i was to received a error that sign is i'm not installed g++ or it isn't on my path ;but i was installed it and it on my path. how can i solve that problem? i'm sorry;i'm not good at english language ...
@Nicolaseab19
@Nicolaseab19 4 жыл бұрын
Worked for me! Cheers!
@pritibilaiya9805
@pritibilaiya9805 4 жыл бұрын
Superb explanation
@souvikmukherjee9074
@souvikmukherjee9074 6 жыл бұрын
it was a great tutorial. great one. thank you very much for the help. worked absoulutely fine for me
@brutha_analog810
@brutha_analog810 4 жыл бұрын
I got an error that said, "Access is denied" that came up in the CMD window. How do I change the access permissions?
@goodboyelvis
@goodboyelvis 4 жыл бұрын
Open CMD as administrator.
@drescherjm
@drescherjm 4 жыл бұрын
Changing the permissions or opening the cmd.exe as Administrator (UAC Elevation) are both most likely incorrect. You would have to show info for someone to debug the situation
@samuelhernandosanchezgutie1417
@samuelhernandosanchezgutie1417 3 жыл бұрын
Very useful. Thanks 👍👍
@kattyptk
@kattyptk 6 жыл бұрын
"linter-gcc: Executable not found "/usr/bin/g++" not found" i get this error.. what does it mean? :/
@lone.wo1f
@lone.wo1f 4 жыл бұрын
You should have downloaded gpp-compiler by kriscross7 not linter-gcc by atom-linter...
@Ctavy
@Ctavy 3 жыл бұрын
@@lone.wo1f That's not the issue
@anjalipoul3682
@anjalipoul3682 4 жыл бұрын
Thank you so much for the tutorial it helped a lot
@hemanthpotnuru2956
@hemanthpotnuru2956 3 жыл бұрын
Thanks mate,it helped a lot
@Tyrian11
@Tyrian11 6 жыл бұрын
Finallly working, thanks so much
@kingvolpes352
@kingvolpes352 5 жыл бұрын
Thank you, great explanation :)
@steamabbasi3467
@steamabbasi3467 3 жыл бұрын
THX for your video this video is help me a lot :X
@treceywongibe7962
@treceywongibe7962 4 жыл бұрын
Thank you so so much i atleast had this done correctly thanks for the good work
@harmandeep8012
@harmandeep8012 4 жыл бұрын
a very very helpful video thank you so much!
@raghavgarg1747
@raghavgarg1747 6 жыл бұрын
works as of 17th december 2018. Thannk you so much
@zeeshanayub9706
@zeeshanayub9706 6 жыл бұрын
Thank you for making this video, it was very helpful.. :)
@Rahul-cb4xm
@Rahul-cb4xm 5 жыл бұрын
Thank you it helped me a lot.... :D
@ghaithbenamor2788
@ghaithbenamor2788 5 жыл бұрын
g++ is not recognized ==> C:\Program Files;C:\Winnt;C:\Winnt\System32 don't forget the " ; " Each different directory is separated with a semicolon.
@prasadkadam4915
@prasadkadam4915 5 жыл бұрын
I'm getting an error as G++ could not be spawned what do I do?
@ΝικόλαοςΜελάς-π2γ
@ΝικόλαοςΜελάς-π2γ 5 жыл бұрын
Thanks, very well explained
@prasadkadam4915
@prasadkadam4915 5 жыл бұрын
This might be a stupid question but can we run C programs using the same as above given settings? Or do we have to set some other settings for it?
@dvamsidhar6008
@dvamsidhar6008 3 жыл бұрын
Sur while i an programming for linked list it is showing this file is not not recognised as an internal or external command, operable program or batch file What should i do?
@NicholasKross
@NicholasKross 6 жыл бұрын
Very useful, thank you!
@franciscobecerra4780
@franciscobecerra4780 6 жыл бұрын
thank you very much, greetings from Colombia
@anuruddhadilshan
@anuruddhadilshan 6 жыл бұрын
This Helped. Thanks!
@neelimakuttappa5033
@neelimakuttappa5033 5 жыл бұрын
ctrl+alt+x to restart atom on the workspace
@Yashdusvdbbvsdvijs
@Yashdusvdbbvsdvijs 6 жыл бұрын
Please help! I installed and set the path for mingw. cmd confirms it too, installed the package as well. But when i try to compile and run it, atom crashes- "The editor has crashes"
@nicholasamemazior3066
@nicholasamemazior3066 3 жыл бұрын
you're a life saver, thank you
@ghizlane9456
@ghizlane9456 5 жыл бұрын
It’s keeps showing me that uncaught callback must be a function
@digoo4942
@digoo4942 2 жыл бұрын
c++ compilation is very slow when i downloaded atom after formatting my pc, before it was compiling codes in no time but now its take alot to time to compile and run a single code
@alokthapliyal7182
@alokthapliyal7182 4 жыл бұрын
'g++' could not be spawned. Is it installed and on your path? If so please open an issue on the package spawning the process.
@mahdiborgi6796
@mahdiborgi6796 4 жыл бұрын
PLEASE I NEED HELP while instaling the gpp compiler it gives me this error message Installing “gpp-compiler@3.0.7” failed.Show output… Compiler tools not found Packages that depend on modules that contain C/C++ code will fail to install. Read here for instructions on installing Python and Visual Studio. Run apm install --check after installing to test compiling a native module.
@bryanlandazuri3730
@bryanlandazuri3730 6 жыл бұрын
getting this error "Uncaught Error: spawn g++ ENOENT at _errnoException (util.js:1024) at Process.ChildProcess._handle.onexit (internal/child_process.js:190) at onErrorNT (internal/child_process.js:372) at _combinedTickCallback (internal/process/next_tick.js:138) at process._tickCallback (internal/process/next_tick.js:180)"
@Edouardos100
@Edouardos100 3 жыл бұрын
Why are you installing Ada and Fortran compiler package if this is for cpp?
@rnd1sir347
@rnd1sir347 2 жыл бұрын
Thank you sir, appreciated!
@andremartins4595
@andremartins4595 6 жыл бұрын
Thanks for the video.
@bapex9778
@bapex9778 5 жыл бұрын
İt's work!!! Thank you so much :)
@gilbertoramos3129
@gilbertoramos3129 5 жыл бұрын
You are the best Thank you so much for this
@leonardojuarez8459
@leonardojuarez8459 5 жыл бұрын
When i try to compile it shows me this error:" D:\Program Files (x86)\Atom\Programas\Nueva carpeta\Hello world: file not recognized: file format not recognized collect2.exe: error: ld returned 1 exit status" What can i do??
@ilyalyanov2473
@ilyalyanov2473 4 жыл бұрын
thank for your video. but i still have problem. after MinGW installation i got 2 errors : "Uncaught TypeError: Callback must be a function ---- fs.js:138" and "X:\Folder\c++test: file not recognized: File format not recognized collect2.exe: error: ld returned 1 exit status "
@LufeSycamore
@LufeSycamore 6 жыл бұрын
Muito obrigado moço, ajudou muito! ♥
@vishalgorai3301
@vishalgorai3301 6 жыл бұрын
while running it generates an error saying "gcc: error: CreateProcess: No such file or directory". please help
@pranavshinde500
@pranavshinde500 3 жыл бұрын
How to get compilation time in the output window.
@joaquinlopezmunos4013
@joaquinlopezmunos4013 4 жыл бұрын
when i install the packages of mingw i get a couple of error messages but then it just keeps installing, then it say that a didnt apply any changes but in cmd appears that i do have c++ installed is it normal?
@KT-Library
@KT-Library 4 жыл бұрын
Thank you...it works fine
@kd4pba
@kd4pba 5 жыл бұрын
Great tutorial , slow direct and includes all you need to get setup to write basic code. I would recommend updating the instructions to include data from the comments. One common issue is the path. Getting this right for any IDE or editor on Windows is a unnecessary pain in the ass.
@kalysta0305
@kalysta0305 6 жыл бұрын
Thank you very much, this was a grat help!
@gorby997
@gorby997 6 жыл бұрын
Thank You so much this is so useful
@giuseppefilomeno2152
@giuseppefilomeno2152 3 жыл бұрын
for me doesn't work,the terminal shows me access denied
@_pankhurigoel_
@_pankhurigoel_ 4 жыл бұрын
I am unable to create a new file. It is showing that the operation is not permitted. Can someone help me with this problem?
@a._.chinna
@a._.chinna 3 жыл бұрын
Hi Bro iam getting sn issue while compile and run the program it is showing "g++" could not be spawned.Is it installed and on your path ?If so please open an issue on the package spawing the process. what should i do bro ?
@SadiqKhan-rf4oy
@SadiqKhan-rf4oy 4 жыл бұрын
Sir i did everything you did but when i run my C program its not running and give me some weird things and messages, could you please tell me the solution i'd be glad...
@akosvarga4194
@akosvarga4194 3 жыл бұрын
it says g++ could not be spawned. I have done the steps in your video and i dont know what is the problem. Can anyone please help?
@untersellen9666
@untersellen9666 6 жыл бұрын
Works, thank you :).
@parshwaammanawar2006
@parshwaammanawar2006 5 ай бұрын
I am getting fucked up now, I am not able to go further install packages.
@allagillarbajs
@allagillarbajs 4 жыл бұрын
The CMD doesn't show anything for me for some reason...
@shrinivasrao1734
@shrinivasrao1734 5 жыл бұрын
Thanks a lot this is Awesome!
@dantapp5925
@dantapp5925 5 жыл бұрын
uncaught callback must be a function?
@ralphruiz2668
@ralphruiz2668 5 жыл бұрын
ProgrammingKnowledge the ide is really bad it cannot apply simple arithmetic operations. Im not saying that you should fix it, what i want is a better compiler for c. What do you recommend, i have downloaded turbo c++/c but i heard that the platform does not perform well for actual projects. I have seen other videos to download c on your playlist like using netbeans. which was terrible because my laptop couldnt handle it. and then there was code blocks, but the platform could not use user input/output properly and then there was atom. it looked great dont get me wrong, however the integrated development environment is crap. any other recommendations?
@Camerawoman_in_Action
@Camerawoman_in_Action 2 жыл бұрын
Thank you it helped a lot ...............
@ahmedfaraz2001
@ahmedfaraz2001 2 жыл бұрын
test.c is not recognized as an internal or external command,
@abhishekkabra3418
@abhishekkabra3418 4 жыл бұрын
in atom it can't search for gpp-compiler.
@vladyslavtkach2209
@vladyslavtkach2209 5 жыл бұрын
'g++' is not recognized as an internal or external command... I've done addition to the system variables I had this error because of launching command line fist before I pressed OK in system variables path...
@drescherjm
@drescherjm 4 жыл бұрын
This means the windows PATH environment variable was not properly setup or mingw was not correctly installed.
@armotech2557
@armotech2557 2 жыл бұрын
Thanks for this manual, youre video useful, like
@-_AchmadFH
@-_AchmadFH 3 жыл бұрын
Why download mingw, if we install gpp package for c/cpp in atom ??
Set Up C++ Development With Visual Studio Code on Windows 10 (VS Code)
23:36
ProgrammingKnowledge
Рет қаралды 1,1 МЛН
УНО Реверс в Амонг Ас : игра на выбывание
0:19
Фани Хани
Рет қаралды 1,3 МЛН
Why I Code on Linux Instead of Windows
7:34
ForrestKnight
Рет қаралды 983 М.
do you know how "return" works under the hood? (are you SURE?)
5:08
the TRUTH about C++ (is it worth your time?)
3:17
Low Level
Рет қаралды 803 М.
How to Run C and C++ Programs on VS code?
8:35
Mr About Tech
Рет қаралды 698 М.
How to Set Up Python in Visual Studio Code on Windows 10
16:21
ProgrammingKnowledge
Рет қаралды 1,5 МЛН
why rust libraries may never exist.
7:26
Low Level
Рет қаралды 287 М.
How To Install and Use Atom IDE on Windows 10
5:44
ProgrammingKnowledge2
Рет қаралды 119 М.
Comparing C to machine language
10:02
Ben Eater
Рет қаралды 5 МЛН
Setting up Atom for C Programming
5:52
Illusion Knowledge
Рет қаралды 56 М.