News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

"hello world" doesn't run

Started by virtuosonic, March 10, 2009, 09:51:35 AM

Previous topic - Next topic

virtuosonic

hi!
i'm switching from XP to fedora and i installed Code::Blocks, then i created a new project, a console program, for testing that things work and it compiles and links right, when i run it this apears in the build log:

Quote
Checking for existence: /home/virtuoso/Documentos/hello/bin/Debug/hello
Executing: xterm -T hello -e /usr/bin/cb_console_runner /home/virtuoso/Documentos/hello/bin/Debug/hello  (in /home/virtuoso/Documentos/hello/.)
Process terminated with status 255 (0 minutes, 0 seconds)

i'm using codeblocks 8.02 build sep 22 08 2:34:14 wx2.8.8 Linux Unicode, runing under fedora 10 with gcc versión 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC)

thanks for your help

language:C++, jesusonic
libraries:WX, Stk, Vst
virtuosonic at sf_net

Jenna

You most likely have no xterm installed.

Just install it or use another console emulator ("Settings -> Environment... -> Terminal to launch console programs:").
In the second case you might have to adjust the parameters in the settings to work properly.

virtuosonic

oh!!!  :?

thanks, that must be because i write xterm in the terminal, and it say "comand not found", another question, i don't need that thing (xterm) for creating wxApp's?
language:C++, jesusonic
libraries:WX, Stk, Vst
virtuosonic at sf_net

JGM

no, unless you are debugging the application on console mode.

kfmfe04

Quote from: jens on March 10, 2009, 10:47:51 AM
You most likely have no xterm installed.

Just install it or use another console emulator ("Settings -> Environment... -> Terminal to launch console programs:").
In the second case you might have to adjust the parameters in the settings to work properly.

Thank you!  I had exactly the same problem on Ubuntu amd64... 
A quick:

sudo apt-get install xterm

did the trick!