User forums > Help

Compiles but strangely doesn't run

(1/1)

rohith:
Hi. I have installed codeblocks on Fedora 12. I wrote a simple program to print out hello. The program compiled without any errors but no output was shown when the program was run. The name of the file is Hello and it is located at /home/Rohith/c++/Hello. Instead, the following message was displayed:

Checking for existence: /home/Rohith/c++/Hello
Executing:xterm -T '/home/Rohith/c++/Hello' -e /usr/bin/cb_console_runner "/home/Rohith/c++/Hello"  (in /home/Rohith/c++/Hello)

Any help would be highly appreciated.

Jenna:
Do you have the  xterm-package installed, otherwise you either have to install it or use another terminal-emulator in "Settings -> Environment... -> General settings -> Terminal to launch console programs:".
Not all terminal-emulators can be use, because of different commandline syntax.

Folco:

--- Quote ---[folco@Weygand ~]$ rpm -q xterm
xterm-248-2.fc12.x86_64
--- End quote ---
I confirm that with Fedora 12, it works fine when this package is installed.

But if you're using KDE, you can use <konsole -e> instead of XTerm, it works fine too.

rohith:
Thanks both of you - folco and jens.

Navigation

[0] Message Index

Go to full version