Author Topic: Code::Blocks + Linux + Silly Mistake  (Read 3037 times)

Offline ART_Adventures

  • Single posting newcomer
  • *
  • Posts: 5
Code::Blocks + Linux + Silly Mistake
« 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;
}

Offline ART_Adventures

  • Single posting newcomer
  • *
  • Posts: 5
Re: Code::Blocks + Linux + Silly Mistake
« Reply #1 on: January 16, 2008, 06:26:39 pm »
Problem solved. Solution? Use Add/Remove to install Xterm.