(Help) Running into issues with SDL

OS: Manjaro (Arch Linux)

Hello,

I am a new CPP programmer.
I have been running into issues when I try to run my little program I wrote using lazyfoo.net guide, and is not at all working properly Example: https://i.stack.imgur.com/0PY1o.png
I have not been able to make any progress at all because of this and have tried reaching out to my OS forums but no dice.