I am trying to use msys2 to install SDL2 and SDL_Image. I ran both commands and in my makefile set the INCLUDE_PATHS and LIBRARY_PATHS correctly as I checked the files and they are there. But when I build the file I get a huge amount of errors all talking about redeclaration. An example error is.
```
In file included from C:/msys64/mingw32/include/SDL2/SDL_events.h:33:0,
from C:/msys64/mingw32/include/SDL2/SDL.h:40,
from main.cpp:1:
C:/msys64/mingw32/include/SDL2/SDL_video.h:273:5: note: previous declaration ‘SDL_GLattr SDL_GL_ACCELERATED_VISUAL
SDL_GL_ACCELERATED_VISUAL
```