User forums > Using Code::Blocks

[Resolved] cb_console_runner error

(1/1)

buchs:
Hello every build !

This morning I've tried to make a new QT4 project. All works fine but when I try to launch the application.

I've got this error :

--- Quote ---Checking for existence: /home/arnaud/Developpez/Projets/ModifFAQ/bin/Debug/ModifFAQ
Executing: gnome-terminal -t ModifFAQ -e /opt/CodeBlocks/bin/cb_console_runner /home/arnaud/Developpez/Projets/ModifFAQ/bin/Debug/ModifFAQ  (in /home/arnaud/Developpez/Projets/ModifFAQ/.)
Process terminated with status 1 (0 minutes, 0 seconds)
--- End quote ---

But the file /home/arnaud/Developpez/Projets/ModifFAQ/bin/Debug/ModifFAQ exists. I don't know how to resolve this.

Thank you ;)

[edit] I've forgotten, when I try to launch it from the console directly, I got this message :

--- Quote ---$ gnome-terminal -t ModifFAQ -e /opt/CodeBlocks/bin/cb_console_runner /home/arnaud/Developpez/Projets/ModifFAQ/bin/Debug/ModifFAQ
Argument non valide : « /home/arnaud/Developpez/Projets/ModifFAQ/bin/Debug/ModifFAQ »
--- End quote ---

buchs:
I found the mistake   :)

If you want use gnome-terminal instead of xterm, you can't use -e option but -x   :x

Thanks to me  :P

See you later ;)

sipickles:
To others,

you also need to change -T to -t, so:

gnome-terminal -t $TITLE -x

hth

Navigation

[0] Message Index

Go to full version