codeblocks sdl(Cannot find lSDlmain)

I just got setup with sdl and i am receiving an error which tells me cannot find lsdl2main etc.. I am using codeblocks and i have a 64 bit compiler running on it. i cannot figure out why i get this error. Under my linker settings tab i added this(-lmingw32 -lSDL2main -lSDL2 -lSDL2_image -lSDL2_mixer)

under the search directories i have the respective paths under compiler and linker ..
will be glad for the help received.
Topic archived. No new replies allowed.