User forums > Help

"hello world" doesn't run

(1/1)

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)

--- End quote ---

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
 

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?

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.

--- End quote ---

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

sudo apt-get install xterm

did the trick!

Navigation

[0] Message Index

Go to full version