Code::Blocks Forums

User forums => Help => Topic started by: Spelrifk on February 08, 2015, 04:08:52 am

Title: Error from code blocks in build
Post by: Spelrifk on February 08, 2015, 04:08:52 am
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)) ===|
Title: Re: Error from code blocks in build
Post by: BlueHazzard on February 08, 2015, 08:38:29 pm
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F