News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Permission Denied

Started by Thor864, February 07, 2011, 02:43:45 AM

Previous topic - Next topic

Thor864

I am trynig to buid a program but and build it. I keep gettin a message stating

Compiling: C:\Program Files (x86)\CodeBlocks\Projects\SayHello\main.cpp
Linking console executable: C:\Program Files (x86)\CodeBlocks\Projects\SayHello\main.exe
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: cannot open output file C:\Program Files (x86)\CodeBlocks\Projects\SayHello\main.exe: Permission denied
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 4 seconds)
1 errors, 0 warnings

I have searched the root and found no projects in my file. I hit the show hidden files and still nothing. i dont know what else i could do. Im new to codeblocks and trying to learn

Jenna

It's asked a lot in this forum and there is a simple answer:
do not create your projects under Program Files (and similar) on win7.
The OS restriction do not allow that, at least not without breaking the security(?) mechanism of win7.

beancox

can you give more details please. my os is install on disc c
but my files are all on disc d,  but the same problems still exist

Jenna

Quote from: beancox on April 19, 2011, 12:34:31 PM
can you give more details please. my os is install on disc c
but my files are all on disc d,  but the same problems still exist
Please do not cross-post !

beancox

sorry . i am new here .
i apologize for what i've done .