Author Topic: "hello world" doesn't run  (Read 3544 times)

Offline virtuosonic

  • Multiple posting newcomer
  • *
  • Posts: 18
    • virtuosonic at sf_net
"hello world" doesn't run
« on: March 10, 2009, 09:51:35 am »
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

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: "hello world" doesn't run
« Reply #1 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.

Offline virtuosonic

  • Multiple posting newcomer
  • *
  • Posts: 18
    • virtuosonic at sf_net
Re: "hello world" doesn't run
« Reply #2 on: March 10, 2009, 11:22:29 am »
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

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: "hello world" doesn't run
« Reply #3 on: March 12, 2009, 07:03:47 pm »
no, unless you are debugging the application on console mode.

Offline kfmfe04

  • Multiple posting newcomer
  • *
  • Posts: 27
Re: "hello world" doesn't run
« Reply #4 on: June 25, 2009, 08:50:10 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!