Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: ART_Adventures on January 15, 2008, 08:55:23 pm

Title: Code::Blocks + Linux + Silly Mistake
Post by: ART_Adventures on January 15, 2008, 08:55:23 pm
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)

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;
}
Title: Re: Code::Blocks + Linux + Silly Mistake
Post by: ART_Adventures on January 16, 2008, 06:26:39 pm
Problem solved. Solution? Use Add/Remove to install Xterm.