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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7712
    • My Best Post
Re: No such file or directory "error not input file" Build filed 2 errors
« Reply #30 on: November 19, 2024, 03:40:06 am »
https://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

Edit: For people with compiler errors, posting a full rebuild log in code tags is a good way to get useful feed back.
Having spaces or non ASCII characters in the path can cause compiler issues for some toolchains.

Tim S.
« Last Edit: November 19, 2024, 02:46:47 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline codeblokuser

  • Single posting newcomer
  • *
  • Posts: 2
Re: No such file or directory "error not input file" Build filed 2 errors
« Reply #31 on: November 20, 2024, 06:32:32 pm »
Gredings,

Thank you for your help Tim, i have read the Faq but my problem was not mentioned... Yesterday i solved the problem, my projects were being saved in a folder on my desktop and i moved them to disc D. After that it worked fine, i dont know why because both folders have read and write permissions.

See ya!

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7712
    • My Best Post
Re: No such file or directory "error not input file" Build filed 2 errors
« Reply #32 on: November 20, 2024, 07:22:01 pm »
Have you checked the access rights in the project folder?
Can you share your project?
can you reproduce it with a minimal hello world project?

So, did not read the thread. Or, you did not realize Windows permission is easy to get wrong and have it look right.

Edit: Unless you are a Windows Power User (The old meaning of the term) or an Windows OS Expert; you need to try in a folder that you have confirmed read/write/create access.

Tim S.
« Last Edit: November 20, 2024, 07:25:23 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline roozbanana

  • Single posting newcomer
  • *
  • Posts: 1
Re: No such file or directory "error not input file" Build filed 2 errors
« Reply #33 on: November 25, 2024, 11:32:49 pm »
Hello! I had the same problem, but after a long time of research, I came to the conclusion that all I needed to do is to change the folder my projects were saving in. At first, they were saving in One Drive/Documents then I changed it to Local Disk (C)/Users/me/Documents. Hope it helps you!!!