AI with SDL2 and Replit is driving me crazy

I’m intermediate in Python and Luau (Roblox Studio), and decided to start learning C++ for game development. I have Replit core and the AI suggested SDL 2.

At first it was being dumb and explaining to me how to install it on Linux or Windows (even though, haha, this is replit, but I guess the AI forgot). Eventually it finally explained to me how to use Replit.nix, and I correctly installed it like this:

{ pkgs }: {
	deps = [

It told me to put commas after every item, which I did and got error, then it backpedaled and said for me not to put a comma. Next, this is what it recommended:

g++ main.cpp -o myApplication `sdl2-config --cflags --libs`

I entered it into the shell and got nil. Nothing printed, no reaction, LITERALLY NOTHING IM NOT JOKING.

I could go over every iteration the AI has suggested, I could go over every freaking thing I looked up and tried, but it’s all to no avail.

Am I just jumping the gun and starting to learn something too complex too early?

Or is the AI incorrectly telling me what to do?

Sorry if Im being a little vague and really frusturated (been working for this on 3 hours no [CENSORED] progress)


3 posts were merged into an existing topic: SDL2 help in C++