Okay, so I fixed this by putting "-lSDL -lSDL_image" in LIBS. But I got another question: Where should I put the image files, that the binary reads from? It reads some images, and shows them on the SDL screen.