Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: gaucho2000 on March 26, 2020, 12:52:33 am
-
I am receiving the below error message when doing a simple code exercise. The error occurs when I press 'build.' Code is listed first, then the error message.
int main()
{
return(3);
}
now the error:
||=== Build: Release in Hello World (compiler: GNU GCC Compiler) ===|
obj\Release\main.o||No such file or directory|
||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
-------------- Build: Release in Hello World (compiler: GNU GCC Compiler)---------------
mingw32-g++.exe -o "bin\Release\Hello World.exe" obj\Release\dummy.o "obj\Release\Hello World\first code.o" obj\Release\main.o obj\Release\obj\Release\dummy3.o obj\Release\test.o -s
mingw32-g++.exe: error: obj\Release\main.o: No such file or directory
-
Post a full build log.
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F)
You are posting only the linking command; we need to see the compiling command(s) to help you.
Tim S.