News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Code::Blocks + Linux + Silly Mistake

Started by ART_Adventures, January 15, 2008, 08:55:23 PM

Previous topic - Next topic

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:


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:


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

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

    char Key;
    cin >> Key;

    return 0;
}

ART_Adventures

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