News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

No such file or directory "error not input file" Build filed 2 errors

Started by ERBULUT, September 06, 2020, 11:06:09 AM

Previous topic - Next topic

stahta01

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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

codeblokuser

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!

stahta01

Quote from: BlueHazzard on December 30, 2021, 08:58:30 AM
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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

roozbanana

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!!!