User forums > Help
error id retured 1 exit status version 16.01
0_0:
--- Quote from: jens on October 28, 2017, 10:29:53 am ---
--- Quote from: 0_0 on October 28, 2017, 09:48:48 am ---I have checked my task manager, gcc is terminated.
--- End quote ---
And your self-compiled exe ?
--- End quote ---
I checked that it is terminated too.
0_0:
--- Quote from: BlueHazzard on October 29, 2017, 10:32:16 pm ---
--- Quote ---I have checked my task manager, gcc is terminated.
--- End quote ---
gcc and codeblocks works all as expected. Your problem is that the gcc can not write to your output file. This can have this reasons:
1) Windows is blocking the write access
a) The file is write protected
b) The file is in a special path where you don't have write access
c) Windows blocks the write access because the executable is currently running
2) The anti virus is blocking the write access to the executable (not the firewall but the normal anti virus... avast, avg or whatever...)
So you have nothing to change in codeblocks.. Can you delete the executable from the explorer?
--- End quote ---
I can't delete the executable from my file explorer.
I think it should be b) The file is in a special path where you don't have write access.
But how do I change the path where I save the files?
BlueHazzard:
--- Quote ---I think it should be b) The file is in a special path where you don't have write access.
--- End quote ---
I personally don't think so, because if this is the case you should never been able to create the file in the first place...
If this is the case, create the project in a sub folder of your "My documents" directory. Or copy this project to the "My documents" folder. The projects use relative paths so all should work...
This is in general a windows problem and not a codeblocks problem so i think this is the wrong place to ask for help. Look at this link
https://www.online-tech-tips.com/software-reviews/how-to-fix-access-is-denied-file-may-be-in-use-or-sharing-violation-errors-in-windows/
maybe it helps.
I personally think your anti virus is blocking you.... You should deactivate it completely.
sodev:
If its not Windows Defender that blocks access, maybe you created a file which name ends with a whitespace? Because while these can be created programatically, you cant delete them through the user interface.
But yeah, this is sort of off-topic here.
0_0:
Hi, I have managed to solved the issue by reinstalling codeblocks multiple times (about 4 times).
Thank you very much for your help!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version