Thread: permission denied in windows 7

  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    45

    permission denied in windows 7

    I use windows 7 and code blocks.when I run the program it says

    cannot open ld.exe cannot output open file bin\Debug\ex1-2.exe permission denied

    I dont know what to do please.This is the only error it shows.

  2. #2
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,218
    Maybe you could show us the code that's causing it.
    If you understand what you're doing, you're not learning anything.

  3. #3
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Googling this error suggests that your program may already be running. Is there any chance that's the case? Have you successfully built and run it before?

  4. #4
    Registered User
    Join Date
    Mar 2011
    Posts
    45
    No.It was the first time I have written the code and tried to build it.
    It was a simple "hello world programme".
    So please help me.
    Also a lock is shown on the folder of the programme.
    I am confused.

  5. #5
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    Did you search the Code::Blocks forums. I searched for debug permissions and got some promising hits

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. tmpnam() : permission denied when try to open temp file
    By happyclown in forum C Programming
    Replies: 3
    Last Post: 03-16-2009, 11:48 PM
  2. Dialog Box Problems
    By Morgul in forum Windows Programming
    Replies: 21
    Last Post: 05-31-2005, 05:48 PM
  3. dual boot Win XP, win 2000
    By Micko in forum Tech Board
    Replies: 6
    Last Post: 05-30-2005, 02:55 PM
  4. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 12:19 AM
  5. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM

Tags for this Thread