User forums > Help

"Cannot open output file"

(1/3) > >>

lwe1389:
I know there are countless threads about this, though I assure you I've sifted through each of them and not found any answers to my problem.

Cannot open output file bin\debug\First Project.exe Permission Denied

I get this build error message ONLY after I've built once, (the first time always works) and then changed something. The next time I try to build I get that message.

is the message I'm getting. I've reinstalled codeblocks AND my moved my project folder multiple times, I've changed permissions, messed with user account controls, made Ld.exe in the codeblocks folder run as an administrator, checked in task manager and sysinternals for a double process of my code, etc.

None of these have worked, so if any of you have any ideas I'd love to hear them.

lwe1389:
Update:

With task manager and sysinternals up, there are no conhost processes running when I am getting this error, there are also no "firstproject.exe" or whatever, BUT after about 5 minutes (5 long minutes) I am able to build again... It's acting as though it's taking a minute to close the process down but there is indeed none running.

Strange

Jenna:
You did not really tell much about your installation.
I assume it is windows (exename and name of the tools).

This might be some stupid security software that kicks in and blocks the exe.

lwe1389:



--- Quote from: jens on June 17, 2014, 08:21:47 pm ---You did not really tell much about your installation.
I assume it is windows (exename and name of the tools).

This might be some stupid security software that kicks in and blocks the exe.

--- End quote ---

Windows 7 professional
64 bit


I've killed all antivirus and security exes in the task manager, and AVG is completely uninstalled (downloaded a clean AVG completely tool)

Still no luck.

BlueHazzard:
probably a directory where you don't have write access? Try in your home directory...

Navigation

[0] Message Index

[#] Next page

Go to full version