How I solve all C++ Compile and Linker Errors 🤩

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • In this video I will show you how to solve C++ compile and linker errors!
    I will also show you what I call Stalin Debugging.
    Join my Discord:
    / discord
    Wishlist Midnight Arrow:
    store.steampow...
    Join this channel if you want to support me 😻:
    / @lowlevelgamedev9330
    Learn how I use CMake! 🤯
    • How I use CMake with V...
    Music:
    Evan King - Everything is Okay
    Evan King - Spicy Boom
    / contextsensitive
    contextsensiti...
    Minecraft soundtrack: C418 - Aria Math

Komentáře • 33

  • @sledgex9
    @sledgex9 Před 3 měsíci +17

    A variation on your tip: Always look at the first error and solve it. In 99% of the cases the other errors are a side-effect of the first error.

    • @costelinha1867
      @costelinha1867 Před 3 měsíci +4

      Yeah, this is also true for other programming languages, not just C++, it's like a cascading situation, or a snowball effect where 1 error leads to another which leads to another.

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Před 3 měsíci +2

      yes exactly 💪

  • @Broom-fz2gm
    @Broom-fz2gm Před 3 měsíci +1

    Ok, so... the reason why I want you to do a C++ tutorial series for beginners is because every C++ tutorial I find aren't about both pure C++ and win32 C++ (including games), and I'm looking for one that is about both of them.
    Also, if you don't know what pure C++ is, it is C++ without any libraries.

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Před 3 měsíci +2

      many people want me to do this, maybe I will, but first I will finish the win api series 💪

  • @OverInfrared
    @OverInfrared Před 3 měsíci +4

    Thank you very much. Short, sweet, and to the point.

  • @user-uv5mj4om1k
    @user-uv5mj4om1k Před 3 měsíci +3

    Last month I tried to use template and my nightmare was just begun... until now. Thank you Chad!

  • @CloudlessStudio
    @CloudlessStudio Před 3 měsíci +1

    Linker errors made me give up learning sfml. I could not for the life of me get it to work, and when I did, my builds weren't working on other peoples pcs

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Před 3 měsíci +2

      yess it's horrible it happened the same to me, I recomand using cmake (the way I use it) because it can make linking to libraries easier. Check out my last cmake video if you want

  • @TheJGAdams
    @TheJGAdams Před 3 měsíci +2

    Sooooo, the thing I've been doing is called Stalin Debugging? LOL

  • @Sidiusz_
    @Sidiusz_ Před 3 měsíci +7

    Здравствуйте, вождь! Не ожидал вас тут увидеть..

  • @costelinha1867
    @costelinha1867 Před 3 měsíci +2

    "This is what I call Stalin Debugging"
    You see, in reality C++ actually stands for "Communism ++"

  • @EduardKaresli
    @EduardKaresli Před 3 měsíci +1

    Switching to Russian accent: "Yes, comrade Stalin approves your methods! But you should also consider learning Rust, it will make you more productive while maintaining program performance."
    Good video! 👍👍👍

  • @SimGunther
    @SimGunther Před 3 měsíci +2

    5:32 Is what you came for

  • @satyamraj2476
    @satyamraj2476 Před 3 měsíci +1

    Thanks for the video.

  • @ArcShahi
    @ArcShahi Před 3 měsíci +2

    how old are you ? Cuz I think you're 20-21 and you said you've doing C++ for 10 years. That's wild man.

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Před 3 měsíci +3

      23 and yes I started early :))) I was lucky

    • @costelinha1867
      @costelinha1867 Před 3 měsíci

      @@lowlevelgamedev9330 You're 2 years younger than me. You were lucky indeed.

  • @leorium
    @leorium Před 3 měsíci +1

    Can you make a bgfx tutorial, i want to use it to create minecraft. Thank you!

  • @boristraore6032
    @boristraore6032 Před 3 měsíci +1

    hi, in fact I would like to code projects like you but since I hear here and there that we have to stay at the cutting edge of technology, I tell myself that if I start a project that takes me... let's say 03 months, trends will change and I will no longer be up to date. This means that I abandon all projects that exceed 1 week max. So how do you do it?

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Před 3 měsíci +2

      what? I haven't changed what I use in years, things don't change that fast, start working 💪 and it doesn't matter if you are up to date, the newest technologies are hard to learn anyway so you need to start with slightly older ones sometimes anyway

    • @boristraore6032
      @boristraore6032 Před 3 měsíci

      @@lowlevelgamedev9330 thanks 👍

  • @LinguisticMirage
    @LinguisticMirage Před 3 měsíci +1

    create a class (or you cant do that)
    (for context this guy never uses a class in any of their projects)

  • @Qohist
    @Qohist Před 3 měsíci +2

    fix: dont use c++
    only if youre paid good

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Před 3 měsíci +2

      idk I like it and I don't have any problems with it now

    • @Qohist
      @Qohist Před 3 měsíci

      @@lowlevelgamedev9330 understandable also are you gonna use carbon when it officially drops

  • @marks_shot
    @marks_shot Před 3 měsíci +1

    openmgl