Linker Problems

For Some reason my C++ complier wont link the glut files right
I am using DevCpp aka Bloodshed, and the same code i am using in it will compile in visual c++, but not in DevCpp. It says there is a linker problem and A LOT of undefined references in the glut.h file. I included all the directories(Libs, and includes) i used in visual C++ and it still wont compile.

A little help here?

check this: