Тёмный

How to Run C in Visual Studio Code on Mac OS Apple Macbook M1 

Tech Decode Tutorials
Подписаться 88 тыс.
Просмотров 211 тыс.
50% 1

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 316   
@TechDecode
@TechDecode 3 года назад
👉 Commands Link : bit.ly/Commands_Link 👉Free Beginners C Programming Course - rebrand.ly/C_Programming_Master_Course 👉Subscribe - bit.ly/2OH9Jv5 If you found this video useful please give it a thumbs up and subscribe to my channel! and If you have any questions regarding this video, please ask them in the comment section. thanks for watching! :)
@AlexTrest
@AlexTrest 2 года назад
Thank youuuu!! You are my savior!! I've spent literally days to find a way for compiling C on my intel mac
@TechDecode
@TechDecode 2 года назад
You are welcome! 😇 I Have a Gift for YOU 🎁 👉Free Beginners C Programming Course - skillshare.eqcm.net/FreeCProgrammingCourse It's Free for 1 Month 🆓
@monster_gamerz1766
@monster_gamerz1766 2 года назад
Bro buy M1 MacBook not intel MacBook
@AlexTrest
@AlexTrest 2 года назад
@@monster_gamerz1766 🙄 my mac is 5 years old and is still doing finee
@monster_gamerz1766
@monster_gamerz1766 2 года назад
@@AlexTrest ohh ok bro sorry
@monster_gamerz1766
@monster_gamerz1766 2 года назад
By the way how was your experience?😀 Cuz i also thinking to buy macbook air M1 Please tell bro 😁
@filippomorari4250
@filippomorari4250 2 месяца назад
I was encountering some errors while trying to install the compiler and this is the only video that actually shows step by step how to successfully run vs code on Mac, all the other tutorials either skipped essential steps or didn't work at all for me. thanks for your content, made my life much easier!
@muasad7085
@muasad7085 Месяц назад
same thing happening with me . If you get any solution ,Please let me know
@JB-123
@JB-123 2 года назад
Your tutorial is the only one that worked for me, thank you.
@SoukarjoKrDas
@SoukarjoKrDas 2 года назад
Really the best installation video for VS CODE in MAC M1.....Thanks a lot !!
@lionatticus9743
@lionatticus9743 2 года назад
If you have Xcode or the Xcode developer tools, then you already have a compiler installed on your Mac. Using `which gcc` in the Terminal will show you the directory that the compiler is installed in...
@Collinator02
@Collinator02 Год назад
Broski. you don't understand howwww longggggg I've been trying to get Mingw working so I can work on my c programming class. like legit. tried 8 different videos for windows, determined it was a lost cause. tried 4 different videos on Mac. none worked. you were my last chance. I mad appreciate you. like for real. if I come across you page again for help, I'm definitely subbing. Only not doing it right because its a rule for me that I have to see the page twice. much love and appreciation
@AnshumanNitnaware-yd5nf
@AnshumanNitnaware-yd5nf 7 месяцев назад
Thank you so much brother, I got stuck in 'zsh: command not found' in a terminal of vs code but after watching your video I am able to run my c programs directly in a output tab of vs code
@kartikgupta2636
@kartikgupta2636 3 года назад
Please make a video on how to use g++ instead of clang for c++ program in macbook m1 .
@suvinsinghchannel
@suvinsinghchannel 3 года назад
ya pls
@harshupadhyay-r9v
@harshupadhyay-r9v Год назад
bro after entering command 1 its how's bad cpu type is executable
@lemaji8333
@lemaji8333 2 года назад
Awesome step-by-step instructions that actually worked. You can't go wrong.
@ranjanadissanayaka5390
@ranjanadissanayaka5390 2 года назад
thank you so much man..this really saved me lot of time and energy. keep up the amazing work.
@TechDecode
@TechDecode 2 года назад
You're welcome!
@antonio.m9875
@antonio.m9875 Год назад
Thank u so very much sir I thought I was never gonna use my visual studio code on my Mac because it kept showing error with this u don't know how grateful I am
@riyanrangoonwala9667
@riyanrangoonwala9667 Год назад
Can someone please help me i wrote the code and in the output section it says code is already running and won't show the code 😢
@aminatafaye7004
@aminatafaye7004 23 дня назад
Hi Thanks a lot for this video I have a problem I can’t run my code
@kartikeysharma2109
@kartikeysharma2109 2 года назад
bro its showing the requested url returned error 400 and another one ...........what to do??
@deraps814
@deraps814 2 года назад
Wow! This is the best instructions on the subject anyone could expect!!!!!!! Thank you for the concise, demonstrated instruction. I have subscribed and would encourage anyone dealing with an impersonal university that expects its students to "figure things out" to consult your channel. Thanks, again!
@fay-fay2562
@fay-fay2562 2 года назад
Unfortunately it's not working for me. The error I am getting is "Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)! To rerun under ARM use: arch -arm64 brew install ... To install under x86_64, install Homebrew into /usr/local." and I don't know what to do. Can someone please give me advice?😭
@shivampatil2525
@shivampatil2525 3 года назад
' Bad CPU type in executable ' they say this error , i just copied and pasted your first comand and this happened what should i do now...??????
@debug_head
@debug_head 2 года назад
I'm also getting the same
@Anonymous-ne6wu
@Anonymous-ne6wu Год назад
I seem to have done something wrong with the user input part. I keep getting the message: Build finished successfully. * Terminal will be reused by tasks, press any key to close it. The other problem I seem to be having is when I go to run the program, it makes me select a debug configuration every time I hit the play button (command + option + N doesn't work for me for some reason?). I am brand new to coding so I'm probably doing something blatantly wrong, but I'm just oblivious because I don't know exactly what I'm doing. Can anyone offer me some tips? Thank you!!
@бекарысканат-п7я
bro did you save your file as subscribe.c. with the dot at the end
@Anonymous-ne6wu
@Anonymous-ne6wu Год назад
@@бекарысканат-п7я hahaha it’s been so long since this. I got it all up and running well at this point. Thank you for your help!!!
@victoreijkhout7115
@victoreijkhout7115 2 года назад
Where did you tell VSCode which compiler to use? At 5:25 you can see that VSCode is using gcc, so I guess "mingw" installs gcc. But these days Macs come with Clang, and you don't explain how to tell VSCode to use that. Otherwise good job.
@royaldinesh7075
@royaldinesh7075 2 года назад
sir ji 2nd command "brew install mingw-w64" is not running in my mac book.
@idk-anything
@idk-anything 2 года назад
simple and easy to follow thank you so much
@kiranjatav7101
@kiranjatav7101 3 года назад
It's Working !!! Thank you so much.
@TechDecode
@TechDecode 3 года назад
😇 You're welcome! 😇 👉 C Programming Course - rebrand.ly/C_Programming_Master_Course 👉 Subscribe : rebrand.ly/FreeSubscription
@radhakrishn9168
@radhakrishn9168 2 года назад
Thank you it's worked But today i got include path error please make video how to fix it
@radhakrishn9168
@radhakrishn9168 2 года назад
Where did this mingw64 will be saved
@keshav9541
@keshav9541 2 года назад
Great job brother. Simple ,topic to topic.
@NISHAJNU
@NISHAJNU 3 года назад
Thank You 🙏 It’s Working perfectly fine 👍
@TechDecode
@TechDecode 2 года назад
You're welcome! 😇 I Have a Gift for YOU 🎁 👉Free Beginners C Programming Course - skillshare.eqcm.net/FreeCProgrammingCourse It's Free for 1 Month 🆓
@asif_k_ubaid1389
@asif_k_ubaid1389 3 года назад
keep going brother, you are doing great! 👍
@TechDecode
@TechDecode 2 года назад
Thank you so much 😀 😇 I Have a Gift for YOU 🎁 👉Free Beginners C Programming Course - skillshare.eqcm.net/FreeCProgrammingCourse It's Free for 1 Month 🆓
@asif_k_ubaid1389
@asif_k_ubaid1389 2 года назад
@@TechDecode thankyou
@ved.2553
@ved.2553 2 года назад
i cant thank you enough!!!!!!!!.......i was stuck in this for along time thnaks for helping
@mohamedehab8063
@mohamedehab8063 2 года назад
you saved my gpa thank u a lot finally after three days of searching i found u here
@TechDecode
@TechDecode 2 года назад
Welcome 😇 I Have a Gift for YOU 🎁 👉Free Beginners C Programming Course - skillshare.eqcm.net/FreeCProgrammingCourse It's Free for 1 Month 🆓
@ivartheboneless5745
@ivartheboneless5745 Месяц назад
Bro you helped by naming the file .c 👌🏻👌🏻👌🏻
@aurelienferend8625
@aurelienferend8625 2 года назад
Thank you, i luv u man. Keep going
@jamescarrot2813
@jamescarrot2813 2 года назад
thank you so much man I could not for the life of me figure out why I couldn't use a user input. Thought I was gonna have to do all my homework on my old pc and not be able to use my new MacBook. You rock dude!
@xuantung235
@xuantung235 3 года назад
Undefined symbols for architecture arm64: "_main", referenced from: implicit entry/start for main executable ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) how can i fix it ??
@radhakrishn9168
@radhakrishn9168 3 года назад
copy the whole command not only blue line and drag it to terminal then it worked
@ПетроСтринада
@ПетроСтринада 2 года назад
you should save your file before run it like in those video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-JA4jUFiy_io.html
@yazdanhaider588
@yazdanhaider588 2 года назад
@@ПетроСтринада Brother Thank You so much i'm struggling with this problem since last 7 days but now you video link was a saviour for me...Thank you so much brother.
@-AnshulChaubey
@-AnshulChaubey 2 года назад
loved the voice over
@yuvrajjoshi4822
@yuvrajjoshi4822 2 года назад
It is showing include path in Mac error please help
@yazdanhaider588
@yazdanhaider588 2 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-JA4jUFiy_io.html
@yazdanhaider588
@yazdanhaider588 2 года назад
please do watch this video it will resolve your problem
@dhruvshah7952
@dhruvshah7952 2 года назад
hello I received this error, please help curl: (22) The requested URL returned error: 400 curl: (6) Could not resolve host: tall arch: posix_spawnp: ruby: Bad CPU type in executable
@mirdoch_egal8211
@mirdoch_egal8211 Год назад
Thanks, thanks, thanks, thanks, you make the programming world a better world
@chessbobble1253
@chessbobble1253 2 года назад
OMG thank you so much! This helped me so much I'm so grateful. Thank you!
@peiiii8447
@peiiii8447 2 года назад
Why are the command lines given in the video differ from the ones in the link?
@midwestdiaries
@midwestdiaries 2 года назад
curl: (22) The requested URL returned error: 400 curl: (6) Could not resolve host: tall It gives me this when I run the first command
@shubhendrapratapsingh1601
@shubhendrapratapsingh1601 3 года назад
The best tutorial for running c on m1 👍
@TechDecode
@TechDecode 3 года назад
Wow, thanks!
@jasondelatour2104
@jasondelatour2104 2 года назад
Thank you so much. This has been really helpful.
@TechDecode
@TechDecode 2 года назад
Glad it was helpful! 😇 I Have a Gift for YOU 🎁 👉Free Beginners C Programming Course - skillshare.eqcm.net/FreeCProgrammingCourse It's Free for 1 Month 🆓
@theyaghu
@theyaghu 3 года назад
Thanks for this video can you do this same for for java....
@TechDecode
@TechDecode 3 года назад
Java : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-hEJp98x_MPQ.html
@shankardasdcst2769
@shankardasdcst2769 Год назад
Second command doesn't work in my Mac M1
@kushagranagpal5069
@kushagranagpal5069 Год назад
The only video which is relevant and works. Follow the exact same command
@mukeshm9530
@mukeshm9530 3 года назад
Bro great work 🙏
@TechDecode
@TechDecode 3 года назад
Thanks 🔥 👉Don't forget to enroll in C Programming Course - rebrand.ly/C_Programming_Master_Course 👉 Subscribe : rebrand.ly/FreeSubscription
@mdrahamtulbari8924
@mdrahamtulbari8924 Год назад
Thanks for the amazing tutorial, it works fine on my macbook Air
@doafliphoe544
@doafliphoe544 2 года назад
Thank you!!!! I didn’t have the run on terminal option enabled I was loosing my mind
@raybp7512
@raybp7512 Год назад
Worked perfectly. Thank you!
@anumalasettivijay8227
@anumalasettivijay8227 Год назад
Bro I not got it
@fit_udit
@fit_udit Год назад
Everything done good but at the end code didnot run its says include path
@honzawalczysko4666
@honzawalczysko4666 2 года назад
Great video! Helped a lot!
@TechDecode
@TechDecode 2 года назад
Glad to hear it! 😇 👉 C Programming Course - rebrand.ly/C_Programming_Master_Course 👉 Subscribe : rebrand.ly/FreeSubscription
@aashishchaudhary2386
@aashishchaudhary2386 Год назад
Errors exist after running prelaunch task 'c/c++:gcc build active file '. How to solve this problem sir 🙏🙏
@musnasri
@musnasri Год назад
does not work on apple A1 max with Ventura OS, any tricks?
@prashantsapkota7711
@prashantsapkota7711 2 года назад
Hello , once I was installing using the same command as yours but my internet got down and I exited the terminal but now when I am trying it's showing errors . please help me
@shekharrey
@shekharrey Год назад
it show error in second code. unable to perform the action because the process is running
@forjobid
@forjobid 2 года назад
I am getting the below error when running the code "clang: error: linker command failed with exit code 1 (use -v to see invocation)"
@DheerajKumar-vo4eg
@DheerajKumar-vo4eg 2 года назад
404 error please help , I have exam in two days need to practice
@fantasyteacher
@fantasyteacher Год назад
Error solved?
@Jack_Separuh
@Jack_Separuh Год назад
Sell it and buy Dell
@chetnasingh5404
@chetnasingh5404 3 года назад
Thanks 🥰 It really worked!! 👍
@TechDecode
@TechDecode 2 года назад
You're welcome! 😇 I Have a Gift for YOU 🎁 👉Free Beginners C Programming Course - skillshare.eqcm.net/FreeCProgrammingCourse It's Free for 1 Month 🆓
@hiteshsoni9077
@hiteshsoni9077 2 года назад
Thank you brother ☺️❤️
@TechDecode
@TechDecode 2 года назад
Welcome 😊 😇 I Have a Gift for YOU 🎁 👉Free Beginners C Programming Course - skillshare.eqcm.net/FreeCProgrammingCourse It's Free for 1 Month 🆓
@vatsalahemdan8257
@vatsalahemdan8257 2 года назад
thank you for this sir 🙌
@TechDecode
@TechDecode 2 года назад
Welcome! 😇 👉 C Programming Course - rebrand.ly/C_Programming_Master_Course 👉 Subscribe : rebrand.ly/FreeSubscription
@tony90125
@tony90125 2 года назад
my m1 MacBook can't not install the first command . there are the error bad CPU type in executable I need help
@akmalfaiz9522
@akmalfaiz9522 2 года назад
You're lifesaver ! Thanks a lot
@FSamil
@FSamil Год назад
I did what you show but I cant find MinGW in my mac , is this method old for macos ventura 13.1 ?
@jaiminpatel4231
@jaiminpatel4231 2 года назад
Best video I was tired of downloading but following this one was best thing
@TechDecode
@TechDecode 2 года назад
Welcome 😇 I Have a Gift for YOU 🎁 👉Free Beginners C Programming Course - skillshare.eqcm.net/FreeCProgrammingCourse It's Free for 1 Month 🆓
@ronaldogabriela9670
@ronaldogabriela9670 2 года назад
you are my new GOD !! tks a lot subscribed✅
@muneshwarsinghal655
@muneshwarsinghal655 Год назад
sir its showing after pasting in terminal that operation timed out what to do pls help
@madhavanarepu6807
@madhavanarepu6807 2 года назад
I am getting these error after installing the mingw-w64. How to fix these. arch: posix spawnp: brew: Bad CPU type in executable
@nutkamonmanosatcharak850
@nutkamonmanosatcharak850 Год назад
easy to repeat! thx guys!
@careren8769
@careren8769 3 года назад
Thank you very much!!!!
@zhanglijunshao3310
@zhanglijunshao3310 2 года назад
Thank you! it's helpful
@sinhekapoor6732
@sinhekapoor6732 3 года назад
I do have one more question for the last part it says that I can not write in my setting and have to go into it, when I go into the settings it shows me the input of which we had put in for html.
@TechDecode
@TechDecode 3 года назад
This might help : code.visualstudio.com/docs/getstarted/settings
@rishabhbhardwajiitb178
@rishabhbhardwajiitb178 2 года назад
Terminal telling me Bad cpu type in executable after pasting command 1 on m1 chip. Please suggest what to do
@bharathkinnera
@bharathkinnera 2 года назад
very very helpful buddy . .for newbies. .thanks a lot
@Sai-cw1xw
@Sai-cw1xw 10 месяцев назад
i get "arch: posix_spawnp: /bin/bash: Bad CPU type in executable" error after entering command 1 pls help
@kritagyagautam3500
@kritagyagautam3500 2 года назад
my second command is not working, its saying >
@Sina-kh6ip
@Sina-kh6ip 2 года назад
how to uninstalled it, I still found some problems with it. already tried to delete it but home-brew file not exist or find.
@LucasPereira-ob3uk
@LucasPereira-ob3uk Год назад
your a legend, keep up the great work!!!!!!!!!!!
@kimiar9747
@kimiar9747 Год назад
THANK YOU SO MUCH! YOU ARE A LIFE SAVER
@閒人-f5o
@閒人-f5o 2 года назад
why there is % behind string if don't use in printf in terminal?
@diaal-emad6856
@diaal-emad6856 Год назад
The video is helpful, Thank you
@sravani2127
@sravani2127 2 года назад
hey pls help me its not working for my macbook m1, aftr the first command its showing as this arch: posix_spawnp: /bin/bash: Bad CPU type in executable
@vasundharakakade5476
@vasundharakakade5476 2 года назад
thank u so much ,,, u r my savior dude....
@MomentsWithBrandon
@MomentsWithBrandon Год назад
I have a mac with monterey, will this still work for me
@velugu1
@velugu1 2 года назад
Hi there, Thanks for the video. You explained so clearly. However, I got an error while installing mingw-w64: Error: Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)! To rerun under ARM use: arch -arm64 brew install ... To install under x86_64, install Homebrew into /usr/local. So what do I do now?
@idklolboi5155
@idklolboi5155 3 года назад
Hello, I am a very big fan of you and your videos, but I am stuck on a problem that I need to fix, I'm having issues with php, and I'm behind on class, can you post a video about it, thank you.
@TechDecode
@TechDecode 3 года назад
So nice of you, I'll post dedicated video for PHP soon, meanwhile you can check our website. PHP (Mac) : techdecodetutorials.com/web-development/php/how-to-run-php-in-visual-studio-code-on-mac-os/ PHP (Windows) : techdecodetutorials.com/web-development/php/how-to-run-php-in-visual-studio-code-on-windows-11/
@idklolboi5155
@idklolboi5155 3 года назад
Thank you very much, this really helpa
@idklolboi5155
@idklolboi5155 3 года назад
@Tech Decode Tutorials
@İsmailHakkı0
@İsmailHakkı0 2 года назад
So how can i remove completely Homebrew and Mingw?
@TechDecode
@TechDecode 2 года назад
To Uninstall Command 1 : brew uninstall mingw-w64 Command 2 : /bin/bash -c "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
@f1584-u2f
@f1584-u2f 2 года назад
I tried twice but still i have error "Undefined symbols for architecture arm64" when I compile code
@sujalvachhani3145
@sujalvachhani3145 2 года назад
Same problem have you fixed this
@f1584-u2f
@f1584-u2f 2 года назад
@@sujalvachhani3145 Nope, I install Intellij IDEA and it's work.
@b_73_ashish_jaiswal30
@b_73_ashish_jaiswal30 3 года назад
Respected sir after pasting those by copying from your discription in terminal it didn't ask for password ...but come like bad cpu type in executable ashishmacbook 🙏😭please help
@b_73_ashish_jaiswal30
@b_73_ashish_jaiswal30 3 года назад
What to do now ????🙏
@v2_torque
@v2_torque 2 года назад
arch -x86_64 brew install MinGW-w64 arch: Can't find brew in PATH. ??? showing this ... plz tell me what should I do ?
@eshwarv4863
@eshwarv4863 2 года назад
Thank you sir it helped me a lot :)
@TechDecode
@TechDecode 2 года назад
Most welcome! 😇 I Have a Gift for YOU 🎁 👉Free Beginners C Programming Course - skillshare.eqcm.net/FreeCProgrammingCourse It's Free for 1 Month 🆓
@ihlas188
@ihlas188 2 года назад
Thabk you so much man!!!!😍
@amanjitsinghrenu2067
@amanjitsinghrenu2067 3 года назад
THANKS BROTHER! IT WORKS
@aminaidoui5645
@aminaidoui5645 2 года назад
it keeps repeating make , make install and make all-gcc what's the problem?
@qhuang20
@qhuang20 2 года назад
Thank you so much!
@aishwaryaprasoon782
@aishwaryaprasoon782 2 года назад
thank you so much bhaiya.. u r the best ..❤
@TechDecode
@TechDecode 2 года назад
Always welcome 😇
@ADITYA-qh2gf
@ADITYA-qh2gf 2 года назад
Thank you sir for setup 😇😇
@ishmamrahman858
@ishmamrahman858 2 года назад
After showing Downloading command tools for xcode it shows nothing
@devilgamerz7709
@devilgamerz7709 2 года назад
Check software updates on system preferences
@Tanishq09
@Tanishq09 2 года назад
thank you bhai!! helped alot
@Be_Boulder
@Be_Boulder 3 года назад
unfortunately, the command line 2 is not working for me. The terminal said me "arch: can't find brew in PATH"
@TechDecode
@TechDecode 3 года назад
First install homebrew using command 1
@Be_Boulder
@Be_Boulder 3 года назад
@@TechDecode I just confused something. I can dive C world from now on. Thanks
Далее
А вы играли в school boy runaway?
00:30
Просмотров 149 тыс.
Brilliant Budget-Friendly Tips for Car Painting!
00:28
How to Run C in VS Code on MacOS
4:34
Просмотров 50 тыс.
Run C++ and C in Visual Studio Code | Mac and Windows!
10:56
How Fast Can I Fill My Inbox?
13:30
Просмотров 306 тыс.
Setting up M2 MacBook Air For Programming
16:28
Просмотров 1,1 млн
MacOS Is Horrible Until You Learn How To Use It
12:26
Просмотров 175 тыс.
Using Xcode to write & run C and C++ Programs.
5:52
Просмотров 85 тыс.
C Coding for Mac | Learn to Program in C for Beginners
48:29
Install & Run C/C++ (Mac - 2021)
4:40
Просмотров 151 тыс.
А вы играли в school boy runaway?
00:30
Просмотров 149 тыс.