FITURE

If you can fight, fight.

首页 >> 分享>>Ubuntu>>Ubuntu 安装 g++

Ubuntu 安装 g++

Posted by fiture / 2013年05月12日 / Ubuntu

有时候编译安装的时候,会提醒一下错误:

make[1]: g++: Command not found
make[1]: *** [/home/xxx/dir/xxx] Error 127
make[1]: Leaving directory `/home/xxx/dir/xxx/out'
make: *** [node] Error 2

这是因为没有安装g++,编译运行环境而已,一条简单的命令就可有搞定:

sudo apt-get install build-essential

这样就安装好,编译所需的g++依赖了。

一条回应:“Ubuntu 安装 g++”

  1. 公子说道:

    有些编译,g++是必备的。。。

公子进行回复 取消回复

电子邮件地址不会被公开。 必填项已用*标注