Code::Blocks Forums
User forums => Help => Topic started by: Thor864 on February 07, 2011, 02:43:45 am
-
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
-
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.
-
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
-
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 !
-
sorry . i am new here .
i apologize for what i've done .