Author Topic: Error - Please help  (Read 122 times)

Offline gaucho2000

  • Single posting newcomer
  • *
  • Posts: 1
Error - Please help
« 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




Online stahta01

  • Lives here!
  • ****
  • Posts: 6794
    • My Best Post
Re: Error - Please help
« Reply #1 on: March 26, 2020, 01:31:27 am »
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

You are posting only the linking command; we need to see the compiling command(s) to help you.

Tim S.


« Last Edit: March 26, 2020, 01:33:21 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org