Author Topic: Can't run or debug directly in code blocks  (Read 3899 times)

Offline Wronschien

  • Single posting newcomer
  • *
  • Posts: 4
Can't run or debug directly in code blocks
« on: January 30, 2007, 11:13:02 am »
hello

i'm quite new to code blocks and I have a little problem : any time i try to run or debug, well this doesn't work
(but the exe file is here and can be run with the prompt)

btw, i'm under wxp ; mingw and gdb are installed (building of the projects works)

here is a sample of the log:

Quote
Execution of 'H:\Mes documents\Carine\Franck\Code Blocks/cb_console_runner.exe "H:\Mes documents\Carine\Franck\Essais prog\hello\hello.exe" ' in 'H:\Mes documents\Carine\Franck\Essais prog\hello' failed.
Nothing to be done.

could anyone help please ?

PS : i searched the forum for this, many topics seemed quite close but i couldn't find how to help here ; sorry if i've been blind !

Offline DoMeN

  • Multiple posting newcomer
  • *
  • Posts: 66
Re: Can't run or debug directly in code blocks
« Reply #1 on: January 30, 2007, 01:13:37 pm »
If I remember correctly I got that response under WinXp because the path to debugger, compiler etc. was not correct.

Offline Wronschien

  • Single posting newcomer
  • *
  • Posts: 4
Re: Can't run or debug directly in code blocks
« Reply #2 on: January 30, 2007, 02:46:12 pm »
could it be because the path of code blocks directory contains spaces?
this is strange, because mingw has the same base directory and yet building works

i'll try this, thanks anyway

Offline Wronschien

  • Single posting newcomer
  • *
  • Posts: 4
Re: Can't run or debug directly in code blocks
« Reply #3 on: January 30, 2007, 06:09:51 pm »
you had the correct idea !

i moved code blocks in a directory without spaces and everything works
(mingw remains in its fully spaced path as it works as it is  8))

thanks again