Cannot run c / c ++ codes in code :: blocks 13.12 on linuxmint 17: Status 255

I cannot run any C / C ++ programs in code :: blocks. Can anyone ask why this is happening? I currently have gnu c and g ++ compilers installed. Error message when creating and running this simple c code:

#include<stdio.h>

int main(){
    printf("55");
    return 0;
}

is an:

Check availability: / home / user1 / Desktop / progs / a Execution: xterm -T '/ home / user1 / Desktop / progs / a' -e / usr / bin / cb_console_runner "/ home / user1 / Desktop / progs / a" (at / home / user1 / Desktop / progs)

Process completed with status 255 (0 minute (s), 6 seconds)

+4
source share
3 answers

You have two options:

  • xterm

  • CodeBlocks Settings->Environment, Terminal to launch console programs .

, , CodeBlocks xterm, ​​ .

+8

Linux Mint MATE Desktop , :

CodeBlocks

  • - > ,

  • " ",

  • GNOME.

  • / "gnome-terminal" "mate-terminal". "", , "" CodeBlocks .

+1

I had this problem once, maybe your program was not properly finished the last time you started it, so it still remains open, so the problem is when you restart it

0
source

Source: https://habr.com/ru/post/1547058/


All Articles