Thanks to Andy Nguyen
I must boost this post! I have the same problem as frankm1342, and solved it following the discussions up to this post. It worked out! thanks ANdy!
I noticed of some other compiling issues using dev-C++, e.g., being unable to find reference for a defined function...