I am trying to build a project to learn the SDL libraries but Im getting these errors:

[Linker error] undefined reference to `SDL_RWFromFile'
[Linker error] undefined reference to `SDL_LoadBMP_RW'
[Linker error] undefined reference to `SDL_DisplayFormat'
...

I am including "SDL\SDL.h" but according to the documentation it should work.
Any ideas?