User forums > Using Code::Blocks

Code::Blocks + Linux + Silly Mistake

(1/1)

ART_Adventures:
Dear People,

I have successfully downloaded and built the latest SVN Code::Blocks to run on Mandriva 2008. In Code::Blocks, let' say I create a sample 'hello world' console app. I compile the project, but whenever I Compile and Run the app, the app never appears and the debug output shows:


--- Code: ---Checking for existence: /home/alan/CB/Test/Tst/bin/Release/Tst
Executing: xterm -T Tst -e /usr/local/bin/cb_console_runner /home/alan/CB/Test/Tst/bin/Release/Tst  (in /home/alan/CB/Test/Tst/.)
Process terminated with status 255 (0 minutes, 0 seconds)

--- End code ---

Can anybody help. The full program code is:


--- Code: ---#include <iostream>
#include <stdio.h>
using namespace std;

int main()
{
    cout << "Hello world!" << endl;

    char Key;
    cin >> Key;

    return 0;
}

--- End code ---

ART_Adventures:
Problem solved. Solution? Use Add/Remove to install Xterm.

Navigation

[0] Message Index

Go to full version