I am getting this error when I try to build any projects that should run, like the basic console project for example. I have followed the wiki guide to install opengl and openglut. this is the error I am getting (copied from build messages)
||=== Build: Release in Test (compiler: GNU GCC Compiler) ===|
c:\mingw\bin\..\lib\gcc\mingw32\4.8.1\..\..\..\crt2.o|| undefined reference to `_setargv'|
||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|