User forums > Help
The file can't be build.
Atomique:
"It seem that this file has not been build yet.Do you want to build it?"
I got this error.I tried everything:uninstalling codeblocks,checking permissions,changing location of the file...I searched all the forum for an answer,but all of them didn't work.
When I try to compile a c++ program like hello world! it gives me that error.I don't know what to do.
I don't have installed an antivirus and my firewall is set off.Codeblocks have worked for 2 weeks, but for a few days it doesn't work.
mingw32-g++.exe -c C:\Users\BodyD\Desktop\rapcapitulare.cpp -o C:\Users\BodyD\Desktop\rapcapitulare.o
Assembler messages:
Error: can't open C:\Users\BodyD\AppData\Local\Temp\ccy4A8ie.s for reading: Permission denied
Process terminated with status 1 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))
That ccy4A8ie.s doesn't even exist...
ouch:
Mingw needs read/write permission where ever the temp environment variable (%temp%) points to.
You need to run your compiler (well codeblocks too) with administration privileges.
Atomique:
How to run mingw as administrator?
stahta01:
--- Quote from: ouch on January 08, 2014, 06:44:26 am ---Mingw needs read/write permission where ever the temp environment variable (%temp%) points to.
You need to run your compiler (well codeblocks too) with administration privileges.
--- End quote ---
I never run CB as Full administration and it works; note, I am using a Administrator account.
The problem is the lack of user permissions.
Stop using your desktop to build programming projects!
Stop using other special folders to do programming projects!
Delete the temp files it complains about not having access to after you re-boot windows.
(Note: The temp files likely will be gone after re-booting windows.)
Deleting the temp files will NEED Full administration permissions in some cases.
Tim S.
Atomique:
I am the admin of the computer.I deleted the temp folder and I restarted my pc and the error is still there...
Navigation
[0] Message Index
[#] Next page
Go to full version