sab*_*bir 7 compiling code-blocks c++
最近我在我的 Ubuntu 12.10 上安装了 Code::Blocks IDE。当我尝试运行或编译其中编写的任何代码时,会出现以下错误:
Compiling: /home/sabbir/first.cpp
/bin/sh: 1: g++: not found
Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings
Run Code Online (Sandbox Code Playgroud)
我怎么解决这个问题?
Raf*_*lak 15
很可能你只是缺少一个编译器。
通过安装build-essential包获得一个。
输入sudo apt-get install build-essential终端是实现这一目标的最简单方法之一。
| 归档时间: |
|
| 查看次数: |
36603 次 |
| 最近记录: |