How the C++ Linker Works

Twitter ►
Instagram ►
Patreon ►

Series Playlist ►

How the C++ Compiler Works ►

BEST laptop for programming! ►
My FAVOURITE keyboard for programming! ►
FAVOURITE monitors for programming! ►

MAIN Camera ►
MAIN Lens ►
Microphone ►

Slack ►
Stream ►
Website ►
Facebook ►

20 thoughts on “How the C++ Linker Works

  1. i tried to link math.cpp and log.cpp but it is showing me this error:

    ccM7aWf4.o:tempCodeRunnerFile.cpp:(.text+0xe): undefined reference to `Log(char const*)'

    collect2.exe: error: ld returned 1 exit status

    Can anybody help?

  2. Hi! I am trying to learn c++ using Dev C++. I dont know why, but when i use "#include "Player.cpp", My program functions how I intended it to, NO ERRORS whatsoever. But I know for a fact that that is UNSAFE. But everytime i use "#include "Player.h"; Two errors appear saying that both my Constructor and Destructor was "undefined reference". Can you help me solve this, please?
    Thank you!

  3. Great work, man. I like how focused these videos are. Gonna binge watch this series, then I'm 100% on-board for the Game Engine playlist. Keep it up!

  4. I have a question, which one is easier to get started with, GCC toolchain or LLVM infrastructure ?
    Asking this coming from a frontend development environment. I would be interested in knowing which ecosystem provides better/more choices of tools for debugging and analysis, performance/runtime time doesn't matter much to me

Leave a Reply

Your email address will not be published. Required fields are marked *