Author Topic: Permission Denied  (Read 9625 times)

Thor864

  • Guest
Permission Denied
« 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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Permission Denied
« Reply #1 on: February 07, 2011, 07:58:23 am »
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.

Offline beancox

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: Permission Denied
« Reply #2 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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Permission Denied
« Reply #3 on: April 19, 2011, 01:30:53 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 !

Offline beancox

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: Permission Denied
« Reply #4 on: April 19, 2011, 01:57:27 pm »
sorry . i am new here .
i apologize for what i've done .