Complier Errors

I am getting back into SDL an I am having issues. I am confident that I have setup everything properly but I am getting this

-------------- Build: Debug in SDL_Learning (compiler: GNU GCC Compiler)---------------

mingw32-g++.exe -L…\mingw_dev_lib\lib -o bin\Debug\SDL_Learning.exe obj\Debug\main.o -lmingw32 -lSDL2main -lSDL2
obj\Debug\main.o: In function SDL_main': C:/Users/Aarons/Desktop/SDL/main.cpp:24: undefined reference toSDL_Init’
C:/Users/Aarons/Desktop/SDL/main.cpp:26: undefined reference to SDL_GetError' C:/Users/Aarons/Desktop/SDL/main.cpp:31: undefined reference toSDL_CreateWindow’
C:/Users/Aarons/Desktop/SDL/main.cpp:34: undefined reference to SDL_GetError' C:/Users/Aarons/Desktop/SDL/main.cpp:39: undefined reference toSDL_GetWindowSurface’
C:/Users/Aarons/Desktop/SDL/main.cpp:42: undefined reference to SDL_MapRGB' C:/Users/Aarons/Desktop/SDL/main.cpp:42: undefined reference toSDL_FillRect’
C:/Users/Aarons/Desktop/SDL/main.cpp:45: undefined reference to SDL_UpdateWindowSurface' C:/Users/Aarons/Desktop/SDL/main.cpp:48: undefined reference toSDL_Delay’
C:/Users/Aarons/Desktop/SDL/main.cpp:53: undefined reference to SDL_DestroyWindow' C:/Users/Aarons/Desktop/SDL/main.cpp:56: undefined reference toSDL_Quit’
C:/Program Files (x86)/CodeBlocks/MinGW/bin/…/lib/gcc/mingw32/5.1.0/…/…/…/libmingw32.a(main.o):main.c:(.text.startup+0xa7): undefined reference to `WinMain@16’
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 1 second(s))
13 error(s), 0 warning(s) (0 minute(s), 1 second(s))

Any ideas?