Thread: Help with code::blocks

  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    13

    Unhappy Help with code::blocks

    After installing code::blocks I could compile a couple of program without any issues. But after closing it and shutting down my pc, when I try to run it again next time any previously saved projects or open a new project and try to run it....it shows the following statement in the 'build messages'. Please Help. I am new to code::blocks...
    Code:
    ld.exe||cannot open output file C:\Program Files (x86)\CodeBlocks\try\main.exe Permission denied|
    ||=== Build finished: 1 errors, 0 warnings ===|

  2. #2
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,738
    Your *.exe is still running on the background. If in Windows, try pussing Ctrl-Alt-Delete, find that procedure, which is usually named just like your *.exe, and terminate it.

    Edit: By *.exe i mean your program.
    Last edited by GReaper; 12-21-2010 at 03:52 AM.
    Devoted my life to programming...

  3. #3
    Registered User
    Join Date
    Dec 2010
    Posts
    13
    there is no such process running .I checked the task manager as you suggested. What now???

  4. #4
    Registered User
    Join Date
    Dec 2010
    Posts
    13
    I am using windows 7. PCs 64 bit .and codeblocks-10.05mingw.

  5. #5
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    At a guess maybe you installed Code::Blocks such that you need administrator privileges to do some things.

  6. #6
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    As answered on Code::Blocks forum; MOVE your project to a normal folder!

    Tim S.

  7. #7
    Registered User
    Join Date
    Dec 2010
    Posts
    13
    Thanks a lot...... I checked codeblocks.org too...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Giving CodeBlocks a shot
    By jeffcobb in forum Tech Board
    Replies: 24
    Last Post: 05-23-2010, 12:46 PM
  2. Code::Blocks not working?
    By C++Froob in forum C++ Programming
    Replies: 2
    Last Post: 02-07-2010, 12:47 PM
  3. Code::Blocks Help
    By rakeshkool27 in forum C Programming
    Replies: 0
    Last Post: 01-16-2010, 08:25 AM
  4. library issues in CodeBlocks
    By everlearnin in forum C++ Programming
    Replies: 0
    Last Post: 06-02-2009, 08:44 PM
  5. Codeblocks crashes linux?
    By Shakti in forum Tech Board
    Replies: 1
    Last Post: 03-25-2009, 07:26 AM