News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Build help

Started by Tom233145, May 23, 2015, 02:16:05 AM

Previous topic - Next topic

Tom233145

So... I am making a text-based dungeon crawler rpg "game" and it was building and working and all fine and dandy and then it showed the following output:

Linking console executable: E:\Programs\dungeonCrawler.exe
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/i386-pc-mingw32/4.4.0/../../../../i386-pc-mingw32/bin/ld.exe: cannot open output file E:\Programs\dungeonCrawler.exe: Permission denied
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

When I edit the text in the code and build it, the build won't update. I really need help because I would like to use this as a school project due next Wednesday. Any help is appreciated.

Thanks,

Tom233145

oBFusCATed

Are you running the executable while you try to build it?
Anti virus software?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Jenna

Which windows version ?
You might not be able to create an exe below programs-folder,  but not change it, if it already exists.

Tom233145

Quote from: jens on May 23, 2015, 02:37:46 AM
Which windows version ?
You might not be able to create an exe below programs-folder,  but not change it, if it already exists.

I am running Windows 7 currently.

AndrewB

In the past I have found this was caused by the file being locked.
try renaming (or deleting) the file from windows , if it cant be done there
then the file is locked, either by a running process or explorer
if you are able to delete or rename the file the build should work
(assuming this to be the only problem and it is being reported correctly.)

Tom233145

Thanks AndrewB! I did what you said and I deleted the file and pasted everything back into it and it works!

qtreez

Or you can try to kill process with name of your project next time.