Can't run c/c++ codes in code::blocks 13.12 on linuxmint 17: Status 255

跟風遠走 提交于 2019-12-05 07:29:40

You have two options:

  • Install xterm

or

  • In CodeBlocks, go to Settings->Environment, go to Terminal to launch console programs, and select an appropriate terminal.

What's currently happening is that CodeBlocks is attempting to run your program with xterm, which isn't installed on your machine.

On Linux Mint with MATE Desktop do as descriped above:

In CodeBlocks,

  • go to Settings->Environment,

  • go to "Terminal to launch console programs",

  • select GNOME terminal.

  • EDIT/exchange manual "gnome-terminal" to "mate-terminal". Click ok to confirm and "run" in CodeBlocks should work.

I have had this issue once, maybe your program hasn't be properly ended the last time you ran it, so it is still open hence the issue while running it again

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!