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

Поділитися
Вставка
  • Опубліковано 18 лис 2024

КОМЕНТАРІ • 325

  • @JB-123
    @JB-123 2 роки тому +11

    Your tutorial is the only one that worked for me, thank you.

  • @filippomorari4250
    @filippomorari4250 4 місяці тому

    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 3 місяці тому

      same thing happening with me . If you get any solution ,Please let me know

  • @AnshumanNitnaware-yd5nf
    @AnshumanNitnaware-yd5nf 8 місяців тому

    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

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

  • @AlexTrest
    @AlexTrest 3 роки тому +15

    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 😁

  • @deraps814
    @deraps814 2 роки тому +18

    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!

  • @SoukarjoKrDas
    @SoukarjoKrDas 2 роки тому +4

    Really the best installation video for VS CODE in MAC M1.....Thanks a lot !!

  • @antonio.m9875
    @antonio.m9875 2 роки тому

    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

  • @ranjanadissanayaka5390
    @ranjanadissanayaka5390 2 роки тому +5

    thank you so much man..this really saved me lot of time and energy. keep up the amazing work.

  • @lemaji8333
    @lemaji8333 2 роки тому +4

    Awesome step-by-step instructions that actually worked. You can't go wrong.

  • @musabizimana3587
    @musabizimana3587 Рік тому +1

    worked without having to listen to the audio, in only 5 mins

  • @mohamedehab8063
    @mohamedehab8063 3 роки тому +1

    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 🆓

  • @asif_k_ubaid1389
    @asif_k_ubaid1389 3 роки тому +5

    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

  • @keshav9541
    @keshav9541 2 роки тому +4

    Great job brother.
    Simple ,topic to topic.

  • @kartikgupta2636
    @kartikgupta2636 3 роки тому +5

    Please make a video on how to use g++ instead of clang for c++ program in macbook m1 .

  • @idk-anything
    @idk-anything 2 роки тому +3

    simple and easy to follow thank you so much

  • @sakshiyadav8893
    @sakshiyadav8893 Місяць тому

    thank you for a great help, one of the best resolution video🙏

  • @aminatafaye7004
    @aminatafaye7004 2 місяці тому

    Hi Thanks a lot for this video
    I have a problem
    I can’t run my code

  • @kushagranagpal5069
    @kushagranagpal5069 2 роки тому

    The only video which is relevant and works. Follow the exact same command

  • @ivartheboneless5745
    @ivartheboneless5745 3 місяці тому

    Bro you helped by naming the file .c 👌🏻👌🏻👌🏻

  • @kiranjatav7101
    @kiranjatav7101 3 роки тому +4

    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

  • @shubhendrapratapsingh1601
    @shubhendrapratapsingh1601 3 роки тому +7

    The best tutorial for running c on m1 👍

  • @-AnshulChaubey
    @-AnshulChaubey 2 роки тому +1

    loved the voice over

  • @v3d88
    @v3d88 3 роки тому

    i cant thank you enough!!!!!!!!.......i was stuck in this for along time thnaks for helping

  • @radhakrishn9168
    @radhakrishn9168 3 роки тому +2

    Thank you it's worked
    But today i got include path error please make video how to fix it

  • @aurelienferend8625
    @aurelienferend8625 2 роки тому +1

    Thank you, i luv u man. Keep going

  • @jamescarrot2813
    @jamescarrot2813 2 роки тому +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!

  • @officialzackk
    @officialzackk 9 місяців тому +1

    Does this mess up the computer or compromise safety?

  • @mirdoch_egal8211
    @mirdoch_egal8211 2 роки тому

    Thanks, thanks, thanks, thanks, you make the programming world a better world

  • @Alexandre-yo9fx
    @Alexandre-yo9fx Рік тому +1

    Hello ! It works in macbook m2?

  • @NISHAJNU
    @NISHAJNU 3 роки тому +5

    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 🆓

  • @raybp7512
    @raybp7512 Рік тому

    Worked perfectly. Thank you!

  • @chessbobble1253
    @chessbobble1253 2 роки тому

    OMG thank you so much! This helped me so much I'm so grateful. Thank you!

  • @honzawalczysko4666
    @honzawalczysko4666 3 роки тому +2

    Great video! Helped a lot!

    • @TechDecode
      @TechDecode  3 роки тому

      Glad to hear it! 😇
      👉 C Programming Course - rebrand.ly/C_Programming_Master_Course
      👉 Subscribe : rebrand.ly/FreeSubscription

  • @DaCheEsYBoMb27
    @DaCheEsYBoMb27 Рік тому

    your a legend, keep up the great work!!!!!!!!!!!

  • @mukeshm9530
    @mukeshm9530 3 роки тому +4

    Bro great work 🙏

    • @TechDecode
      @TechDecode  3 роки тому +1

      Thanks 🔥
      👉Don't forget to enroll in C Programming Course - rebrand.ly/C_Programming_Master_Course
      👉 Subscribe : rebrand.ly/FreeSubscription

  • @doafliphoe544
    @doafliphoe544 2 роки тому

    Thank you!!!! I didn’t have the run on terminal option enabled I was loosing my mind

  • @digvijaynarukakeshri3700
    @digvijaynarukakeshri3700 Місяць тому +1

    When i command in terminal then 👉arch: posix_spawnp: /bin/bash: Bad CPU type in executable 👈 please solve problem

  • @musnasri
    @musnasri Рік тому

    does not work on apple A1 max with Ventura OS, any tricks?

  • @victoreijkhout7115
    @victoreijkhout7115 2 роки тому +7

    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.

  • @jasondelatour2104
    @jasondelatour2104 3 роки тому +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 🆓

  • @jaiminpatel4231
    @jaiminpatel4231 3 роки тому +3

    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 🆓

  • @royaldinesh7075
    @royaldinesh7075 2 роки тому +2

    sir ji 2nd command "brew install mingw-w64" is not running in my mac book.

  • @lionatticus9743
    @lionatticus9743 2 роки тому +12

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

  • @rishabhbhardwajiitb178
    @rishabhbhardwajiitb178 2 роки тому

    Terminal telling me Bad cpu type in executable after pasting command 1 on m1 chip.
    Please suggest what to do

  • @mdrahamtulbari8924
    @mdrahamtulbari8924 Рік тому

    Thanks for the amazing tutorial, it works fine on my macbook Air

  • @chetnasingh5404
    @chetnasingh5404 3 роки тому +9

    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 🆓

  • @kartikeysharma2109
    @kartikeysharma2109 2 роки тому +2

    bro its showing the requested url returned error 400 and another one ...........what to do??

  • @hiteshsoni9077
    @hiteshsoni9077 3 роки тому +3

    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 🆓

  • @FSamil
    @FSamil Рік тому

    I did what you show but I cant find MinGW in my mac , is this method old for macos ventura 13.1 ?

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

  • @vatsalahemdan8257
    @vatsalahemdan8257 3 роки тому +3

    thank you for this sir 🙌

    • @TechDecode
      @TechDecode  3 роки тому +1

      Welcome! 😇
      👉 C Programming Course - rebrand.ly/C_Programming_Master_Course
      👉 Subscribe : rebrand.ly/FreeSubscription

  • @MomentsWithBrandon
    @MomentsWithBrandon Рік тому

    I have a mac with monterey, will this still work for me

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

  • @aashishchaudhary2386
    @aashishchaudhary2386 Рік тому

    Errors exist after running prelaunch task 'c/c++:gcc build active file '. How to solve this problem sir 🙏🙏

  • @ADITYA-qh2gf
    @ADITYA-qh2gf 2 роки тому

    Thank you sir for setup 😇😇

  • @theyaghu
    @theyaghu 3 роки тому +3

    Thanks for this video
    can you do this same for for java....

    • @TechDecode
      @TechDecode  3 роки тому

      Java : ua-cam.com/video/hEJp98x_MPQ/v-deo.html

  • @tony90125
    @tony90125 3 роки тому

    my m1 MacBook can't not install the first command . there are the error bad CPU type in executable I need help

  • @nutkamonmanosatcharak850
    @nutkamonmanosatcharak850 2 роки тому

    easy to repeat! thx guys!

  • @bharathkinnera
    @bharathkinnera 2 роки тому

    very very helpful buddy . .for newbies. .thanks a lot

  • @akmalfaiz9522
    @akmalfaiz9522 2 роки тому

    You're lifesaver ! Thanks a lot

  • @fay-fay2562
    @fay-fay2562 2 роки тому +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?😭

  • @riyanrangoonwala9667
    @riyanrangoonwala9667 Рік тому +1

    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 😢

  • @exTJo
    @exTJo 2 роки тому

    Tbank you, why I saw early this video.😢

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

  • @sujalvachhani3145
    @sujalvachhani3145 2 роки тому

    What should i do it is showing undefined symbols for architecture arm64

  • @harshupadhyay-r9v
    @harshupadhyay-r9v Рік тому +3

    bro after entering command 1 its how's bad cpu type is executable

    • @digvijaynarukakeshri3700
      @digvijaynarukakeshri3700 Місяць тому +1

      Same problem 😞 you found the solution please tell me

    • @fvbien5253
      @fvbien5253 Місяць тому

      @@digvijaynarukakeshri3700did u find it?

  • @zhanglijunshao3310
    @zhanglijunshao3310 2 роки тому

    Thank you! it's helpful

  • @rkysharma
    @rkysharma 2 роки тому

    Thanks thanks thanks thanks a lot ❤️❤️❤️❤️

  • @ParasProgramming123
    @ParasProgramming123 2 роки тому

    You make good vedio keep going

  • @diaal-emad6856
    @diaal-emad6856 Рік тому

    The video is helpful, Thank you

  • @dualfufayt6768
    @dualfufayt6768 2 роки тому

    Thanks ☺️ very much sir .

  • @ankitprasad3228
    @ankitprasad3228 2 роки тому +1

    Simple and best ❤️

  • @quvntvn
    @quvntvn 3 роки тому +1

    thxs dude

  • @jonglennon6753
    @jonglennon6753 2 роки тому

    oh really thanks god damn you are absolutely genius

  • @vasundharakakade5476
    @vasundharakakade5476 3 роки тому

    thank u so much ,,, u r my savior dude....

  • @bm6545
    @bm6545 2 роки тому

    Amazing video

  • @aishwaryaprasoon782
    @aishwaryaprasoon782 2 роки тому +1

    thank you so much bhaiya.. u r the best ..❤

  • @sravani2127
    @sravani2127 3 роки тому

    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

  • @Moon-ng9cr
    @Moon-ng9cr 2 роки тому

    thnk u so much man

  • @dhruvpatel7555
    @dhruvpatel7555 2 дні тому

    Bad cpu tupe in executable
    Please help me

  • @careren8769
    @careren8769 3 роки тому +1

    Thank you very much!!!!

  • @ihlas188
    @ihlas188 2 роки тому

    Thabk you so much man!!!!😍

  • @eshwarv4863
    @eshwarv4863 3 роки тому +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 🆓

  • @xuantung235
    @xuantung235 3 роки тому +6

    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

    • @ПетроСтринада
      @ПетроСтринада 3 роки тому +1

      you should save your file before run it
      like in those video
      ua-cam.com/video/JA4jUFiy_io/v-deo.html

    • @yazdanhaider588
      @yazdanhaider588 2 роки тому +1

      @@ПетроСтринада 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.

  • @Tanishq09
    @Tanishq09 3 роки тому

    thank you bhai!! helped alot

  • @ANIMESHAGNIHOTRIRA
    @ANIMESHAGNIHOTRIRA 2 роки тому

    great Vedio and good explanation

  • @jonglennon6753
    @jonglennon6753 2 роки тому

    thanks god you saved me

  • @amanjitsinghrenu2067
    @amanjitsinghrenu2067 3 роки тому

    THANKS BROTHER! IT WORKS

  • @parthchhabra__
    @parthchhabra__ 2 роки тому

    sir compiler is installed in mac then what is the need of installing mingw

  • @kimiar9747
    @kimiar9747 2 роки тому

    THANK YOU SO MUCH! YOU ARE A LIFE SAVER

  • @qhuang20
    @qhuang20 2 роки тому

    Thank you so much!

  • @fit_udit
    @fit_udit 2 роки тому

    Everything done good but at the end code didnot run its says include path

  • @charbel4090
    @charbel4090 2 роки тому

    GREAT JOB!

  • @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)"

  • @peiiii8447
    @peiiii8447 2 роки тому +1

    Why are the command lines given in the video differ from the ones in the link?

  • @stevenpark2204
    @stevenpark2204 2 роки тому

    does it work on m1pro chip as well?

  • @arnavposwal6784
    @arnavposwal6784 3 роки тому

    is it better than Xcode

  • @alejandrodennis6023
    @alejandrodennis6023 Рік тому

    THANK YOUUUU