I don't know anything about Dev c++, but it seems like:
1) You are building the wrong type of project
2) The installation is not correct.
thines01
Postaholic
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402
Dev-C++ is a bad idea (at least, the one from Bloodshed is).
Read this, pick something better.
http://www.cplusplus.com/articles/36vU7k9E/
What's this it says halfway down the page? Be careful doing this, though, as having two versions of MinGW might trigger linker errors ("undefined reference to __cpu_features_init"). That sounds familiar.
Moschops
Practically a Master Poster
620 posts since Sep 2008
Reputation Points: 258
Solved Threads: 117