User forums > General (but related to Code::Blocks)

Build help

(1/2) > >>

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?

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.

--- End quote ---

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.)

Navigation

[0] Message Index

[#] Next page

Go to full version