-1

I've been trying to figure out why those functions are undefined. I have been looking for hours trying to find a solution and haven't found any that worked. The closest one told me to download an earlier version of SDL_image, which worked but then told me SDL.dll was missing, insisting that I would need to use an older version of SDL.

Exact error message:

enter image description here

This is what my Makefile looks like:

g++ main.cpp -Isrc/include -Isrc/include/SDL2 -Iinclude/headers -Lsrc/lib -g -o main -lmingw32 -lSDL2main -lSDL2 -lSDL2_image

This is what my lib folder looks like:

enter image description here

And yes, the include folder does have SDL_image.h

Additional question, I want to put all my .dll files in a bin folder but I don't know what is telling what, where to look for them so I have them all in the src directory:

enter image description here

1 Answers1

-2

Whoever comes across this error use the VC development libraries instead of the one for MinGW. For a reason I am not aware of it works.