How to Setup CLion for C and C++ Development

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ม.ค. 2025

ความคิดเห็น • 211

  • @banjoguy9000
    @banjoguy9000 4 ปีที่แล้ว +101

    Thank you Morty for teaching me how to setup CLion

    • @KodySimpson
      @KodySimpson  4 ปีที่แล้ว +16

      No prob uncle rick

  • @sklenskyroman4444
    @sklenskyroman4444 5 ปีที่แล้ว +311

    In your next video, can you say something like:"Oh jeeez Rick". Just curious how would it sound...

    • @thefunnysmoke1526
      @thefunnysmoke1526 5 ปีที่แล้ว

      😂😂😂

    • @iAbid357
      @iAbid357 4 ปีที่แล้ว

      LOOL

    • @aw1lt
      @aw1lt 3 ปีที่แล้ว

      m- morty don’t be suck a ******* asshole about it morty. it’s natural morty

  • @TheCCBoi
    @TheCCBoi 5 ปีที่แล้ว +34

    I like how you narrate each step, it makes it easy to follow. Thanks , I just liked and subscribed!

    • @KodySimpson
      @KodySimpson  5 ปีที่แล้ว

      Thanks! Love the support. :)

  • @vk-hm6te
    @vk-hm6te 3 ปีที่แล้ว +4

    thank you! cool to see you are still viewing comments 2 years later, stay safe man :)

  • @DarkBraveStuff
    @DarkBraveStuff 3 ปีที่แล้ว +25

    Student licenses are the best thing ever.

  • @maaznayeem7224
    @maaznayeem7224 4 ปีที่แล้ว +13

    thanks a lot man !!! ,i am new to c++, i was trying since 3 hours using cygwin , it was throwing errors ...........after watching this video it took me 10 min to set up minGW compiler , i wish i had seen this video 3 hrs back :(

  • @DJRanoia
    @DJRanoia ปีที่แล้ว +1

    The best narrator around.

  • @grishma4426
    @grishma4426 4 ปีที่แล้ว

    Ohmygod it really worked for me. Thank you sm🙏 i was worrying past 2hrs and now it's all done boy

  • @slide4Haji
    @slide4Haji 3 ปีที่แล้ว +1

    Love the Ski Mask. Really gets me in my coding groove! Hahah

  • @damoimyers2651
    @damoimyers2651 4 ปีที่แล้ว +3

    This certainly helped me a lot... Everything worked when I tried it all. Thank you fam!

  • @Laurenan69
    @Laurenan69 3 ปีที่แล้ว +13

    Love it when at 06:32 the run configuration magically appears after the cut.. exactly the thing i am stuck with :D

    • @wickedlyrics9077
      @wickedlyrics9077 3 ปีที่แล้ว +1

      It doesn't 'magically' appear.
      I think it is because the CMake configurations in the background were finished

    • @Laurenan69
      @Laurenan69 3 ปีที่แล้ว +3

      @@wickedlyrics9077 Well it sure did not appear in my IDE :D

  • @miarv337
    @miarv337 3 ปีที่แล้ว +1

    Thanx so much, been a huge help! have fun making more cool videos !

  • @ilija_
    @ilija_ 3 ปีที่แล้ว +2

    Thank you very much for making this tutorial!

  • @christopherzou2369
    @christopherzou2369 5 ปีที่แล้ว +57

    That intro threw me off lmaoo

    • @roid1510
      @roid1510 5 ปีที่แล้ว

      thought i was on the wrong vid

  • @harshvardhansingh700
    @harshvardhansingh700 4 ปีที่แล้ว +1

    thanks buddy, really helpful ,even after 1 year

  • @Keeshond47
    @Keeshond47 3 ปีที่แล้ว

    thanks for solving my question that even my teacher cannot help me

  • @darkemperor9006
    @darkemperor9006 4 ปีที่แล้ว +1

    Really required this video. Thanks a lot.

  • @powergladius
    @powergladius 2 ปีที่แล้ว

    u had me with „okay my dudes and dudettes“

  • @NoobinPyjamas
    @NoobinPyjamas 5 ปีที่แล้ว +69

    4:36
    ok

  • @gauravkumar-bs3pf
    @gauravkumar-bs3pf 5 ปีที่แล้ว +3

    Awsome Explanation it helped me a lot. thanks a lot.

  • @faiyaz7697
    @faiyaz7697 4 ปีที่แล้ว +1

    Really need vids like these

  • @brettduplessis7006
    @brettduplessis7006 3 ปีที่แล้ว +1

    Fixed my issues, thanks!

  • @adrianramirezvazquez2986
    @adrianramirezvazquez2986 4 ปีที่แล้ว +1

    thanks man, that was a great video

  • @thomas99971
    @thomas99971 4 ปีที่แล้ว +1

    Great vid broksi

  • @louisdiaz4179
    @louisdiaz4179 5 ปีที่แล้ว +1

    Yo, super helpful bro. Tyvm!

  • @guliyevshahriyar
    @guliyevshahriyar 2 ปีที่แล้ว +1

    good explanation on building, thank you

  • @xd_jeffrey539
    @xd_jeffrey539 5 ปีที่แล้ว +9

    When I download the MinGw and when I open CLion and go to downloads and I open it. it says that something is missing and is not detected

  • @andrscs
    @andrscs 6 ปีที่แล้ว +5

    just what i needed!

  • @DrAhmadMohaddespour
    @DrAhmadMohaddespour 3 ปีที่แล้ว +1

    Thanks ... it was very useful

  • @MoreYaseen
    @MoreYaseen 3 ปีที่แล้ว +1

    plays ski mask as intro, aight subbed

  • @shraddhagulati3081
    @shraddhagulati3081 3 ปีที่แล้ว +1

    Thanks, it worked.

  • @isabelladouglas6081
    @isabelladouglas6081 3 ปีที่แล้ว +1

    This was so helpful thank you!

  • @Crawfly
    @Crawfly 4 ปีที่แล้ว +6

    I'm fairly new to C++, I'm taking a course for it. I was wondering what the differences between C++11, C++14, C++17, etc are?

    • @KodySimpson
      @KodySimpson  4 ปีที่แล้ว +7

      Don't think of them as differences, with each of those updates to C++ they bring new features that make the language more modern and efficient. Check this out: github.com/AnthonyCalandra/modern-cpp-features

  • @noduguru9384
    @noduguru9384 4 ปีที่แล้ว +1

    thank you so much it was of great help

  • @99pedro
    @99pedro 4 ปีที่แล้ว +3

    Thank you, sir!!

  • @dorb1337
    @dorb1337 2 ปีที่แล้ว

    2022 and still working, thank you :)

  • @chubamoa3640
    @chubamoa3640 3 ปีที่แล้ว +3

    What monster uses this godly white IDE?

  • @thomasrey4859
    @thomasrey4859 4 ปีที่แล้ว +5

    Drinking game: take a shot everytime he says ok

  • @valty3727
    @valty3727 4 ปีที่แล้ว

    straight to the point thank you so much

  • @hochmuch
    @hochmuch 4 ปีที่แล้ว

    Thank you. It really helped

  • @mariano8973
    @mariano8973 4 ปีที่แล้ว +1

    You absolutely saved my ass, thanks bro!!

  • @joelmathew7998
    @joelmathew7998 5 ปีที่แล้ว

    hey, that's some awesome explanation. Loved it.

  • @Angel-486
    @Angel-486 3 ปีที่แล้ว

    I think I had a problem with mingw because I installed the wrong version (because I used VS Code and I guess this one needs a different version of mingw).
    Now, everything works perfectly for me! Thanks !

    • @dren521
      @dren521 3 ปีที่แล้ว

      did u ever figure it out

  • @MrShoaibalisher
    @MrShoaibalisher 4 ปีที่แล้ว +1

    thanks for the easy setup

  • @Gr4ph1xZ
    @Gr4ph1xZ 4 ปีที่แล้ว +1

    If i try to install MinGw-w64 it stays at 'Downloading File...' (x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z) and is not going any further...

  • @vishnuajay362
    @vishnuajay362 4 ปีที่แล้ว +1

    Hey man, I can't work this out.
    You just clicked on a MinGW folder and CLion seemed to track the file it needed from that folder automatically.
    But when I do the same thing (selecting the MinGW folder), the OK button is still greyed out and I need to click on a file to get the OK button colored up (and I don't know which file to pick).
    I would be so grateful if you could help me out.

  • @chrispgaffney
    @chrispgaffney 6 ปีที่แล้ว +2

    the ski mask intro hahaha nice man

  • @alessandrosilva9762
    @alessandrosilva9762 5 ปีที่แล้ว +3

    if you were having problems with the download of mimgw, download directly from here:
    sourceforge.net/projects/mingw-w64/files/mingw-w64/

    • @vatsalpatel7001
      @vatsalpatel7001 4 ปีที่แล้ว

      It a link of zip file not exe file

  • @kotzpenner
    @kotzpenner 5 ปีที่แล้ว +1

    I still have no idea what configuration to choose. I still cannot run my programs

  • @irenegarzonamoya8524
    @irenegarzonamoya8524 3 ปีที่แล้ว +1

    thank you so much!

  • @minamito1
    @minamito1 4 ปีที่แล้ว +2

    could you make a video of how to configure CmakeList.txt and GTK3 in Clion please

  • @uchichaobito607
    @uchichaobito607 4 ปีที่แล้ว +1

    Why are people disliking this video ?

  • @Dharmic_developer
    @Dharmic_developer 4 ปีที่แล้ว +1

    Your Ok sounds the same like my teacher😆
    So i was moving my head up and down to symbolize yeah man i understood😂 move onto next
    By the way thanks for tutorial🙏

  • @blinkdynamo
    @blinkdynamo 8 หลายเดือนก่อน +1

    Aww geez Rick, you really should set that to NULL after you free it Rick

  • @jipmart4691
    @jipmart4691 3 ปีที่แล้ว +1

    Hello Kody ! Can you say if it's possible to get the output of the program in a Windows console instead of an integrated console ???
    I'm using Microsoft Visual C++ and all my programs need to be displayed into an external console. By default, Visual C++ displays output in a Windows console which is wonderful!!
    I hate all these IDEs which display in an inner console. Could you precise this point??? Thanks in advance.

    • @KodySimpson
      @KodySimpson  3 ปีที่แล้ว

      I don't think this is possible with Clion unfortunately, it would be great.

    • @jipmart4691
      @jipmart4691 3 ปีที่แล้ว

      @@KodySimpson Hello Kody
      I found this answer in a forum discussion but I don't know if it really works since I don't have downloaded CLion. I would like to but I need to be sure it's the IDE I need. Here is what is suggested:
      -----------------------------------------------------------------------------------------------------------------
      Well, if anyone is still around wanting to open an external cmd window on run, there is a way to do it on Windows as well:
      1. Go to Run > Edit Configurations
      2. For the executable select C:\Windows\System32\cmd.exe
      3. For program arguments use: /c "start cmd.exe @cmd /k "ProjectName.exe""
      4. For working directory set the cmake debug (or release) folder
      5. Save and select the profile from the dropdown right next to the run button
      Note: In the third step /k can be replaced with /c to make the window close after the program is run (with /c its more like visual studio and with /k its more like code blocks)
      -------------------------------------------------------------------------------------------------------------------
      Please, Kody, could you check this and tell me if it really works?? From the screen captures of CLion I could watch on the internet, I never saw those tabs anywhere....?? But I don't have the program, therefore I'm not in the position to say if this is a valid suggestion.
      Thanks in advance.

  • @davronraimzhanov3353
    @davronraimzhanov3353 3 ปีที่แล้ว

    I have a problem while installing MinGW.During installation, it writes " ERROR res".After writes is installed.I open Clion, specify the path, and it writes "Not found".What can I do ?

  • @someoneontheweb4515
    @someoneontheweb4515 11 หลายเดือนก่อน +1

    my eyes...why light mode

  • @Lotus_Feet
    @Lotus_Feet 4 ปีที่แล้ว +1

    Thanks a lot!!

  • @captaintariq6350
    @captaintariq6350 7 หลายเดือนก่อน

    Sir is it safe to provide jetbrains my id card pic as a personal document because i don't have access to uni email?

  • @sahirbadr_
    @sahirbadr_ 3 ปีที่แล้ว +1

    It doesn’t work for me it just downloads as the file and when I try to open it, it just takes me to my folders:(

  • @smritigupta1468
    @smritigupta1468 3 ปีที่แล้ว

    I wanted to code in C language in cLion but in language section I don't know what to set
    You also chose for C++ only

  • @rumeenchowdhury6976
    @rumeenchowdhury6976 3 ปีที่แล้ว

    This message is showing after i installed minGW for Clion, and my programs aren't running. I have tried google search but it says that it didn't match any documents. What can i do?
    Error running 'C_projects': Cannot run program "E:\C projects\library.c" (in directory "E:\C projects"): CreateProcess error=193, %1 is not a valid Win32 application

  • @LeagueOfChallenger
    @LeagueOfChallenger 3 ปีที่แล้ว

    when i try to display any accentuate char in my terminal it doesn't display it (it displays weird char instead) ,do you know how to solve this please?

  • @huyvole9724
    @huyvole9724 6 ปีที่แล้ว +3

    Vim + make = always is the best

  • @darksoulcreeper7954
    @darksoulcreeper7954 4 ปีที่แล้ว

    where is the installation file of MinGW?? it gives me a zip file when i download!!!

  • @verzys2222
    @verzys2222 3 ปีที่แล้ว +1

    Thanks !

  • @veloester1096
    @veloester1096 4 ปีที่แล้ว +1

    great video

  • @mrreese2342
    @mrreese2342 3 ปีที่แล้ว

    Where to find linker setting and how to playsound

  • @grey_m0nkey218
    @grey_m0nkey218 3 ปีที่แล้ว +1

    Thank you

    • @KodySimpson
      @KodySimpson  3 ปีที่แล้ว +1

      You're welcome 😊

  • @dodged2900
    @dodged2900 4 ปีที่แล้ว +2

    Are you okay Mr. Mackey, mokay?

  • @sahilchoudhary3002
    @sahilchoudhary3002 3 ปีที่แล้ว

    is there a special way to setup template classes in clion

  • @avivpk
    @avivpk 5 ปีที่แล้ว +1

    why i dont have "toolchains" in my clion ? ? ?

  • @lumieremondo6219
    @lumieremondo6219 5 ปีที่แล้ว +2

    working. thanks

  • @sabyasachisarkar5681
    @sabyasachisarkar5681 4 ปีที่แล้ว +1

    i am writing cout

    • @KodySimpson
      @KodySimpson  4 ปีที่แล้ว +1

      We have a discord server, feel free to join.

    • @isaacnelson1118
      @isaacnelson1118 4 ปีที่แล้ว +1

      Make sure u have "using namespace std;" above "int main() {"
      If u dont have that by default, "cout

    • @isaacnelson1118
      @isaacnelson1118 4 ปีที่แล้ว

      Also make sure you have this preprocessor directive:
      #include
      Hopefully these tips help, good luck

  • @dodged2900
    @dodged2900 4 ปีที่แล้ว +4

    I hear some okays, okay?

  • @oze-ot6oy
    @oze-ot6oy 4 ปีที่แล้ว

    i am looking for an external terminal, and i dont find wher it can be. can someone telle me if it exists ?

  • @juanorellana9256
    @juanorellana9256 3 ปีที่แล้ว

    What if I have a Mac? I understand that MinGW is not available in Mac

  • @alpboraozun3720
    @alpboraozun3720 4 ปีที่แล้ว

    how can i set the console like devc++ or visual studio. pop up console i mean

  • @jaydenrussell7491
    @jaydenrussell7491 2 ปีที่แล้ว

    Hi im new to CLion IDE how do I create a new class ?

  • @BlackStaroo7
    @BlackStaroo7 4 ปีที่แล้ว

    I am getting gdb version 7.6.x Where can i get gdb version 8.1

  • @ilinam
    @ilinam 3 ปีที่แล้ว

    My CLion doesn't detect the file and says "Test CMake run finished with errors" and when I open it for more details it says something like " The C compiler is not able to compile a simple test program." Does anyone else have this problem?

  • @wojtekadamowski8004
    @wojtekadamowski8004 3 ปีที่แล้ว +1

    Nice thanks

  • @aryanshbhargavan2775
    @aryanshbhargavan2775 3 ปีที่แล้ว

    How to make output appear in a command prompt window

  • @tahaserin7645
    @tahaserin7645 3 ปีที่แล้ว +1

    your voice is like TenZ :D XD

  • @nimitsavant3127
    @nimitsavant3127 4 ปีที่แล้ว +1

    Pro Tip for videos! Use Dracula!

  • @karlinbarnes3266
    @karlinbarnes3266 3 ปีที่แล้ว +1

    I notice that the syntax includes “std::cout” and “std::endl “ etc... Is there any way to alter the this syntax so that you can just type “cout

    • @KodySimpson
      @KodySimpson  3 ปีที่แล้ว

      Yes I show this in my C++ series, you have to import the standard lib

  • @vishalkumar331
    @vishalkumar331 4 ปีที่แล้ว

    Man i downloaded ming there's no setup in it where it is?

  • @amrosherif203
    @amrosherif203 5 ปีที่แล้ว

    2.59 it detected the visual studio compiler is this ok !!?

  • @lucakim27
    @lucakim27 4 ปีที่แล้ว

    Mine doesnt appear download button

  • @kavilash300
    @kavilash300 4 ปีที่แล้ว +1

    thanks this helped...

  • @yeeezyy266
    @yeeezyy266 4 ปีที่แล้ว

    How do you go from c++ to c in clion?

  • @ugurambarc3735
    @ugurambarc3735 4 ปีที่แล้ว +1

    Thanks bro

  • @search_me_tilak
    @search_me_tilak 3 ปีที่แล้ว

    How to install external library

  • @antonioskarakechagias3920
    @antonioskarakechagias3920 3 ปีที่แล้ว

    anyone knows what steps are different on macOS?

  • @tomibrigido
    @tomibrigido 4 ปีที่แล้ว +1

    Thanks for the video, its really helpfull

  • @stanislawpawlowski5329
    @stanislawpawlowski5329 ปีที่แล้ว

    keep in mind boys and gals, if you get clion through the student shit, you cant (legally of course) monetize your work, if you are a law obeying citizen

  • @branthebrave
    @branthebrave 3 ปีที่แล้ว

    If you make the project before adding the toolchain, it didn't work, so make a new one after that.

  • @Shulkyl
    @Shulkyl 4 ปีที่แล้ว +1

    thx Morty

  • @saheelmohammed7720
    @saheelmohammed7720 3 ปีที่แล้ว +1

    why is it downloding as a zip?

    • @KodySimpson
      @KodySimpson  3 ปีที่แล้ว

      check ur file associations

  • @adrivnn_
    @adrivnn_ 4 ปีที่แล้ว +1

    thx u bro