User forums > Help
error id retured 1 exit status version 16.01
0_0:
I have been using code blocks for close to two months.
Recently, I encounter this problem where very new project(under console application) I created can only be compiled once. The next time I tried to compile it, it shows the error shown in the picture.
These files requires administrator permission to be removed(I am currently using the administrator account for my pc).
I think that the files might still be running on my GCC (even though when I end my program I made sure that it is terminated).
It says that I need admin rights to access the file bin\Release
I have also tried to disable the firewall of my Mcafee.
My code blocks version 16.01
Anyone knows how to solve this issue?
BlueHazzard:
3 causes come in mind:
1) Your program crashes and runs in the background, Have you checked with the task manager if your program is closed?
2) Your anti virus thinks gcc is a virus and blocks all executable generated by it... Try to disable the anti virus, not the firewall (firewall is versus internet and has nothing to do with all this)...
3) You use a write protected folder to create your programs. Have you checked if the rights are correct?
0_0:
I have checked my task manager, gcc is terminated.
When you say disable anti-virus, you meant that I should turn off the real-time scanning? I tried doing so but it does't work.
I have also checked that my files are not saved as write protected folder.
I tried resetting my compiler to the default setting but I keep having an error message(I have attached a screenshot of that error message).
Jenna:
--- 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 ?
BlueHazzard:
--- 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?
Navigation
[0] Message Index
[#] Next page
Go to full version