Author Topic: No such file or directory "error not input file" Build filed 2 errors  (Read 2055 times)

Offline ERBULUT

  • Single posting newcomer
  • *
  • Posts: 4
Can you help me ? I can not fix the error.




Offline Miguel Gimenez

  • Lives here!
  • ****
  • Posts: 595
Re: No such file or directory "error not input file" Build filed 2 errors
« Reply #1 on: September 06, 2020, 12:28:45 pm »
Remove the trailing /bin in the "Compiler's installation directory" edit box

If you have more compilation problems see http://wiki.codeblocks.org/index.php/FAQ-Compiling_(errors)#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

Offline ERBULUT

  • Single posting newcomer
  • *
  • Posts: 4
Re: No such file or directory "error not input file" Build filed 2 errors
« Reply #2 on: September 06, 2020, 01:30:33 pm »
I tried it but it is not fix.


Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2862
Re: No such file or directory "error not input file" Build filed 2 errors
« Reply #3 on: September 06, 2020, 01:56:48 pm »
Please copy and paste (no image) the content of the build log tab, at the bottom near the build messages, as described here: http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

Offline ERBULUT

  • Single posting newcomer
  • *
  • Posts: 4
Re: No such file or directory "error not input file" Build filed 2 errors
« Reply #4 on: September 06, 2020, 03:03:32 pm »
I am so sorry.

Code: [Select]
-------------- Build: Debug in deneme3 (compiler: GNU GCC Compiler)---------------

gcc.exe  -o bin\Debug\deneme3.exe obj\Debug\main.o   
gcc.exe: error: obj\Debug\main.o: No such file or directory
gcc.exe: fatal error: no input files
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
2 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2862
Re: No such file or directory "error not input file" Build filed 2 errors
« Reply #5 on: September 06, 2020, 03:40:28 pm »
Have you modified the project?

Lets try to fix it:
Project->Properties->Build targets->Build target files -> Is main.cpp checked?

Have you tried a new project? Without modification?
Does the path to your project has special characters, like non english or spaces?

Edit:
Have you tried a rebuild: Build->Rebuild?

Please post always a build log if you can

greetings

Offline ERBULUT

  • Single posting newcomer
  • *
  • Posts: 4
Re: No such file or directory "error not input file" Build filed 2 errors
« Reply #6 on: September 06, 2020, 08:02:51 pm »
Thank you for your help , ı gat it. I fixed the error,
i changed the filename and the problem was solved.
« Last Edit: September 06, 2020, 08:54:56 pm by ERBULUT »