code::blocks wont run

This is a discussion on code::blocks wont run within the Tech Board forums, part of the Community Boards category; I installed code::blocks and so far I really like the IDE but for some reason I cant run my apps ...

  1. #1
    ---
    Join Date
    May 2004
    Posts
    1,379

    code::blocks wont run

    I installed code::blocks and so far I really like the IDE but for some reason I cant run my apps from within the IDE.

    Code:
    Project   : Console application
    Compiler  : GNU GCC Compiler (called directly)
    Directory : G:\work\
    --------------------------------------------------------------------------------
    Executing: D:\Program Files\CodeBlocks/console_runner.exe "G:\work\main.exe"  (in .)
    Command execution failed...
    Anybody else have the same trouble?

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    That sounds to me as if it couldn't stomach the space in the "Program Files". Experimentally install code::blocks in a directory that doesn't have any spaces in its path and see if it works.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    ---
    Join Date
    May 2004
    Posts
    1,379
    You are right, it worked. But it seems stupid that "D:\Program Files\CodeBlocks" is the default install directory

  4. #4
    #include<xErath.h> xErath's Avatar
    Join Date
    Jun 2004
    Posts
    722
    there should be a way to tamper with the settings file and force it to wrap the console_runner.exe with "...".
    Quote Originally Posted by sand_man
    You are right, it worked. But it seems stupid that "D:\Program Files\CodeBlocks" is the default install directory
    Not quite. many gnu tools I've used "think" they're on *nix and ignore whitespaces in paths. So you'll end up with that.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Re-doing a C program to run in Win2000 or XP
    By fifi in forum C Programming
    Replies: 5
    Last Post: 08-17-2007, 05:32 PM
  2. how to run an exe command in c++ and get back the results?
    By mitilkhatoon in forum C++ Programming
    Replies: 5
    Last Post: 09-21-2006, 06:00 PM
  3. calculating the mode
    By bigggame in forum C Programming
    Replies: 10
    Last Post: 06-13-2006, 03:04 AM
  4. How I can Run exe file in C++
    By palang in forum C++ Programming
    Replies: 2
    Last Post: 05-10-2006, 11:55 AM
  5. Replies: 2
    Last Post: 10-29-2002, 03:56 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21